Samba - Windows 2000 LDAP: Change of rid

Joachim.Tork at gad.de Joachim.Tork at gad.de
Tue Oct 30 00:34:31 GMT 2001


Hello,

I faced the problem that after a domain logon the rid of the machine
account
was changed in a hex - dec inconsistance.
So I changed the following and it worked for me.

file: passdb/pdb_ldap.c line 444
//      user_rid = (uint32)strtol(temp, NULL, 16);
        user_rid = (uint32)strtol(temp, NULL, 10);
        get_single_attribute(ldap_struct, entry, "primaryGroupID", temp);
//      group_rid = (uint32)strtol(temp, NULL, 16);
        group_rid = (uint32)strtol(temp, NULL, 10);

Best regards

Joachim





More information about the samba-technical mailing list