Samba logout routines when it acts as a PDC

A.S.Ganesan ganesan at
Sat Jun 7 08:00:54 GMT 2003


Greetings from Bosco,

We are working to configure Samba as a PDC to windows clients  and we have done it too.
We want to account the access time of each client.
We could locate the login code and we are able to get the 'UNIX username' to insert into a Database with current time. 
And while logging out, "exit_server" in "server.c" is executed. 
How to get the 'UNIX username'  within this exit_server function? 
Is there any global structures from which we can get the username? 
Could you help us?.


More information about the samba-technical mailing list