Displaying 1 result from an estimated 1 matches for "ldapsam_search_one_group_by_gid".
2004 Jan 27
1
Group mapping bugs + PATCH
...if (NT_STATUS_IS_OK(ldapsam_getgrsid(methods, &dummy,
+ map->sid))) {
+ DEBUG(0, ("ldapsam_add_group_mapping_entry: SID already
mapped in LDAP\n"));
+ return NT_STATUS_UNSUCCESSFUL;
+ }
+
rc = ldapsam_search_one_group_by_gid(ldap_state, map->gid,
&result);
if (rc != LDAP_SUCCESS) {
ldap_msgfree(result);
@@ -1991,6 +1997,14 @@
LDAPMessage *entry = NULL;
LDAPMod **mods = NULL;
+ GROUP_MAP dummy;
+
+ if (NT_STATUS_IS_OK(ldapsam_getgrgid(methods, &dummy,
+...