Hello, I have been trying to get the automatic "auto.smb" behavior (similar to the "-hosts" map for NFS) to work in an AD environment that requires credentials (Kerberos tickets). Using "-o sec=krb5i,cruid=$UID", auto-mounting CIFS shares via Kerberos has been working just fine for a while, but obtaining the share listing may fail without proper credentials. My first brute-force approach was to simply look for Kerberos credential caches in common places. But that's rude. I have come up with a solution that requires passing the UID of the calling process to the map program. I will follow up this email with two patches illustrating the method. It works nicely in my environment. I would be grateful for comments. Regards, Martin -- Dr. Martin Wilck PRIMERGY System Software Engineer x86 Server Engineering FUJITSU Fujitsu Technology Solutions GmbH Heinz-Nixdorf-Ring 1 33106 Paderborn, Germany Phone: ++49 5251 525 2796 Fax: ++49 5251 525 2820 Email: martin.wilck@xxxxxxxxxxxxxx Internet: http://ts.fujitsu.com Company Details: http://ts.fujitsu.com/imprint -- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html