Code

Updated filter
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 Jan 2010 12:50:34 +0000 (12:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 Jan 2010 12:50:34 +0000 (12:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15106 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/fai-filter.xml

index ba590dd1ea45dc5bb2e00805db5bb244e525ba32..df0a16c2000c9b30449756c5ec7359ce693c73c2 100644 (file)
@@ -32,7 +32,7 @@
     <tag>NETBOOT</tag>
     <default>true</default>
     <unset></unset>
-    <set>(FAIstate=__NETBOOT__)</set>
+    <set>(&amp;(objectClass=FAIclass)(FAIstate=__NETBOOT__))</set>
   </element>
 
   <element>
@@ -40,7 +40,7 @@
     <tag>LOCALBOOT</tag>
     <default>true</default>
     <unset></unset>
-    <set>(FAIstate=__LOCALBOOT__)</set>
+    <set>(&amp;(objectClass=FAIclass)(FAIstate=__LOCALBOOT__))</set>
   </element>
 
   <element>
     <alphabet>false</alphabet>
     <autocomplete>
       <backend>FAI</backend>
-      <filter>(&amp;(|(objectClass=FAIclass)(FAIstate=__NETBOOT__)(FAIstate=__LOCALBOOT__))(cn=*$NAME*))</filter>
+      <filter>(|(&amp;(objectClass=FAIclass)(cn=*$NAME*))(&amp;(objectClass=FAIclass)(|(FAIstate=__NETBOOT__)(FAIstate=__LOCALBOOT__))))</filter>
       <attribute>cn</attribute>
       <frequency>0.5</frequency>
       <characters>3</characters>