diff --git a/program/lib/Roundcube/rcube_ldap.php b/program/lib/Roundcube/rcube_ldap.php index ab8d14fb5..d34026632 100644 --- a/program/lib/Roundcube/rcube_ldap.php +++ b/program/lib/Roundcube/rcube_ldap.php @@ -421,7 +421,7 @@ class rcube_ldap extends rcube_addressbook } } - if (empty($bind_pass) && strncasecmp($method, 'GSSAPI', 6) != 0) { + if (empty($bind_pass) && strncasecmp($auth_method, 'GSSAPI', 6) != 0) { $this->ready = true; } else {