Am Freitag, 19. März 2010 schrieb Roger Oberholtzer:
[...] I usually see autofs mentioned in these parts. How does that deal with the authentication? [...]
I do not know whether autofs will help you in this case. However, I use it to mount the private user shares of my NAS. Theses shares are only provided using cifs. But, I do not use AD! My /etc/auto.cifs looks like this: * -fstype=cifs,user=${USER},credentials=${HOME}/.cifs_credentials ://nas.local/& '*' is the wildcard key and '&' gets replaced by the provided key. "${USER}" gets replaced by the user login name and "${HOME}" by their home directory. So, each user has its share password saved in their home directory, e.g., /home/foo/.cifs_credentials looks like this: password=12345 Now, if a user accesses any sub-directory of the master directory, autofs tries to mount the share with this name with the credentials consisting of the user's login name and the password provided in their home directory. So, if you remove the '&' and replace it by a constant share name, each user will get their own view of the share since when accessing the directory consisting of their user name, including correct permissions, in case the samba server supports CIFS Unix extensions. However, using pam_mount could avoid the need for saving each user's password in their home directory. But since I do not use AD ... I found some threads via google, e.g.: http://forums.opensuse.org/network-internet/393343-authenticate-mount-ad- shares-pam_mount.html Gruß Jan -- You can't expect to hit the jackpot if you don't put a few nickels in the machine. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org