[Samba] w2k does not join pdc with ldap

Ingo Wichmann wichmann at uni-wuppertal.de
Sun Jun 9 10:36:02 GMT 2002


Hi!

Following the nice desciption by volker Lendecke in the german magazin 
ix (http://www.heise.de/ix/artikel/2002/04/148/) i've set up a samba pdc 
with its passwd-db on a ldap server.

Unfortunately joining the domain with a w2k client doesen't work.

I've added a root-account with
pdbedit -a -u root

Its rid is 1000. As i can see in the logfile, the user root is found, 
even the correct rid is shown.

[2002/06/09 07:11:44, 2] passdb/pdb_ldap.c:get_single_attribute(287)
   get_single_attribute: [rid] = [1000]

This sounds very promising:

[2002/06/09 07:11:45, 2] passdb/pdb_ldap.c:init_sam_from_ldap(422)
   Entry found for user: vm2000$

But: The last message is:

[2002/06/09 07:11:45, 2] passdb/pdb_ldap.c:ldap_connect_system(177)
   ldap_connect_system: succesful connection to the LDAP server
[2002/06/09 07:11:45, 2] passdb/pdb_ldap.c:ldap_search_one_user(189)
   ldap_search_one_user: searching for:[rid=5002]
[2002/06/09 07:11:45, 0] passdb/pdb_ldap.c:pdb_getsampwrid(826)
   We don't find this rid [5002] count=0

I don't know where this rid comes from. Its not in my ldap-directory.

Any hints?

Ingo Wichmann





More information about the samba mailing list