I never did get this working. I attempted to give sudo access to umount thinking it was a permission issue, but still no luck. I just couldn't find evidence of the issue. It was as if pam_mount was never being called during the logoff.
My solution was to write a perl script, which I ran as a cron job. The script simply monitored what users where logged in and what mounts were present in their home directories, disconnecting them if no user was present. FYI Will -----Original Message----- From: Jim Kronebusch [mailto:[EMAIL PROTECTED] Sent: Thursday, December 27, 2007 9:04 AM To: Will; [email protected] Subject: Re: Winbind Unmount Issues > # /etc/security/pam_mount.conf (the lines I changed) > smbmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o > "username=%(USER),uid=%(USERUID),gid=%(USERGID)%(before=\",\" OPTIONS)" > smbumount /usr/bin/sudo /bin/umount %(MNTPT) Well, I'll bet you know more about this than myself, but given it is the holidays here and there are probably less users watching the list, I'll make a suggestion :-) I am wondering if your line for smbumount is the problem? The mount line looks to me like it mounts with user privileges (not sudo), but the smbumount line wants to run sudo. Is it possible that the umount is run by the logged in user, and the logged in user doesn't have sudo privileges, so the umount never runs? Hope that helps.....but I'm sure you likely have a good reason that the sudo is running and I don't know much about pam_mount. Jim -- This message has been scanned for viruses and dangerous content by the Cotter Technology Department, and is believed to be clean. -- edubuntu-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel
