diff options
author | Pavel Reichl <preichl@redhat.com> | 2014-07-21 08:01:58 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-22 09:40:04 +0200 |
commit | 9ca0071db0e226e4e65b2a80fdeddd5048ca8990 (patch) | |
tree | dc303a00d68b2113fad2e430263bfcb007f1ec59 /src/providers/simple | |
parent | 594b76cd86e32164a22172e054750fe18d09b0d6 (diff) | |
download | sssd-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/simple')
-rw-r--r-- | src/providers/simple/simple_access_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/simple/simple_access_check.c b/src/providers/simple/simple_access_check.c index 4b4400f6d..1fcff445f 100644 --- a/src/providers/simple/simple_access_check.c +++ b/src/providers/simple/simple_access_check.c @@ -611,7 +611,7 @@ simple_check_process_group(struct simple_check_groups_state *state, /* We will look it up in main domain. */ domain = state->ctx->domain; } else { - domain = find_subdomain_by_sid(state->ctx->domain, group_sid); + domain = find_domain_by_sid(state->ctx->domain, group_sid); if (domain == NULL) { DEBUG(SSSDBG_CRIT_FAILURE, "There is no domain information for " "SID %s\n", group_sid); |