From 3186a1c27a80abcbaa752c7e65f3e7e06d1d4248 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 9 Aug 2003 03:44:30 +0000 Subject: [PATCH] Remove deprecated code. Will remove slap.h code define later. --- servers/slapd/bind.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 2678c18b48..d0add6a7a5 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -427,26 +427,6 @@ do_bind( Debug( LDAP_DEBUG_TRACE, "do_bind: v%d simple bind(%s) disallowed\n", version, op->o_req_ndn.bv_val, 0 ); -#endif - goto cleanup; - - } else if (( global_disallows & SLAP_DISALLOW_BIND_SIMPLE_UNPROTECTED ) - && ( op->o_ssf <= 1 )) - { - rs->sr_err = LDAP_CONFIDENTIALITY_REQUIRED; - rs->sr_text = "unwilling to perform simple authentication " - "without confidentiality protection"; - - send_ldap_result( op, rs ); - -#ifdef NEW_LOGGING - LDAP_LOG( OPERATION, INFO, "do_bind: conn %d " - "v%d unprotected simple bind(%s) disallowed\n", - op->o_connid, version, op->o_req_ndn.bv_val ); -#else - Debug( LDAP_DEBUG_TRACE, - "do_bind: v%d unprotected simple bind(%s) disallowed\n", - version, op->o_req_ndn.bv_val, 0 ); #endif goto cleanup; } -- 2.39.5