Code

Updated filter
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Dec 2009 10:37:52 +0000 (10:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Dec 2009 10:37:52 +0000 (10:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14931 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/acl/acl-filter.xml
gosa-core/plugins/admin/acl/acl-list.xml

index 9aa0f9d514aa589efc3f2bb8098153980cd5d3e8..7c7316ac4c5d96b4a231ca7a8d9df3aa2c709ddb 100644 (file)
@@ -15,6 +15,7 @@
       <attribute>dn</attribute>
       <attribute>objectClass</attribute>
       <attribute>cn</attribute>
+      <attribute>ou</attribute>
       <attribute>description</attribute>
     </query>
     <query>
@@ -23,6 +24,7 @@
       <attribute>dn</attribute>
       <attribute>objectClass</attribute>
       <attribute>cn</attribute>
+      <attribute>ou</attribute>
       <attribute>description</attribute>
     </query>
     <scope>auto</scope>
     <maxlength>60</maxlength>
     <default></default>
     <unset></unset>
-    <set>(|(cn=*$*)(description=*$*))</set>
+    <set>(|(ou=*$*)(description=*$*))</set>
     <alphabet>true</alphabet>
     <autocomplete>
       <backend>LDAP</backend>
-      <filter>(&amp;(objectClass=gosaACL)(|(cn=*$NAME*)(description=*$NAME*)))</filter>
-      <attribute>cn</attribute>
+      <filter>(&amp;(objectClass=gosaACL)(|(ou=*$NAME*)(description=*$NAME*)))</filter>
+      <attribute>ou</attribute>
       <attribute>description</attribute>
       <frequency>0.5</frequency>
       <characters>3</characters>
index 1f3de253649737e0a8e8b5437c1bb37ef4950e86..ca8d4c45f7c51809ecdaed85a5d74c701dbdb0e0 100644 (file)
@@ -47,9 +47,9 @@
 
     <column>
       <label>Name</label>
-      <sortAttribute>cn</sortAttribute>
+      <sortAttribute>ou</sortAttribute>
       <sortType>string</sortType>
-      <value>%{filter:link(row,dn,"%s",cn)}</value>
+      <value>%{filter:link(row,dn,"%s",ou)}</value>
       <export>true</export>
     </column>