diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-01-16 06:57:20 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-06 08:25:22 -0500 |
commit | 9674f0f018c65a9af6b18dd0a4e515f726803d27 (patch) | |
tree | 661e6ff70286aad1706a228b32b3eb56d3e2c699 /src/providers/ipa | |
parent | 7a65556481be3b556a5161c811ff004863042dfe (diff) | |
download | sssd-9674f0f018c65a9af6b18dd0a4e515f726803d27.tar.gz sssd-9674f0f018c65a9af6b18dd0a4e515f726803d27.tar.bz2 sssd-9674f0f018c65a9af6b18dd0a4e515f726803d27.zip |
Renamed some sysdb constants for their wider usage
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_common.c | 4 | ||||
-rw-r--r-- | src/providers/ipa/ipa_netgroups.c | 8 |
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) { |