[Samba] monitor domain logons

Avinash Rao avinash.aol at gmail.com
Thu Aug 27 11:24:17 MDT 2009


On Thu, Aug 27, 2009 at 2:29 PM, Alex Crow<acrow at integrafin.co.uk> wrote:
> Martin
>
> I use "root preexec" in the netlogon share to run a script which:
>
> a) Update DNS with the fqdn username.domain
> b) Update a MySQL db with the username, logon time, machine name and
> server name
>
> in combination with an entry in the logon script on each dc which writes
> to a logfile at each logon with the username, server and time.
>
> Alex


Alex,

I have been trying to use "root preexec" to add domain users to Power
users group on the local workstation, it never works..
http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetCommand.html#autopoweruserscript

Have you used this??

thanks
Avinash


More information about the samba mailing list