[Samba] Mounting and Unmounting shares

Joel Hammer Joel at HammersHome.com
Sun Jun 2 13:10:03 GMT 2002


Try:
man smb.conf
/postexec

Joel

On Sun, Jun 02, 2002 at 09:02:49PM +0200, Eric wrote:
> Joel,
> 
> Never heard of that.  Where can I find out more?
> 
> Eric
> 
> On Sunday 02 June 2002 20:12, you wrote:
> > Have you looked at the postexec option?
> > Joel
> >
> > On Sun, Jun 02, 2002 at 08:16:00PM +0200, Eric wrote:
> > > 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
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list