summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2014-07-21 08:01:58 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-07-22 09:40:04 +0200
commit9ca0071db0e226e4e65b2a80fdeddd5048ca8990 (patch)
treedc303a00d68b2113fad2e430263bfcb007f1ec59 /src/providers/ipa
parent594b76cd86e32164a22172e054750fe18d09b0d6 (diff)
downloadsssd-9ca0071db0e226e4e65b2a80fdeddd5048ca8990.tar.gz
sssd-9ca0071db0e226e4e65b2a80fdeddd5048ca8990.tar.xz
sssd-9ca0071db0e226e4e65b2a80fdeddd5048ca8990.zip
UTIL: rename find_subdomain_by_sid
The function was named "find_subdomain" yet it could find both main domain and subdomain. sed 's/find_subdomain_by_sid/find_domain_by_sid/' -i `find . -name "*.[ch]"` Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_idmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_idmap.c b/src/providers/ipa/ipa_idmap.c
index ae202d616..7e4f985f3 100644
--- a/src/providers/ipa/ipa_idmap.c
+++ b/src/providers/ipa/ipa_idmap.c
@@ -71,10 +71,10 @@ static errno_t ipa_idmap_check_posix_child(struct sdap_idmap_ctx *idmap_ctx,
return EINVAL;
}
- dom = find_subdomain_by_sid(idmap_ctx->id_ctx->be->domain, dom_sid_str);
+ dom = find_domain_by_sid(idmap_ctx->id_ctx->be->domain, dom_sid_str);
if (dom == NULL) {
DEBUG(SSSDBG_OP_FAILURE,
- "find_subdomain_by_sid failed with SID [%s].\n", dom_sid_str);
+ "find_domain_by_sid failed with SID [%s].\n", dom_sid_str);
return EINVAL;
}