My server is Debian-based, running Samba as the Primary Domain Controller. I have verified the permissions on the netlogon
share (drwxrwsr-x
) and the login.bat
(-rwxrwxr-x
) file, to allow all users Read and Execute permissions. On some of the systems, the script simply does not run; no drives mapped, no Program Update checks, etc. However, I can manually navigate to \\server\netlogon\login.bat
, run the file, and all the drive mappings appear!
I wish I could see a pattern, but it seems to only happen to a few PCs, then it happens to different PCs, and is never constant. All the PCs are Windows 7 Pro, and the users logging in are regular users, no Administrators (other then myself) log in to them for day-to-day use. In the Group Policy Editor, the Computer Configuration\Administrative Templates\System\Logon\Always wait for the network at computer startup and logon parameter is set to Enabled.
I cannot think of any recent changes that may have occurred in the vicinity of these computers, and they always have Internet access, and can manually connect to the server. What else can I look for? Below is the result of testparm -s
:
[global]
workgroup = DOMAIN
netbios name = SERVER
server string = server
interfaces = eth1
bind interfaces only = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *new*password* %n\n *new*password* %n\n *updated*
unix password sync = Yes
log level = 1
name resolve order = host wins lmhosts bcast
printcap name = /dev/null
disable spoolss = Yes
logon script = login.bat
logon path = \\server\netlogon
preferred master = yes
logon drive = h:
domain logons = Yes
os level = 255
domain master = Yes
wins support = Yes
path = /var/spool/lpd/samba
admin users = machine
write list = @domainadmins
printing = lprng
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
lppause command = lpc hold '%p' %j
lpresume command = lpc release '%p' %j
queuepause command = lpc stop '%p'
queueresume command = lpc start '%p'
[netlogon]
path = /usr/local/share/netlogon
UPDATE - I had to restart the Samba daemon on the server. Some computers that were working fine are now showing issues, and ones that were showing issues seem fine. Is this helpful in narrowing down the issue?