From: Howard Chu Date: Fri, 12 Jul 2002 23:43:46 +0000 (+0000) Subject: Fix previous commit - the stub was never needed. X-Git-Tag: NO_SLAP_OP_BLOCKS~1366 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7fdb38bca90abb82b45350249147cc46daea0ba4;p=openldap Fix previous commit - the stub was never needed. --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index df5958d023..94235f7506 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -633,19 +633,6 @@ slap_sasl_checkpass( return rc; } -static int -slap_sasl_cb_setpass( - sasl_conn_t *sconn, - void *context, - const char *username, - const char *pass, - unsigned passlen, - struct propctx *propctx, - unsigned flags) -{ - Connection *conn = (Connection *)context; -} - /* Convert a SASL authcid or authzid into a DN. Store the DN in an * auxiliary property, so that we can refer to it in sasl_authorize * without interfering with anything else. Also, the SASL username @@ -1081,10 +1068,6 @@ int slap_sasl_open( Connection *conn ) session_callbacks[cb].id = SASL_CB_SERVER_USERDB_CHECKPASS; session_callbacks[cb].proc = &slap_sasl_checkpass; session_callbacks[cb++].context = conn; - - session_callbacks[cb].id = SASL_CB_SERVER_USERDB_SETPASS; - session_callbacks[cb].proc = &slap_sasl_cb_setpass; - session_callbacks[cb++].context = conn; #endif session_callbacks[cb].id = SASL_CB_LIST_END; @@ -1457,7 +1440,7 @@ slap_sasl_setpass( "slap_sasl_setpass: \"%s\"\n", id.bv_val ? id.bv_val : "" )); #else - Debug( LDAP_DEBUG_ARGS, "==> ldbm_back_exop_passwd: \"%s\"\n", + Debug( LDAP_DEBUG_ARGS, "==> slap_sasl_setpass: \"%s\"\n", id.bv_val ? id.bv_val : "", 0, 0 ); #endif