From: Kurt Zeilenga Date: Mon, 11 Feb 2002 20:33:27 +0000 (+0000) Subject: Note that we likely need to make some of this conditional. X-Git-Tag: OPENLDAP_REL_ENG_2_1_BP~41 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ec345504878e8c1dece29fc9ca04adc6d97defec;p=openldap Note that we likely need to make some of this conditional. --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index f42a13de13..a5362fc737 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -306,6 +306,8 @@ slap_sasl_checkpass( cred.bv_val = (char *)pass; cred.bv_len = passlen; + /* XXX do we need to check sasldb as well? */ + /* XXX can we do both steps at once? */ rc = slap_sasl_getdn( conn, (char *)username, NULL, &dn, FLAG_GETDN_AUTHCID | FLAG_GETDN_FINAL );