--- phpldapadmin-0.9.6c/login.php.orig 2005-09-01 12:51:13.000000000 +0200 +++ phpldapadmin-0.9.6c/login.php 2005-09-01 12:51:50.000000000 +0200 @@ -30,7 +30,7 @@ $dn = isset( $_POST['login_dn'] ) ? $_POST['login_dn'] : null; $uid = isset( $_POST['uid'] ) ? $_POST['uid'] : null; $pass = isset( $_POST['login_pass'] ) ? $_POST['login_pass'] : null; -$anon_bind = isset( $_POST['anonymous_bind'] ) && $_POST['anonymous_bind'] == 'on' ? true : false; +$anon_bind = isset( $_POST['anonymous_bind'] ) && $_POST['anonymous_bind'] == 'on' && is_anonymous_bind_allowed($server_id) ? true : false; if( ! $anon_bind ) strlen($pass) or pla_error( $lang['password_blank'] );