mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
more verbose errors for verbose logging
This commit is contained in:
parent
907d5972a5
commit
3a825907ae
@ -358,7 +358,7 @@ function respond($request, $map, $extra='', $reconnect=false)
|
||||
|
||||
if (!$entries['count'])
|
||||
{
|
||||
if ($log_verbose) error_log("$map: get '$username' --> 500 not found");
|
||||
if ($log_verbose) error_log("$map: get '$username' --> 500 not found ldap_search(\$ds, '$base', '$filter') no entries");
|
||||
return "500 Not found\n"; // 500: Query returned no result
|
||||
}
|
||||
$response = array();
|
||||
@ -395,7 +395,7 @@ function respond($request, $map, $extra='', $reconnect=false)
|
||||
}
|
||||
if (!$response)
|
||||
{
|
||||
if ($log_verbose) error_log("$map: get '$username' --> 500 not found");
|
||||
if ($log_verbose) error_log("$map: get '$username' --> 500 not found ldap_search(\$ds, '$base', '$filter') no response");
|
||||
return "500 Not found\n"; // 500: Query returned no result
|
||||
}
|
||||
if (isset($maps[$map]['filter'.(1+$extra)]) && isset($maps[$map]['attrs'.(1+$extra)]))
|
||||
|
Loading…
Reference in New Issue
Block a user