summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_common.c4
-rw-r--r--src/providers/ipa/ipa_netgroups.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/providers/ipa/ipa_common.c b/src/providers/ipa/ipa_common.c
index 9f1178a9..58db9e78 100644
--- a/src/providers/ipa/ipa_common.c
+++ b/src/providers/ipa/ipa_common.c
@@ -168,8 +168,8 @@ struct sdap_attr_map ipa_netgroup_map[] = {
{ "ipa_netgroup_name", "cn", SYSDB_NAME, NULL },
{ "ipa_netgroup_member", "member", SYSDB_ORIG_NETGROUP_MEMBER, NULL },
{ "ipa_netgroup_member_of", "memberOf", SYSDB_MEMBEROF, NULL },
- { "ipa_netgroup_member_user", "memberUser", SYSDB_ORIG_NETGROUP_MEMBER_USER, NULL },
- { "ipa_netgroup_member_host", "memberHost", SYSDB_ORIG_NETGROUP_MEMBER_HOST, NULL },
+ { "ipa_netgroup_member_user", "memberUser", SYSDB_ORIG_MEMBER_USER, NULL },
+ { "ipa_netgroup_member_host", "memberHost", SYSDB_ORIG_MEMBER_HOST, NULL },
{ "ipa_netgroup_member_ext_host", "externalHost", SYSDB_ORIG_NETGROUP_EXTERNAL_HOST, NULL },
{ "ipa_netgroup_domain", "nisDomainName", SYSDB_NETGROUP_DOMAIN, NULL },
{ "ipa_netgroup_uuid", "ipaUniqueID", SYSDB_UUID, NULL },
diff --git a/src/providers/ipa/ipa_netgroups.c b/src/providers/ipa/ipa_netgroups.c
index ad0a1ef3..43680fb8 100644
--- a/src/providers/ipa/ipa_netgroups.c
+++ b/src/providers/ipa/ipa_netgroups.c
@@ -339,11 +339,11 @@ static void ipa_get_netgroups_process(struct tevent_req *subreq)
&ng_found);
if (ret != EOK) goto done;
- ret = sysdb_attrs_get_el(netgroups[i], SYSDB_ORIG_NETGROUP_MEMBER_USER,
+ ret = sysdb_attrs_get_el(netgroups[i], SYSDB_ORIG_MEMBER_USER,
&user_found);
if (ret != EOK) goto done;
- ret = sysdb_attrs_get_el(netgroups[i], SYSDB_ORIG_NETGROUP_MEMBER_HOST,
+ ret = sysdb_attrs_get_el(netgroups[i], SYSDB_ORIG_MEMBER_HOST,
&host_found);
if (ret != EOK) goto done;
@@ -902,7 +902,7 @@ static int ipa_netgr_process_all(struct ipa_get_netgroups_state *state)
/* Load all UIDs */
DEBUG(SSSDBG_TRACE_ALL, ("Extracting user members of netgroup %d\n", i));
ret = extract_members(state, state->netgroups[i],
- SYSDB_ORIG_NETGROUP_MEMBER_USER,
+ SYSDB_ORIG_MEMBER_USER,
state->new_users,
&uids, &uids_count);
if (ret != EOK) {
@@ -912,7 +912,7 @@ static int ipa_netgr_process_all(struct ipa_get_netgroups_state *state)
DEBUG(SSSDBG_TRACE_ALL, ("Extracting host members of netgroup %d\n", i));
ret = extract_members(state, state->netgroups[i],
- SYSDB_ORIG_NETGROUP_MEMBER_HOST,
+ SYSDB_ORIG_MEMBER_HOST,
state->new_hosts,
&hosts, &hosts_count);
if (ret != EOK) {