Hi people, I'm running samba as PDC, and I'm building an aplication that
store to a MySql database de date and time, user name, and hosts of the
user that log in. When the user log out then I store the same info to
record the total time spent per session by an user. I use a little C
program made by my self to talk to MySql, and call this like that:

[netlogon]
   comment = Network Logon Service
   path = /var/log/samba/logon
        public = no
        browsable = no
   writable = no
   share modes = no
        preexec = /home/mtellez/registra_sesion %u %m %S

but when an user log in and I look at the database I see from 1 to 3
fields per user. why? Is a better way to do this? Thanks in advance.

--
Mauricio Tellez
-- 
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