Code

Updated listing to support winstations
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 8 Jan 2010 09:16:14 +0000 (09:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 8 Jan 2010 09:16:14 +0000 (09:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15118 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/system-filter.xml
gosa-plugins/systems/admin/systems/system-list.xml

index ce97b913803e558a696af0337b9f0bce932f0591..38537ab922ff1f21fa6e4dbc3ee9a0324e690f8f 100644 (file)
@@ -9,8 +9,8 @@
 
   <search>
     <query>
-      <backend>LDAP</backend>
-      <filter>(&amp;(|$SERVER $WORKSTATION $TERMINAL $PRINTER $COMPONENT )$NAME)</filter>
+      <backend>SYSTEMS</backend>
+      <filter>(&amp;(|$SERVER $WORKSTATION $TERMINAL $PRINTER $COMPONENT $WINSTATION )$NAME)</filter>
       <attribute>dn</attribute>
       <attribute>objectClass</attribute>
       <attribute>cn</attribute>
@@ -64,7 +64,7 @@
     <tag>WINSTATION</tag>
     <default>true</default>
     <unset></unset>
-    <set>(objectClass=goWorkstation)</set>
+    <set>(&amp;(objectClass=sambaSamAccount)(cn=*\$))</set>
   </element>
 
   <element>
     <set>(cn=*$*)</set>
     <alphabet>false</alphabet>
     <autocomplete>
-      <backend>LDAP</backend>
+      <backend>SYSTEMS</backend>
       <filter>(&amp;(objectClass=organizationalRole)(cn=*$NAME*))</filter>
       <attribute>cn</attribute>
       <frequency>0.5</frequency>
index 5f3b1d6ea4e7a2532401a17e494650263c56708a..c01afa24c8a1ee53292e52c2d068c04331a213b7 100644 (file)
     <label>List of systems</label>
     <defaultSortColumn>1</defaultSortColumn>
 
+    <objectType>
+      <label>Winstation</label>
+      <objectClass>FAKE_OC_winstation</objectClass>
+      <category>winworkstation</category>
+      <class>wingeneric</class>
+      <image>plugins/systems/images/select_winstation.png</image>
+    </objectType>
+
     <objectType>
       <label>Server</label>
       <objectClass>goServer</objectClass>