diff --git a/program/lib/Roundcube/rcube_ldap.php b/program/lib/Roundcube/rcube_ldap.php index d34026632..e158b5e2b 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($auth_method, 'GSSAPI', 6) != 0) { + if (empty($bind_pass) && strcasecmp($auth_method, 'GSSAPI') != 0) { $this->ready = true; } else {