[Samba] new samba box, xp can't login

michael michael at etalon.net
Wed Mar 23 06:03:55 GMT 2005

On Wed, 23 Mar 2005 02:59:03 +0000, Bruno Quintas wrote
> Hash: SHA1
> michael wrote:
> | Hello,
> |
> | I've recently created a new server (new P4) and installed samba.
> | (Debian sarge with Samba 3.0.10)
> |
> | I've re-installed samba from scratch.
> | I've copied over the old smb.conf and smbpasswd file,
> | copied over /etc/passwd, /etc/shadow files too.
> | (old server (P III) was the same, Debian sarge with 3.0.10)
> |
> | With the new server, the xp machines I have, won't login
> | to the domain. The error message is as if the password is wrong.
> | I can't see any info in the log.smbd or log.nmbd.
> |
> | If I re-add the xp machine back to the domain, then all will work
> | again, but I'm wondering if there are some files from my old server
> | that I can bring ove
> Did you set the old SID?

No, I don't think so.
Where is the SID?

When I added the xp machines to my first server, I did the following:
# useradd xp001$
# smpasswd -am xp001$

I then went to the xp001 machine and joined it to my domain.
Since, I copied my /etc/passwd, /etc/shadow and /etc/samba/smbpasswd files
over to my new server, I figured the xp machines would login again.

How do I set the old SID?


More information about the samba mailing list