computer account it its primary domain is missing

Martin Thomas mthomas at
Tue Mar 27 13:52:03 GMT 2001


try to add a unix user 'nobody' to your system (in passwd).
On my debian box its user nobody, userid 65534, groupid 65534,
home dir /tmp, login shell /bin/false.
You might want to add the line 'guest account = nobody' in the
global section of your smb.conf (but seems to be the default)
I think the guest account is needed for the initial browsing of the
pdc (hidden share IPC$).

Just a little comment on your smb.conf: you have deactivated
the add user script line. Try:
add user script = /usr/sbin/useradd -g machines -c CompAccount
 -d /dev/null -s /bin/false %m$
This should work on Debian and SuSE linux. So you don't have to
add the machine-accounts by hand to join a Windows-Box to the domain.
(Can someone add this to the pdc-faq? addusers takes different
parameters at least on the linux systems I use here)


----- Original Message -----
From: "Håvard Berland" <berland at>
To: <samba-ntdom at>
Sent: Tuesday, March 27, 2001 11:09 AM
Subject: computer account it its primary domain is missing

Hello, I still haven't found a solution to our problem with W2k and

I have succesfully joined the domain, but no users can log on to the
domain, immediately after pressing Ok in the logon dialog, I get the

"The system cannot log you on to this domain because the systems
computer account in its primary domain is missing or the password on
that account is incorrect."

And the user I try to log on with does indeed exist in smbpasswd.

More information about the samba-ntdom mailing list