summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2008-03-07 17:37:41 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2008-03-07 17:37:41 (GMT)
commitf432042cd0f80abc4b3b2609f48a4505efa8ea57 (patch)
tree1f4a1a8b3accd142a7ac79d90935ef90150e5008 /www
parentc7954cf2dbb154b0e9faec444f9887975e8d0602 (diff)
downloadkolab-webadmin-f432042cd0f80abc4b3b2609f48a4505efa8ea57.tar.gz
webadmin: Better LDAP filter when listing admins and maintainers.
Diffstat (limited to 'www')
-rw-r--r--www/admin/administrator/index.php.in2
-rw-r--r--www/admin/domainmaintainer/index.php.in2
-rw-r--r--www/admin/maintainer/index.php.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/www/admin/administrator/index.php.in b/www/admin/administrator/index.php.in
index 6344d71..6f5ee6f 100644
--- a/www/admin/administrator/index.php.in
+++ b/www/admin/administrator/index.php.in
@@ -54,7 +54,7 @@ if( !$errors ) {
$maintainers = $ldap->groupMembers( "cn=internal,$base_dn", 'admin' );
- $filter = "(&(cn=*)(objectclass=inetOrgPerson)(!(uid=manager))(sn=*))";
+ $filter = "(&(cn=*)(objectclass=inetOrgPerson)(!(uid=manager))(sn=*)(uid=*))";
$result = ldap_search($ldap->connection, $base_dn, $filter, array( 'uid', 'sn', 'cn', 'kolabDeleteflag' ));
if( $result ) {
diff --git a/www/admin/domainmaintainer/index.php.in b/www/admin/domainmaintainer/index.php.in
index 29f6f92..0939321 100644
--- a/www/admin/domainmaintainer/index.php.in
+++ b/www/admin/domainmaintainer/index.php.in
@@ -54,7 +54,7 @@ if( !$errors ) {
$maintainers = $ldap->groupMembers( "cn=internal,$base_dn", 'domain-maintainer' );
- $filter = "(&(cn=*)(objectclass=inetOrgPerson)(!(uid=manager))(sn=*))";
+ $filter = "(&(cn=*)(objectclass=inetOrgPerson)(!(uid=manager))(sn=*)(uid=*))";
$result = ldap_search($ldap->connection, $base_dn, $filter, array( 'uid', 'sn', 'cn', 'kolabDeleteflag' ));
if( $result ) {
diff --git a/www/admin/maintainer/index.php.in b/www/admin/maintainer/index.php.in
index 8ea7cb2..5334e92 100644
--- a/www/admin/maintainer/index.php.in
+++ b/www/admin/maintainer/index.php.in
@@ -54,7 +54,7 @@ if( !$errors ) {
$maintainers = $ldap->groupMembers( "cn=internal,$base_dn", 'maintainer' );
- $filter = "(&(cn=*)(objectclass=inetOrgPerson)(!(uid=manager))(sn=*))";
+ $filter = "(&(cn=*)(objectclass=inetOrgPerson)(!(uid=manager))(sn=*)(uid=*))";
$result = ldap_search($ldap->connection, $base_dn, $filter, array( 'uid', 'sn', 'cn', 'kolabDeleteflag' ));
if( $result ) {