]> git.sur5r.net Git - openldap/commitdiff
Remove deprecated code. Will remove slap.h code define later.
authorKurt Zeilenga <kurt@openldap.org>
Sat, 9 Aug 2003 03:44:30 +0000 (03:44 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 9 Aug 2003 03:44:30 +0000 (03:44 +0000)
servers/slapd/bind.c

index 2678c18b4883fc22779ace536c51107881d57a68..d0add6a7a5b569dd9288c580c63d2acd248977da 100644 (file)
@@ -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;
                }