How to allow a W2K machine join a domain with Samba 2.2alpha3 PDC

Nicholas Golder purenrg at
Fri Apr 13 01:26:54 GMT 2001

I am assuming that you have added the machine name to the /etc/passwd file
and also to the smbpasswd file.  As far as I know, alpha 3 can only use the
root account to add the machine to the domain this also has to be added to
the smbpasswd file.  This is a link that seems to do the job to get the
machine added to the domain:
If this is new to you, here is the HOWTO:

If you can get your machine to logon to the domain after the joining the
domain, let me know.  This is where I am having problems.  I have posted to
this list about this problem but haven't had any resolution.

"Breaking stereotypes since 1977."
Nicholas Golder

-----Original Message-----
From: samba-ntdom-admin at
[mailto:samba-ntdom-admin at]On Behalf Of Patrick Goetz
Sent: Thursday, April 12, 2001 6:58 PM
To: samba-ntdom at
Subject: How to allow a W2K machine join a domain with Samba 2.2alpha3

Hello -

Please pardon what might be an often asked question, but I haven't found
an answer in either "Using Samba", the HOWTO's, man pages, or by browsing
through the last 3 months of this list.

I've set up Samba 2.2alpha3 on a Debian linux machine to be a PDC:

     workgroup = UTMATH
     wins support = yes
     security = user
     status = no
     encrypt passwords = yes
   # PDC Stuff below
     os level = 65
     local master = yes
     preferred master = yes
     domain master = yes
     domain logons = yes

However, I can't get my W2K test machine to join the UTMATH
domain.  Whenever I try, I'm prompted for the username and password of "an
account with permission to join the domain".  The only user I currently
have set up in smbpasswd is myself, and it appears I'm not worthy, as when
I enter my user name and password I'm informed that

  "The account used is a computer account.  Use your global user account
or local user account to access this server"

The local administrator account doesn't work either, so question:

What kind of an account do I need to set up and where in order to add the
W2K machine to the UTMATH domain?

and while I'm at it...

Why do I need to add the machine name to the local /etc/passwd file?  If
anything, one would think that trust accounts would go in the smbpasswd
file; but from what I've seen on the list, the opposite is the
case; i.e. having the machine name in the smbpasswd file is a source of

More information about the samba-ntdom mailing list