[Samba] postexec script

guido at lorenzutti.com.ar guido at lorenzutti.com.ar
Thu Jan 29 14:00:23 GMT 2009


I never get to work this feature. But I think is a client problem.
It's like the clients don't tell to the samba that the connection is
closing....

> Hi!
>
> What we have:
> FreeBSD 7.1-RELEASE-p1 with samba-3.0.34,1
>
> I want log IP addr and login of my domain users to file.
> I use preexec and postexec scripts:
>
> logon script = /var/db/samba/netlogon/startup.bat ## script for use in
> Window
> root preexec = /var/db/samba/netlogon/netlogon.sh %u %I
> root postexec = /var/db/samba/netlogon/netlogoff.sh %U
>
> preexec script work fine:
>
> #cat users_logon
>
> connect admin 10.0.0.11
>
> But my postexec script wont work and I don`t know why.
> Seems to it is not exec at all.
>
> What I miss? How can I do this?
>
> --
> Best regards,
> Dmitry.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>




More information about the samba mailing list