server;
$search = @ldap_read( $ds, $dn, "(objectClass=*)", array($attr));
if( ! $search ) {
echo $_SESSION['header'];
echo "
LDAP Account Manager\n";
echo "\n";
echo "\n";
StatusMessage("ERROR", _('Encountered an error while performing search.'), ldap_error($ds));
echo "