login script = netlogon\logon.bat

wrong!

login script = logon.bat

right :)

Matt Schwartz escribió:

I cannot figure out why my logon script does not work. Here are my settings. Here is my smb.conf:

login script = netlogon\logon.bat
[netlogon]
comment = Network Logon Service
path = /home/netlogon
admin users = @ntadmins
write list = @ntadmins
guest ok = Yes
locking = No

Here is my logon.bat:

@echo off
net time \\servername /set /yes
net use p: \\servername\profiles\%username%

When I execute logon.bat from a command line, the drive is properly mounted. I want this script to execute at logon time like it is supposed to. Any ideas as to why this fails?
Thanks,
Matt



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to