[Samba] running a script when a user logs on (NOT netlogon!)

Leonardo Fogel leonardofogel at yahoo.com.br
Mon Jan 27 20:47:03 GMT 2003

> i want the server (which is running samba and is
> configured as PDC) to execute a simple shell
> script when a specific (or any?) user logs on
> with his nt machine. is this possible?
> to clear the things, i do NOT mean a batch file
> that is executed on the client, it has to be
> executed on the server!
> thanks, woerns

Have you tried 'preexec' or 'root preexec' commands?
Look at the manual page for smb.conf for details.

Busca Yahoo!
O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra.

More information about the samba mailing list