--- pdb_ldap.c 2003-05-23 01:54:40.000000000 -0400 +++ pdb_ldap.c.fixed 2003-05-23 01:59:30.000000000 -0400 @@ -1701,18 +1701,18 @@ switch (rid_type) { case USER_RID_TYPE: - if (!get_single_attribute(ldap_state->ldap_struct, - entry, "nextUserRid", - old_rid_string)) { + if (!get_single_attribute(ldap_state->ldap_struct, entry, + get_attr_key2string(dominfo_attr_list, LDAP_ATTR_NEXT_USERRID), + old_rid_string)) { ldap_memfree(dn); ldap_msgfree(result); return ret; } break; case GROUP_RID_TYPE: - if (!get_single_attribute(ldap_state->ldap_struct, - entry, "nextGroupRid", - old_rid_string)) { + if (!get_single_attribute(ldap_state->ldap_struct, entry, + get_attr_key2string(dominfo_attr_list, LDAP_ATTR_NEXT_GROUPRID), + old_rid_string)) { ldap_memfree(dn); ldap_msgfree(result); return ret;
missed these during the schema update. Patch looks fine. applied.
originally reported against 3.0aph24. Bugzilla spring cleaning. Removing old alpha versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.