diff --git a/lam/templates/lists/listdomains.php b/lam/templates/lists/listdomains.php index b7a0c64e..83dcf9e4 100644 --- a/lam/templates/lists/listdomains.php +++ b/lam/templates/lists/listdomains.php @@ -94,7 +94,7 @@ session_register('dom_suffix'); if (! $_GET['norefresh']) { // configure search filter - $filter = "(sambaDomainName=*)"; + $filter = "(objectClass=sambaDomain)"; $attrs = $attr_array; $sr = @ldap_search($_SESSION["ldap"]->server(), $dom_suffix,