[Samba] 2.2.2 PDC logon question.

John Benedetto jbenedet at unm.edu
Fri Feb 15 13:59:02 GMT 2002


--On Friday, February 15, 2002 2:50 PM -0600 "Alfonso Lopez A." <alopez at expert-linux.com> wrote:

> Hi all,
>
>     What I like to do seems very easy but I can't find it on any document
>     about samba..
>
> I want to run a shell script after a successfully logon to the PDC of a
> user.. the parameter could be something like this:
>
> logon shell script = /some/path/script.sh %U
>
> Off course, the shell script will run in the linux server.. (no like
> logon script that is a .bat file and will run in the client machine).
>
> I need this as a trigger for some things I want to do in the linux
> server..   and btw, a way to know if the user just log off too.. =)
>
>
> Is this supported by samba?
>
> Best Regards,
> Alfonso López A.

Perhaps the "preexec", "postexec", "root preexec", & "root postexec" settings might be able to accomplish what you are asking?

- john





More information about the samba mailing list