[Samba] trackdown user login/logout

Martyn Ranyard ranyardm at lineone.net
Wed Sep 18 13:19:01 GMT 2002

At 10:08 AM 9/18/02 -0300, Glasswalker wrote:
>Hello everybody,
>I´m trying to figure out how to trackdown users
>login/logout at my Samba PDC.
>I was thinking to use the preexec and postexec
>functions at a sharing, but this seems to be ugly: if
>a user disconnects the sharing, I lose the logout
>anybody have any idea? any hint would help me a lot.

One way of tracking this would be to monitor the output of smbstatus.  I 
use this for a menu program for our servers that does cd-writing, user 
admin, printer admin etc.

Martyn Ranyard
Free Software Advocate

jabber - joran at amessage.de
icq    - 122500800
irc    - Joran on oftc
msn    - ranyardm at hotmail.com
e      - ranyardm at lineone.net

More information about the samba mailing list