[Samba] Joining WinXp to Samba PDC
roland at thompson.name
Fri Jan 24 19:03:01 GMT 2003
Ah, thats done it.
The uid's didn't match.
All is working now.
From: jboeddeker at web.de [mailto:jboeddeker at web.de]
Sent: 23 January 2003 22:44
To: roland at thompson.name
Subject: Re: [Samba] Joining WinXp to Samba PDC
Looks like the same problem as i had a feww moments ago.
i tried to rejoin my domain, but received the same errors
as you did.
the problem was the machine account for my workstation.
1. check if the machine account exists (<clientname>$) as
unix user. -> /etc/passwd
2. check if the samba machine account exists.
3. if both exist, check for the uid, should be the same.
4. check if another account exists, with the same id
5. if yes, remove the duplicate id. (be sure not to remove
a valid user!)
smbpasswd -x <duplicate>
6. try again.
7. if it doesn't work remove both (unix+samba) accounts and
recreate them with the following script:
#script creates an machine account
#the group "machines" must exist
adduser -g machines -s /bin/false -c "NT Machine Account" "$1\$"
smbpasswd -m -a "$1\$"
8. try again.
hope this helps,
----- Original Message -----
From: "Roland Thompson" <roland at thompson.name>
To: "'Bradley W. Langhorst'" <brad at langhorst.com>
Cc: <samba at lists.samba.org>
Sent: Thursday, January 23, 2003 8:55 PM
Subject: RE: [Samba] Joining WinXp to Samba PDC
> Thanks, but I'm a bit confused. Where did Administrator come from? Is
> it a built in account in Samba, and whats the default password? I've
> tried using Administrator with no password ( and with my root
> password), but it keeps saying :
> Unknown username or bad password
> any other samba account I try just return :
> The specified user does not exist
> Any help appreciated
> -----Original Message-----
> From: Bradley W. Langhorst [mailto:brad at langhorst.com]
> Sent: 23 January 2003 19:32
> To: roland at thompson.name
> Subject: Re: [Samba] Joining WinXp to Samba PDC
> On Thu, 2003-01-23 at 14:27, Roland Thompson wrote:
> > After trying to get WinXP (Pro) to try and find my domain so I can
> > log on I've finally done it, but now when I try and join my WinXP
> > client
> > the domain, windows asks me to enter the username and password of an
> > account with permission to join the domain.
> > Now which account would this be?? root doesn't work, neither do my
> > samba users.
> it's Administrator
> (which you may want to map to root with smbusers)
> Bradley W. Langhorst <brad at langhorst.com>
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba