[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: autofs.schema with smbfs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.





cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/mTh8IR7qMdg1EfYRAhC3AKDRWYEbYhoVUYPbix4qGysL8vKw+ACeO+E7
R9BO+BjvHnAEb8g4OYqo8Yc=
=n0Sz
-----END PGP SIGNATURE-----