Code

Added a couple of missing filters
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 15:27:33 +0000 (15:27 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 15:27:33 +0000 (15:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16473 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/user-filter.xml

index 921305bef11f2619b208a1f00fe593630eed8c1c..a0af47afd6fe38754b85aa223ab774273c1dc574 100644 (file)
     </autocomplete>
   </search>
 
+  <search>
+    <tag>template</tag>
+    <label>Show templates</label>
+    <query>
+      <backend>LDAP</backend>
+      <filter>(&amp;(objectClass=gosaUserTemplate)((cn=$)(sn=$)(uid=$)))</filter>
+      <attribute>dn</attribute>
+      <attribute>objectClass</attribute>
+      <attribute>givenName</attribute>
+      <attribute>sn</attribute>
+      <attribute>uid</attribute>
+      <attribute>userPassword</attribute>
+    </query>
+    <autocomplete>
+      <attribute>mail</attribute>
+      <frequency>0.5</frequency>
+      <characters>3</characters>
+    </autocomplete>
+  </search>
+
   <search>
     <tag>posix</tag>
     <label>Show POSIX users</label>
     </autocomplete>
   </search>
 
+  <search>
+    <tag>samba</tag>
+    <label>Show SAMBA users</label>
+    <query>
+      <backend>LDAP</backend>
+      <filter>(&amp;(objectClass=gosaAccount)(objectClass=sambaSamAccount)(|(cn=$)(sn=$)(uid=$)))</filter>
+      <attribute>dn</attribute>
+      <attribute>objectClass</attribute>
+      <attribute>givenName</attribute>
+      <attribute>sn</attribute>
+      <attribute>uid</attribute>
+      <attribute>userPassword</attribute>
+    </query>
+    <autocomplete>
+      <attribute>cn</attribute>
+      <frequency>0.5</frequency>
+      <characters>3</characters>
+    </autocomplete>
+  </search>
+
   <search>
     <tag>mail</tag>
     <label>Show mail users</label>