[Samba] User Administrator in passdb, but getpwnam() fails when trying to add XP machine to smb/ldap domain

Henti Smith henti at geekware.co.za
Wed Nov 17 14:35:48 GMT 2004


Hi all 

I've been trying to get this sorted out for a day now, 

I have done the following: 

Followed the howto at http://samba.idealx.org/smbldap-howto.en.html
Changed the reg settings in XP
added the computer to ldap
added administrator to ldap

when I try to add the computer using the settings in XP, when prompted with username and password I use the administrator and password set preveiosly.

this results in failure and log reports: 

[2004/11/17 17:59:25, 1] auth/auth_util.c:make_server_info_sam(822)
  User Administrator in passdb, but getpwnam() fails!
[2004/11/17 17:59:25, 0] auth/auth_sam.c:check_sam_security(306)
  check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER'
[2004/11/17 17:59:25, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1982)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such object)
[2004/11/17 17:59:26, 1] auth/auth_util.c:make_server_info_sam(822)
  User Administrator in passdb, but getpwnam() fails!
[2004/11/17 17:59:26, 0] auth/auth_sam.c:check_sam_security(306)
  check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER'
[2004/11/17 17:59:26, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1982)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No such object)

I've searched google and the list for possible options, but I've not yet found one that solves this problem. 

Any suggestions ? 

Thanks 

-- 
Henti Smith
henti at geekware.co.za
+27 82 958 2525
http://www.geekware.co.za

DISCLAIMER : 

Unauthorised use of characters, images, sounds, odors, severed limbs, noodles, wierd dreams, strange looking fruit, oxygen, and certain parts of Jupiter are strictly forbidden.  If I find you violating, or molesting my property in any way, I will employ a pair of burly convicts to find you, kidnap you, and perform god-awful sexual experiments on you until you lose the ability to sound out vowels.  I don't know why you are still reading this, but by doing so you have proven that you have far too much time on your hands, and you should go plant a tree, or read a book or something.
	- http://www.ctrlaltdel-online.com/


More information about the samba mailing list