[Samba] Mounting and Unmounting shares

Eric eric.linux at t-online.de
Sun Jun 2 11:03:02 GMT 2002


I'm running Suse 8.0, Samba 2.2.3a, and KDE 3.0

I'm trying to mount shares when a user logs in and unmount them when a user 
logs out.

I'm able to get them mounted ok.  It's the unmount that is causing problems.  
Whenever another user logs on he's got the same mounts as the prior user.  
Everytime the original user logs in the mounts are regenerated.

In my runlevel file I"ve got smb running in levels 3 and 5.  From there I put 
the smbmount command in my /home/.profile script.  I created a .bash_logout 
script and put smbumount in there but that doesn't appear to be read and 
used.

Any ideas?

Eric




More information about the samba mailing list