[Date Prev][Date Next]
Re: autofs.schema with smbfs
-----BEGIN PGP SIGNED MESSAGE-----
Andre Luis Fogagnoli wrote:
| But in smbfs I need to pass the username and password of
| current user in information, but I don't now how I do this,
| anyone have any idea??
| automountInformation: -username=???,password=??? ://test/(username)
smbmount can pull these from the environment
variables $USER and $PASSWD (this is really
more of a Samba question I think). But that
is done under the context of the automounter,
not the user.
I think a better solution is not to store
this mount information in LDAP at all, but just
let the user mount their own smb share.
Wrap the details in a script if you need
to make the interface more user friendly.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----