Hi! I've setup a samba for our windows clients, works all. Then I've setup the linux clients to authenticate against it. works also. But I wasn't able to find a way to mount the shares on the linux clients. My problem is that more than one user can use some linux clients so I can't make just a static mount via fstab. I need something for every user. KDE access the servers without any problem, but it requires the username/password again. So I need something to mount some shares which use all and the home directory for each user. And I need to mount it in the name of the real user (for the permissions) and I don't want to ask a password again. I've using current Suse 9.2 (KDM and KDE) as client for testing. The server is debian sarge.
man, 18.04.2005 kl. 09.25 skrev Robert Penz:> I've setup a samba for our windows clients, works all. Then I've setup the > linux clients to authenticate against it. works also. But I wasn't able to > find a way to mount the shares on the linux clients. > > My problem is that more than one user can use some linux clients so I can't > make just a static mount via fstab. I need something for every user. > > KDE access the servers without any problem, but it requires the > username/password again. > > So I need something to mount some shares which use all and the home > directory for each user. And I need to mount it in the name of the real user > (for the permissions) and I don't want to ask a password again. > > I've using current Suse 9.2 (KDM and KDE) as client for testing. The server > is debian sarge.The whole thing shrieks LDAP (ldapsam backend) and shell scripting using OpenLDAP tools (but I didn't try anything out for you). Do you know what I'm talking about? --Tonni' -- Nothing sucksseeds like a pigeon without a beak ... mail: tonye@billy.demon.nl http://www.billy.demon.nl They love us, don't they, They feed us, won't they ...
This is part of an old thread from 31/12/04 that I participated in. It's along the lines of what you have already been advised. A bit more googling would have found it for you. BTW these questions should really go to the linux.cifs mailing list: <quote> FYI John, If you wish to automount shares when you login, you can try pam_mount. It should be a package on the mdk 10.1 CDs. You can set it to mount windows cifs and smb shares to your mandrake box. It's possible because Linux supports pluggable auth modules(PAM) I used it along with winbind auth to mount all my windows shares from servers at work to my Linux mandrake workstation (laptop) When ever I ssh'd in, the shares mounted. It can be set to mount based on preferred authentication system (local password file, winbind, nis, etc) and protocol. ie. mount windows shares if you login via ssh, or even if you login through the kde desktop (warning: kde requires special files relocated when mounting home directories). Having said that and seeing as how you are new, I believe Geoff's solution is a much easier way to go. You may however wish to read up on pam_mount anyway. For more info do a google on pam_mount Chris </quote> Regards Geoff Scott ------------------------------- Geoff Scott writes:> What about NFS?unsecure (some users need root on their linux clients) I know, that this calls for AFS, but the most users are on windows and I don't want an other fileserver type currently.