mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
Remove deprecated code. Will remove slap.h code define later.
This commit is contained in:
parent
bd98f4c2a2
commit
3186a1c27a
1 changed files with 0 additions and 20 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue