==> Regarding [autofs] smbfs credentias; abo <[EMAIL PROTECTED]> adds:

abo> hi!  im trying to mount smbfs resources from an ldap

abo> if i put in nisMapEntry this

abo> -fstype=smbfs,credentials=/home/abo/smb.creds

abo> everything is working right. then i want to do it per user but
abo> variable substitution doesn't work, i tried:

abo> -fstype=smbfs,credentials=/home/$USER/smb.creds

abo> -fstype=smbfs,credentials=/home/${USER}/smb.creds

abo> -fstype=smbfs,credentials=~/smb.creds

abo> but no succes.

abo> how can i get per user credentiasl? im on the wrong direction?

The automounter runs as user root.  It has no way of knowing which user
requested a given mount.

-Jeff

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to