aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-05-16 23:05:13 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-05-16 23:05:13 +0200
commit327f9afbc0e015864c64b29b412e03142f40ca16 (patch)
tree0ec3a5511b9a3d7acc7c89650b0529678b49d117 /phpBB/includes
parent6d7e30ae995fe0791c2bced0974b0445fa769ee9 (diff)
downloadforums-327f9afbc0e015864c64b29b412e03142f40ca16.tar
forums-327f9afbc0e015864c64b29b412e03142f40ca16.tar.gz
forums-327f9afbc0e015864c64b29b412e03142f40ca16.tar.bz2
forums-327f9afbc0e015864c64b29b412e03142f40ca16.tar.xz
forums-327f9afbc0e015864c64b29b412e03142f40ca16.zip
[ticket/8792] Add LDAP_SEARCH_FAILED string for when ldap_search() fails.
No longer use LDAP_NO_SERVER_CONNECTION in case ldap_search() fails. Add and use LDAP_SEARCH_FAILED instead, so users can tell the difference between ldap_connect() failing and ldap_search() failing. PHPBB3-8792
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/auth/auth_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/auth/auth_ldap.php b/phpBB/includes/auth/auth_ldap.php
index a6092baba5..e8c957aaa3 100644
--- a/phpBB/includes/auth/auth_ldap.php
+++ b/phpBB/includes/auth/auth_ldap.php
@@ -74,7 +74,7 @@ function init_ldap()
if ($search === false)
{
- return $user->lang['LDAP_NO_SERVER_CONNECTION'];
+ return $user->lang['LDAP_SEARCH_FAILED'];
}
$result = @ldap_get_entries($ldap, $search);