forked from pool/sssd
36 lines
1.6 KiB
Diff
36 lines
1.6 KiB
Diff
|
--- sssd-1.5.11/src/providers/ldap/sdap_async_accounts.c 2011-07-05 10:41:13.000000000 -0700
|
||
|
+++ sssd-1.5.11/src/providers/ldap/sdap_async_accounts.c.new 2012-04-04 21:18:36.366685716 -0700
|
||
|
@@ -3550,8 +3550,8 @@
|
||
|
|
||
|
filter = talloc_asprintf(
|
||
|
sdap_attrs, "(&(objectclass=%s)(%s=*))",
|
||
|
- state->opts->group_map[SDAP_OC_GROUP].name,
|
||
|
- state->opts->group_map[SDAP_AT_GROUP_NAME].name);
|
||
|
+ state->opts->group_map[SDAP_OC_GROUP].sys_name,
|
||
|
+ state->opts->group_map[SDAP_AT_GROUP_NAME].sys_name);
|
||
|
if (!filter) {
|
||
|
talloc_free(sdap_attrs);
|
||
|
return ENOMEM;
|
||
|
@@ -3884,10 +3884,10 @@
|
||
|
}
|
||
|
|
||
|
filter = talloc_asprintf(state, "(&(%s=%s)(objectclass=%s)(%s=*))",
|
||
|
- opts->group_map[SDAP_AT_GROUP_MEMBER].name,
|
||
|
+ opts->group_map[SDAP_AT_GROUP_MEMBER].sys_name,
|
||
|
clean_orig_dn,
|
||
|
opts->group_map[SDAP_OC_GROUP].name,
|
||
|
- opts->group_map[SDAP_AT_GROUP_NAME].name);
|
||
|
+ opts->group_map[SDAP_AT_GROUP_NAME].sys_name);
|
||
|
if (!filter) {
|
||
|
talloc_zfree(req);
|
||
|
return NULL;
|
||
|
@@ -4065,7 +4065,7 @@
|
||
|
ret = sysdb_attrs_primary_name_list(
|
||
|
state->sysdb, tmp_ctx,
|
||
|
state->ldap_groups, state->ldap_groups_count,
|
||
|
- state->opts->group_map[SDAP_AT_GROUP_NAME].name,
|
||
|
+ state->opts->group_map[SDAP_AT_GROUP_NAME].sys_name,
|
||
|
&ldap_grouplist);
|
||
|
if (ret != EOK) {
|
||
|
goto error;
|