[Samba] logon script not working
Guido Lorenzutti
guido at lorenzutti.com.ar
Fri Jun 24 23:34:33 GMT 2005
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
>
>
More information about the samba
mailing list