summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_users.c
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/ldap/sdap_async_users.c
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/ldap/sdap_async_users.c')
-rw-r--r--src/providers/ldap/sdap_async_users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_users.c b/src/providers/ldap/sdap_async_users.c
index be0536ef3..2331ba9df 100644
--- a/src/providers/ldap/sdap_async_users.c
+++ b/src/providers/ldap/sdap_async_users.c
@@ -180,7 +180,7 @@ int sdap_save_user(TALLOC_CTX *memctx,
/* If this object has a SID available, we will determine the correct
* domain by its SID. */
if (sid_str != NULL) {
- subdomain = find_subdomain_by_sid(get_domains_head(dom), sid_str);
+ subdomain = find_domain_by_sid(get_domains_head(dom), sid_str);
if (subdomain) {
dom = subdomain;
} else {