I have some windows 7 machines joined to my samba domain and for some reason the login script isn't running. In my smb.conf file I have
logon script = logon.bat
guests = No

under global. and under the netlogon share I have

comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = @Admins
guest ok = no
writeable = no
locking = no
read only = yes

I have a login batch file in the netlogon share called logon.bat. Can anyone help me figure out why it isn't running?