I had the same problem.

I fixed it with the following in smb.conf:

...

preexec = /usr/local/bin/netlogon %U
logon drive = X:
logon script = %U.bat
; logon path = \\%L\profiles\%U
; logon home = \\%N\%U

...

[netlogon]
        comment = The domain logon service
        path = /home/netlogon
;       read only = yes
        public = no
        writeable = no
        browsable = no

Regards,

Dario.

--
View this message in context: 
http://samba.2283325.n4.nabble.com/Samba-Windows-7-and-logon-scripts-tp2532596p3396892.html
Sent from the Samba - General mailing list archive at Nabble.com.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to