[Samba] script in netlogon isn't run

Mattia mattia at sinapto.net
Thu Oct 14 13:33:32 GMT 2004

Patrick DUBAU wrote:
> Hi,
> i have samba 3.0.7 and set a logon.bat script in /home/samba/netlogon
> But when i log in my domaine (from a windows xp sp1 machine) "Domi" the 
> script isn't run, no error  message   at log in
> Just going on the share "netlogon" i got the sand-hour and nothing more 
> happens
> *here my logon..bat file * (i did as simple as possible..)
> net use j: \\FS1\netlogon
> net use k: \\FS1\commun

The first things I would try:

- check the permissions on the file
- make sure the file is in DOS text format, not Unix. You can do it with 
  the "unix2dos logon.bat" command
- check in the logs if the user can connect correctly to the [NETLOGON] 
share at login

Bye... Mattia

More information about the samba mailing list