[Samba] Unable to add Windows 2K/XP Pro clients to Samba domain

Patrick Shinpaugh shpatric at vt.edu
Mon May 17 20:18:08 GMT 2004

I have Samba 3.0.2 working with OpenLDAP (ldapsam) as backend except I
can only use Samba as a workgroup not as a domain. Because of the added
security of domain membership, I would like to add all clients as
members of the Samba domain.

When I first add the Windows client, I receive a message returned

The following error occurred attempting to join the domain "MYDOMAIN":
The username could not be found.

Checking the ldap database immediately afterward, an entry was added for
the client (add machine script used in smb.conf) but the client was not
added to the domain. If I again attempt to add the Windows client I
receive the message

The following error occurred attempting to join the domain "MYDOMAIN":
No mapping between account names and security IDs was done.

though this error obviously has something to do with an entry being
found but the client isn't able to use it properly.

I have disabled several local security policies relating to signing and
encrypting communication with a server but it doesn't seem to have done

Would anybody have an idea where I may be going wrong? If you need more
info, please let me know.


More information about the samba mailing list