[Samba] making winxp machine a member of the domain

John H Terpstra jht at Samba.Org
Tue Nov 23 13:10:10 GMT 2004

On Tuesday 23 November 2004 06:01, Nandan Rao wrote:
> Hi,
>     I am using Samba 3.0.7. on  a Red Hat 9 system. I
> tried to configure the machine as a PDC by using a
> configuration file quite similar to what is giving in
> the    chapter 4.Windows NT domains of 'Using Samba'
> 2nd edition by Orielly.
>     Using testparm shows that the machine has been
> identified as a PDC of the domain 'hamsateam.' To test
> the PDC, I tried to make a WinXP Professional a member
> of the domain by following the instructions given in
> chapter 3.Configuring Windows Clients. On the xp
> machine, clicking OK after changing the domain name to
> hamsateam shows a box asking for a username and
> password. I entered   the user name as 'root' and
> password as 'test'('test' was the password I used with
> passwd -a root on the pdc.). However, I am getting the
> following error:
>  "The following error occured while attempting to join
> the domain "hamsateam": user name could not be found".

You need to run: smbpasswd -a root

This will create an smbpasswd file with the root password encrypted in 
Microsoft format.

- John T.

>  Unless and until I cross this step, I won't be able
> to test the pdc.
>  Attached, find the contents of smb.conf.
>  Waiting for  a reply,
> And thanks in advance.
> Nandan.
> ________________________________________________________________________
> Yahoo! India Matrimony: Find your life partner online
> Go to: http://yahoo.shaadi.com/india-matrimony

John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.

More information about the samba mailing list