Ah, that?s done it.
The uid's didn't match.
All is working now.
Thanks
-----Original Message-----
From: jboeddeker@web.de [mailto:jboeddeker@web.de]
Sent: 23 January 2003 22:44
To: roland@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.
-> /etc/samba/smbpasswd
3. if both exist, check for the uid, should be the same.
4. check if another account exists, with the same id
-> /etc/samba/smbpasswd
5. if yes, remove the duplicate id. (be sure not to remove
a valid user!)
-> /etc/samba/smbpasswd
smbpasswd -x <duplicate>
6. try again.
7. if it doesn't work remove both (unix+samba) accounts and
recreate them with the following script:
#!/bin/bash
#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,
Joachim.
----- Original Message -----
From: "Roland Thompson" <roland@thompson.name>
To: "'Bradley W. Langhorst'" <brad@langhorst.com>
Cc: <samba@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
>
> Roland
>
>
>
> -----Original Message-----
> From: Bradley W. Langhorst [mailto:brad@langhorst.com]
> Sent: 23 January 2003 19:32
> To: roland@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
> to
> > 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
> other
> > samba users.
> it's Administrator
> (which you may want to map to root with smbusers)
>
> brad
> --
> Bradley W. Langhorst <brad@langhorst.com>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>