updated error message
This commit is contained in:
parent
48734bdaa4
commit
859a4363ce
|
@ -98,7 +98,7 @@ if (! $_GET['norefresh']) {
|
|||
$attrs = $attr_array;
|
||||
$sr = @ldap_search($_SESSION["ldap"]->server(), $dom_suffix, $filter, $attrs);
|
||||
if (ldap_errno($_SESSION["ldap"]->server()) == 4) {
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), "See README.openldap to solve this problem.");
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem."));
|
||||
}
|
||||
if ($sr) {
|
||||
$dom_info = ldap_get_entries($_SESSION["ldap"]->server, $sr);
|
||||
|
|
|
@ -158,7 +158,7 @@ if (! $_GET['norefresh']) {
|
|||
$attrs = $attr_array;
|
||||
$sr = @ldap_search($_SESSION["ldap"]->server(), $grp_suffix, $filter, $attrs);
|
||||
if (ldap_errno($_SESSION["ldap"]->server()) == 4) {
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), "See README.openldap to solve this problem.");
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem."));
|
||||
}
|
||||
if ($sr) {
|
||||
$grp_info = ldap_get_entries($_SESSION["ldap"]->server, $sr);
|
||||
|
|
|
@ -162,7 +162,7 @@ if (! $_GET['norefresh']) {
|
|||
$attrs = $attr_array;
|
||||
$sr = @ldap_search($_SESSION["ldap"]->server(), $hst_suffix, $filter, $attrs);
|
||||
if (ldap_errno($_SESSION["ldap"]->server()) == 4) {
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), "See README.openldap to solve this problem.");
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem."));
|
||||
}
|
||||
if ($sr) {
|
||||
$hst_info = ldap_get_entries($_SESSION["ldap"]->server, $sr);
|
||||
|
|
|
@ -200,7 +200,7 @@ else {
|
|||
$attrs = $attr_array;
|
||||
$sr = @ldap_search($_SESSION["ldap"]->server(), $usr_suffix, $filter, $attrs);
|
||||
if (ldap_errno($_SESSION["ldap"]->server()) == 4) {
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), "See README.openldap to solve this problem.");
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem."));
|
||||
}
|
||||
if ($sr) {
|
||||
$userinfo = ldap_get_entries ($_SESSION["ldap"]->server, $sr);
|
||||
|
|
|
@ -98,7 +98,7 @@ if (! $_GET['norefresh']) {
|
|||
$attrs = $attr_array;
|
||||
$sr = @ldap_search($_SESSION["ldap"]->server(), $dom_suffix, $filter, $attrs);
|
||||
if (ldap_errno($_SESSION["ldap"]->server()) == 4) {
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), "See README.openldap to solve this problem.");
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem."));
|
||||
}
|
||||
if ($sr) {
|
||||
$dom_info = ldap_get_entries($_SESSION["ldap"]->server, $sr);
|
||||
|
|
|
@ -159,7 +159,7 @@ if (! $_GET['norefresh']) {
|
|||
$attrs = $attr_array;
|
||||
$sr = @ldap_search($_SESSION["ldap"]->server(), $grp_suffix, $filter, $attrs);
|
||||
if (ldap_errno($_SESSION["ldap"]->server()) == 4) {
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), "See README.openldap to solve this problem.");
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem."));
|
||||
}
|
||||
if ($sr) {
|
||||
$grp_info = ldap_get_entries($_SESSION["ldap"]->server, $sr);
|
||||
|
|
|
@ -157,7 +157,7 @@ if (! $_GET['norefresh']) {
|
|||
$attrs = $attr_array;
|
||||
$sr = @ldap_search($_SESSION["ldap"]->server(), $hst_suffix, $filter, $attrs);
|
||||
if (ldap_errno($_SESSION["ldap"]->server()) == 4) {
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), "See README.openldap to solve this problem.");
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem."));
|
||||
}
|
||||
if ($sr) {
|
||||
$hst_info = ldap_get_entries($_SESSION["ldap"]->server, $sr);
|
||||
|
|
|
@ -201,7 +201,7 @@ else {
|
|||
$attrs = $attr_array;
|
||||
$sr = @ldap_search($_SESSION["ldap"]->server(), $usr_suffix, $filter, $attrs);
|
||||
if (ldap_errno($_SESSION["ldap"]->server()) == 4) {
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), "See README.openldap to solve this problem.");
|
||||
StatusMessage("WARN", _("LDAP sizelimit exceeded, not all entries are shown."), _("See README.openldap.txt to solve this problem."));
|
||||
}
|
||||
if ($sr) {
|
||||
$userinfo = ldap_get_entries ($_SESSION["ldap"]->server, $sr);
|
||||
|
|
Loading…
Reference in New Issue