[Samba] no mapping between account names and security ids was done

Chris Mason lists at masonc.com
Wed Apr 2 23:14:37 GMT 2003

I use a openLDAP database for authentication on my Redhat 7.2 server. The
domain is "HOME". I have had no problem adding trust accounts and
authenticating against it.
Today I had to change the name of my Win2K workstation from poseiden to
poseiden1 for compatibility with a package I am testing. Once I changed it
and put in a new trust account, I could not rejoin the domain.
I gave up and changed the name back. As I had deleted the trust account for
poseiden, I made a new one with
 smbldap-useradd -w poseiden
I still cannot get the machine to join the domain, I get 

 no mapping between account names and security ids was done

when I try.

Tailing /var/log/samba/poseiden.log

[2003/04/02 19:06:18, 2] passdb/pdb_ldap.c:ldap_connect_system(250)
  ldap_connect_system: succesful connection to the LDAP server
[2003/04/02 19:06:18, 2] passdb/pdb_ldap.c:ldap_search_one_user(262)
  ldap_search_one_user: searching
[2003/04/02 19:06:18, 0] passdb/pdb_ldap.c:pdb_getsampwnam(858)
  LDAP search "(&(uid=poseiden1_)(objectclass=sambaAccount))" returned 0
[2003/04/02 19:06:18, 0] rpc_server/srv_netlog_nt.c:get_md4pw(176)
  get_md4pw: Workstation poseiden1$: no account in domain
[2003/04/02 19:06:18, 2] smbd/server.c:exit_server(461)
  Closing connections

Chris Mason
masonc at masonc.com
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8463 Cell: 264 235 5670
http://www.anguillaguide.com/ The Anguilla Guide
Talk to me in real time:
US Fax and Voicemail: (815)301-9759

More information about the samba mailing list