summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_idmap.c
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2014-07-21 08:06:23 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-07-22 09:40:08 +0200
commitdb18dda869bc6c52a41797b2066cf121cf10f49c (patch)
tree7bdfa5d0ee9ce1d135202e1f87d63f95aafe0c6b /src/providers/ipa/ipa_idmap.c
parent9ca0071db0e226e4e65b2a80fdeddd5048ca8990 (diff)
downloadsssd-db18dda869bc6c52a41797b2066cf121cf10f49c.tar.gz
sssd-db18dda869bc6c52a41797b2066cf121cf10f49c.tar.xz
sssd-db18dda869bc6c52a41797b2066cf121cf10f49c.zip
UTIL: rename find_subdomain_by_name
The function was named "find_subdomain" yet it could find both main domain and subdomain. sed 's/find_subdomain_by_name/find_domain_by_name/' -i `find . -name "*.[ch]"` Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/ipa/ipa_idmap.c')
-rw-r--r--src/providers/ipa/ipa_idmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/ipa/ipa_idmap.c b/src/providers/ipa/ipa_idmap.c
index 7e4f985f3..4e6831082 100644
--- a/src/providers/ipa/ipa_idmap.c
+++ b/src/providers/ipa/ipa_idmap.c
@@ -84,11 +84,11 @@ static errno_t ipa_idmap_check_posix_child(struct sdap_idmap_ctx *idmap_ctx,
return EINVAL;
}
- forest_root = find_subdomain_by_name(idmap_ctx->id_ctx->be->domain,
- dom->forest, true);
+ forest_root = find_domain_by_name(idmap_ctx->id_ctx->be->domain,
+ dom->forest, true);
if (forest_root == NULL) {
DEBUG(SSSDBG_OP_FAILURE,
- "find_subdomain_by_name failed to find forest root [%s].\n",
+ "find_domain_by_name failed to find forest root [%s].\n",
dom->forest);
return ENOENT;
}