[Samba] Intermittent failed logon for one computer

Daniel Gapinski dangapinski at qsi-r2.com
Mon Oct 18 15:32:49 GMT 2004

We have been using Samba 3.0.7 for almost a month now, and today marks
the second time that I see a machine (one out of twelve on our network"
that gives this error when I log in:
 "The system cannot log you on to this domain because the system's
computer account in its primary domain is missing or the password on
that account is incorrect."
Last time this happened, I thought it might be a problem with that
computer needing to be removed and then rejoined to the domain, which
didn't work (the user still was not able to log on), and then half an
hour later, the user could log on again. 
Can anybody tell me what might be wrong - on other posts it looks like a
problem with the guest account (nobody), but specifying the nobody
account as guest doesn't seem to help (though I did check to make sure
that a nobody account in fact existed). 
I should mention that the 2 computers that had this problem are on a
subnet ( I am sending my smb.conf as a post script. Thanks
for your help!!!
My best, 
Dan Gapinski
;+ Server Settings      +
 workgroup = QUASAR
 netbios name = Jupiter
 server string = QSI Office Server %v
 hosts allow = 192.168.1. 192.168.0. 192.168.2. 192.168.3. 192.168.4.
 log level = 2
 log file = /var/log/samba/%m.log
 max log size = 0
 time server = yes
;+ Domain Settings      +
 os level = 35
 domain logons = yes
;+ Browse Settings      +
 domain master = yes
 local master = yes
 preferred master = yes
 remote browse sync =
 remote announce =
;+ WINS Settings      +
 wins support = yes
 guest ok = yes
 dns proxy = no
;+ User and Security Settings   +
 logon drive = z:
 logon home = 
 logon path = 
 encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd
 username map = /etc/samba/smbusers
 min password length = 3
 guest account = nobody
;+ added 10-Sep-2003 for file server support  +
# admin users = @public
 nt acl support = yes
 security mask = 0777
 force security mode = 0
 directory security mask = 0777
 force directory security mode = 0
;+ Management Scripts   +
 add user script = /usr/sbin/useradd -m %u
 delete user script = /usr/sbin/userdel -r %u
 add group script = /usr/sbin/groupadd %g
 delete group script = /usr/sbin/groupdel %g
 add user to group script = /usr/sbin/usermod -G %g %u
 add machine script = /usr/sbin/useradd -d /dev/null -g machines -s
/bin/false -M %u
;+ Logon Scripts   +
# run a general logon batch file for everyone
 logon script = logon.bat
# run a specific logon batch file per workstation (machine)
#    logon script = %m.bat
# run a specific logon batch file per username
#    logon script = %U.bat
;+ General Share Settings +
 preserve case = yes
 short preserve case = no
 default case = lower
 case sensitive = no
(then the share settings...)

More information about the samba mailing list