Code

Updated ogroup entry selection
[gosa.git] / gosa-core / plugins / admin / ogroups / objectSelect / selectObject-filter.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <filterdef>
4   <definition>
5     <category>users</category>
6     <template>../plugins/admin/ogroups/objectSelect/selectObject-filter.tpl</template>
7     <initial>true</initial>
8   </definition>
10   <search>
11     <query>
12       <backend>LDAPBlacklist</backend>
13       <filter>(&amp;(| $USER $GROUP $SERVER $WORKSTATION $TERMINAL $PRINTER $PHONE) $NAME)</filter>
14       <attribute>dn</attribute>
15       <attribute>objectClass</attribute>
16       <attribute>cn</attribute>
17       <attribute>sn</attribute>
18       <attribute>ou</attribute>
19       <attribute>uid</attribute>
20       <attribute>givenName</attribute>
21       <attribute>description</attribute>
22     </query>
23     <query>
24       <backend>LDAPDepartmentBlacklist</backend>
25       <filter>(&amp;(| $DEPARTMENT)  $NAME)</filter>
26       <attribute>dn</attribute>
27       <attribute>objectClass</attribute>
28       <attribute>cn</attribute>
29       <attribute>sn</attribute>
30       <attribute>ou</attribute>
31       <attribute>uid</attribute>
32       <attribute>givenName</attribute>
33       <attribute>description</attribute>
34     </query>
35     <scope>auto</scope>
36   </search>
38   <element>
39     <type>textfield</type>
40     <tag>NAME</tag>
41     <size>20</size>
42     <maxlength>60</maxlength>
43     <default></default>
44     <unset></unset>
45     <set>(|(cn=*$*)(sn=*$*)(givenName=*$*)(ou=*$*)(dc=*$*)(c=*$*)(l=*$*))</set>
46     <alphabet>true</alphabet>
47     <autocomplete>
48       <backend>LDAPBlacklist</backend>
49       <filter>(&amp;(|(objectClass=gosaDepartment)(objectClass=gosaAccount)(objectClass=posixGroup)(objectClass=goServer)(objectClass=gotoWorkstation)(objectClass=gotoTerminal)(objectClass=gotoPrinter)(objectClass=goFonHardware))(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*)(ou=*$NAME*)(dc=*$NAME*)(c=*$NAME*)(l=*$NAME*)))</filter>
50       <attribute>cn</attribute>
51       <attribute>l</attribute>
52       <attribute>o</attribute>
53       <attribute>dc</attribute>
54       <attribute>c</attribute>
55       <frequency>0.5</frequency>
56       <characters>3</characters>
57     </autocomplete>
58   </element>
60   <element>
61     <type>checkbox</type>
62     <tag>USER</tag>
63     <default>true</default>
64     <set>(&amp;(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate)))</set>
65     <unset></unset>
66   </element>
68   <element>
69     <type>checkbox</type>
70     <tag>GROUP</tag>
71     <default>true</default>
72     <unset></unset>
73     <set>(objectClass=posixGroup)</set>
74   </element>
76   <element>
77     <type>checkbox</type>
78     <tag>DEPARTMENT</tag>
79     <default>true</default>
80     <unset></unset>
81     <set>(objectClass=gosaDepartment)</set>
82   </element>
84   <element>
85     <type>checkbox</type>
86     <tag>SERVER</tag>
87     <default>true</default>
88     <unset></unset>
89     <set>(objectClass=goServer)</set>
90   </element>
92   <element>
93     <type>checkbox</type>
94     <tag>WORKSTATION</tag>
95     <default>true</default>
96     <unset></unset>
97     <set>(objectClass=gotoWorkstation)</set>
98   </element>
100   <element>
101     <type>checkbox</type>
102     <tag>TERMINAL</tag>
103     <default>true</default>
104     <unset></unset>
105     <set>(objectClass=gotoTerminal)</set>
106   </element>
108   <element>
109     <type>checkbox</type>
110     <tag>PRINTER</tag>
111     <default>true</default>
112     <unset></unset>
113     <set>(objectClass=gotoPrinter)</set>
114   </element>
116   <element>
117     <type>checkbox</type>
118     <tag>PHONE</tag>
119     <default>true</default>
120     <unset></unset>
121     <set>(objectClass=goFonHardware)</set>
122   </element>
124 </filterdef>