[Samba] login scripts do not run

sfjoe at spamcop.net sfjoe at spamcop.net
Wed Sep 22 20:11:16 GMT 2004

I have a simple script that sets the time on a Windows client at
The one-line script:
net time \\myhost /set /yes
Works perfectly well when I double-click it from Windows Explorer, so I
don't think the problem lies there.

The relevant lines in my smb.conf file:

time server = yes
logon script = smbtimeset.BAT

   comment = shared scripts
   path = /usr/share/samba/scripts
   public = no
   writable = no
   browseable = no

I've set the log level to '3' and there aren't any messages at all
relating to running a startup script.

Any ideas?

More information about the samba mailing list