RFC: "auto.smb" in Kerberos/AD environments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux