mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
cleanup
This commit is contained in:
parent
6ef731db51
commit
3a468f5d90
@ -206,8 +206,8 @@ do_bind(
|
|||||||
}
|
}
|
||||||
|
|
||||||
Statslog( LDAP_DEBUG_STATS, "conn=%lu op=%lu BIND dn=\"%s\" method=%ld\n",
|
Statslog( LDAP_DEBUG_STATS, "conn=%lu op=%lu BIND dn=\"%s\" method=%ld\n",
|
||||||
op->o_connid, op->o_opid, op->o_req_dn.bv_val, (unsigned long) op->orb_method,
|
op->o_connid, op->o_opid, op->o_req_dn.bv_val,
|
||||||
0 );
|
(unsigned long) op->orb_method, 0 );
|
||||||
|
|
||||||
if ( version < LDAP_VERSION_MIN || version > LDAP_VERSION_MAX ) {
|
if ( version < LDAP_VERSION_MIN || version > LDAP_VERSION_MAX ) {
|
||||||
#ifdef NEW_LOGGING
|
#ifdef NEW_LOGGING
|
||||||
@ -458,7 +458,9 @@ do_bind(
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND
|
#ifdef LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND
|
||||||
} else if ( op->orb_method == LDAP_AUTH_KRBV41 || op->orb_method == LDAP_AUTH_KRBV42 ) {
|
} else if ( op->orb_method == LDAP_AUTH_KRBV41 ||
|
||||||
|
op->orb_method == LDAP_AUTH_KRBV42 )
|
||||||
|
{
|
||||||
if ( global_disallows & SLAP_DISALLOW_BIND_KRBV4 ) {
|
if ( global_disallows & SLAP_DISALLOW_BIND_KRBV4 ) {
|
||||||
/* disallow simple authentication */
|
/* disallow simple authentication */
|
||||||
rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
|
rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
|
||||||
|
Loading…
Reference in New Issue
Block a user