diff options
author | Sumit Bose <sbose@redhat.com> | 2010-06-25 17:50:56 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-28 08:38:05 -0400 |
commit | c5e019b3aa08f0ac9de05ce973fbc5b640bf49cd (patch) | |
tree | 35ed58fce643182c2bc442f40d4ab1fa7ebd914c | |
parent | 6e43acff7687339d674acb671cf975177bbe70b5 (diff) | |
download | sssd-c5e019b3aa08f0ac9de05ce973fbc5b640bf49cd.tar.gz sssd-c5e019b3aa08f0ac9de05ce973fbc5b640bf49cd.tar.xz sssd-c5e019b3aa08f0ac9de05ce973fbc5b640bf49cd.zip |
Fix SASL authentication
-rw-r--r-- | src/providers/ldap/sdap_async_connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c index 14a1a4b7d..a0224a1c1 100644 --- a/src/providers/ldap/sdap_async_connection.c +++ b/src/providers/ldap/sdap_async_connection.c @@ -571,7 +571,7 @@ static int sdap_sasl_interact(LDAP *ld, unsigned flags, switch (in->id) { case SASL_CB_GETREALM: - case SASL_CB_AUTHNAME: + case SASL_CB_USER: case SASL_CB_PASS: if (in->defresult) { in->result = in->defresult; @@ -580,7 +580,7 @@ static int sdap_sasl_interact(LDAP *ld, unsigned flags, } in->len = strlen(in->result); break; - case SASL_CB_USER: + case SASL_CB_AUTHNAME: if (state->sasl_user) { in->result = state->sasl_user; } else if (in->defresult) { |