[Samba] User connexions stats

Francis Galiegue fg at one2team.com
Fri Nov 9 15:23:10 GMT 2007


Le vendredi 09 novembre 2007, Emmanuel Lacour a écrit :
> Dear samba users/developpers,
> 
> I would like to make stats on user desktop login/logout and I ask myself
> if it's possible to do this on the samba PDC. But it doesn't seems to be
> so easy.
> Maybe parsing logs or using smbstatus?
> 
> Is there anyone who did something like this and who can share he's
> knowledge ;)
> 
> Or maybe it's ... impossible to get accurate datas about this, I don't
> know exactly the smb protocol so I'm not sure that the connexion between
> client and server is maintained during the whole user session.
> 
> Well, many doubts and not a lot of idea ... any hint would be welcome ;)
> 

(c'est "connection" en anglais ;))

Unfortunately, no, there's no such thing as a logon/logoff sequence. You can 
scan for entries telling that someone has initiated a connection to the 
[profiles] as user <some user here>, that would be the most accurate you can 
guess. But you cannot tell when the person logs off AFAIK.


-- 
Francis Galiegue, One2team - fg at one2team.com
[ATTENTION : CHANGEMENT DE COORDONNÉES !]
+33178945552, +33683877875, http://www.one2team.com
40 avenue Raymond Poincaré - 75116 PARIS


More information about the samba mailing list