Suff_users && ($conf->Suff_users != "")) { $info = @ldap_search($_SESSION['ldap']->server, $conf->Suff_users, "", array()); $res = @ldap_get_entries($_SESSION['ldap']->server, $info); if (!$res) $new_suffs[] = $conf->Suff_users; } if ($conf->Suff_groups && ($conf->Suff_groups != "")) { $info = @ldap_search($_SESSION['ldap']->server, $conf->Suff_groups, "", array()); $res = @ldap_get_entries($_SESSION['ldap']->server, $info); if (!$res) $new_suffs[] = $conf->Suff_groups; } if ($conf->Suff_hosts && ($conf->Suff_hosts != "")) { $info = @ldap_search($_SESSION['ldap']->server, $conf->Suff_hosts, "", array()); $res = @ldap_get_entries($_SESSION['ldap']->server, $info); if (!$res) $new_suffs[] = $conf->Suff_hosts; } if ($conf->Suff_domains && ($conf->Suff_domains != "")) { $info = @ldap_search($_SESSION['ldap']->server, $conf->Suff_domains, "", array()); $res = @ldap_get_entries($_SESSION['ldap']->server, $info); if (!$res) $new_suffs[] = $conf->Suff_domains; } if ($conf->Suff_map && ($conf->Suff_map != "")) { $info = @ldap_search($_SESSION['ldap']->server, $conf->Suff_map, "", array()); $res = @ldap_get_entries($_SESSION['ldap']->server, $info); if (!$res) $new_suffs[] = $conf->Suff_map; } echo ("\n"); echo ("\n"); echo ("\n"); echo ("\n"); echo ("LDAP Account Manager\n"); echo (""); echo ("\n"); echo ("\n"); echo ("\n"); // display page to add suffixes, if needed if (sizeof($new_suffs) > 0) echo ("\n"); else echo ("\n"); echo ("\n"); echo ("This page requires a browser that can show frames!\n"); echo ("\n"); echo ("\n"); echo ("\n"); ?>