diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-10 13:34:39 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-12 21:28:06 -0400 |
commit | 2394ec78b31c34f928843a56b9c395380347c418 (patch) | |
tree | 00875f4c78c35c464401d454224875af437437eb /src/providers | |
parent | b78b13ea569fc7fb4ca2c19c39d7cf59e7688f1d (diff) | |
download | sssd-2394ec78b31c34f928843a56b9c395380347c418.tar.gz sssd-2394ec78b31c34f928843a56b9c395380347c418.tar.bz2 sssd-2394ec78b31c34f928843a56b9c395380347c418.zip |
LDAP: Fix incorrect switch statement in sdap_get_initgr_done()
SDAP_SCHEMA_AD needs to be calling sdap_initgr_rfc2307bis_recv(),
not sdap_initgr_nested_recv(). By coincidence both recv functions
happened to be identical, but if one or the other changed, this
would break unexpectedly.
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/sdap_async_initgroups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c index 50347b2b..ae7e63b8 100644 --- a/src/providers/ldap/sdap_async_initgroups.c +++ b/src/providers/ldap/sdap_async_initgroups.c @@ -2760,11 +2760,11 @@ static void sdap_get_initgr_done(struct tevent_req *subreq) break; case SDAP_SCHEMA_RFC2307BIS: + case SDAP_SCHEMA_AD: ret = sdap_initgr_rfc2307bis_recv(subreq); break; case SDAP_SCHEMA_IPA_V1: - case SDAP_SCHEMA_AD: ret = sdap_initgr_nested_recv(subreq); break; |