I just tried it.
preexec commands work from the global section. I don't know how you
handle user names and passwords, so I can't be very specific, but,
it seems like a carefully crafted preexec should solve your problem.

Joel

 On Fri, Jun 27, 2003 at 04:35:36PM -0400, Joel Hammer wrote:
> If you can run a preeexec script defined in your global section then
> you can use smbstatus to see who is on line. I have not tried this but
> it looks easy. Or you can put the preexec script into each service. This
> might cause problems for users already logged on.
> 
> Joel
> On Fri, Jun 27, 2003 at 01:48:58PM -0500, Tru Pham wrote:
> > Interesting question!!  I would like to find out myself too.  Anybody 
> > wanna take a shot at it? Thanks.
> > 
> > Sorry I can't help!
> > 
> > Quoting Jack Mendez <[EMAIL PROTECTED]>:
> > 
> > >   i am having a real problem with users exchanging passwords on the
> > > network 
> > > and then logging on as that user while the original user is on the
> > > network.
> > > in adition to making some changes to the password system i would like to
> > > 
> > > force the system to disallow multiple logons..can't find it anywhere in
> > > the 
> > > documentation, but i am almost sure that it must be possible.
> > > most of the clients are win98 se, but there are a few xp machines which
> > > i 
> > > have questions about.
> > > ask later.
> > > thanks
> > > 
> > > 
> > > --
> > > This message has been scanned for viruses and
> > > dangerous content by MailScanner, and is
> > > believed to be clean.
> > > 
> > > -- 
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------
> > Need Web Email Account?
> > Email [EMAIL PROTECTED]
> > -------------------------------------------------
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to