Marshall Heartley wrote:
Then try and using smbmount and smbumount directly. For example this will mount a share called mp3 on a server named server and mount it to a local mp3 dir. smbmount //server/mp3 mp3/. See if this helps you with what you want to do.
Yes, I have used smbmount directly and that works. I'm trying to set-up pam_mount to mount windows shares from a server, at login time, and using the user/password that are entered by the user, so that access rights are proper. konqueror & smb:/ is not enough because there is no locking on files. If two users open the same file and modify it, the last user that saves it, "wins". Anyway, I can't get pam_mount to work. Maybe there's someone who's using it, and can help me a little... pam_mount 0.9.0 included in SUSE LINUX 9.0 This is pam_mount.conf: debug 1 mkmountpoint 1 lsof /usr/sbin/lsof options_require nosuid,nodev luserconf .pam_mount.conf smbmount /usr/lib/samba/classic/smbmount ncpmount /bin/mount -t ncpfs umount /usr/lib/samba/classic/smbumount lclmount /bin/mount -p0 mntcheck /bin/mount # For BSD's (don't have /etc/mtab) volume * smb gdsnew tehnic /home/&/Documents/servermount/tehnic workgroup=WIN - - This is what I get in /var/log/messages Nov 21 12:45:17 linux-robank kdm[2941]: pam_mount: expand_wildcard for tehnic Nov 21 12:45:17 linux-robank kdm[2941]: pam_mount: error expanding configuration I can mount the share manually: /usr/lib/samba/classic/smbmount //gdsnew/tehnic /home/WIN+administrator/Documents/servermount/tehnic/ -o username=WIN+Administrator,workgroup=WIN Password: WIN+Administrator@linux-robank:~> ls /home/WIN+administrator/Documents/servermount/tehnic/ GenesysRack kituri_service proiecte service tehkits teste Thanks.