1 <?xml version="1.0" encoding="UTF-8"?>
3 <filterdef>
4 <definition>
5 <category>ogroups</category>
6 <template>ogroup-filter.tpl</template>
7 <initial>true</initial>
8 </definition>
10 <search>
11 <query>
12 <backend>LDAP</backend>
13 <filter>(&(objectClass=gosaGroupOfNames)$NAME(|(gosaGroupObjects=[])$USER$GROUP$APPLICATION$DEPARTMENT$SERVER$WORKSTATION$WINDOWS$TERMINAL$PRINTER$PHONE))</filter>
14 <attribute>dn</attribute>
15 <attribute>objectClass</attribute>
16 <attribute>cn</attribute>
17 <attribute>gosaGroupObjects</attribute>
18 <attribute>description</attribute>
19 </query>
20 <scope>auto</scope>
21 </search>
23 <element>
24 <type>checkbox</type>
25 <tag>USER</tag>
26 <default>true</default>
27 <unset></unset>
28 <set>(gosaGroupObjects=*U*)</set>
29 </element>
31 <element>
32 <type>checkbox</type>
33 <tag>GROUP</tag>
34 <default>true</default>
35 <unset></unset>
36 <set>(gosaGroupObjects=*G*)</set>
37 </element>
39 <element>
40 <type>checkbox</type>
41 <tag>APPLICATION</tag>
42 <default>true</default>
43 <unset></unset>
44 <set>(gosaGroupObjects=*A*)</set>
45 </element>
47 <element>
48 <type>checkbox</type>
49 <tag>DEPARTMENT</tag>
50 <default>true</default>
51 <unset></unset>
52 <set>(gosaGroupObjects=*D*)</set>
53 </element>
55 <element>
56 <type>checkbox</type>
57 <tag>SERVER</tag>
58 <default>true</default>
59 <unset></unset>
60 <set>(gosaGroupObjects=*S*)</set>
61 </element>
63 <element>
64 <type>checkbox</type>
65 <tag>WORKSTATION</tag>
66 <default>true</default>
67 <unset></unset>
68 <set>(gosaGroupObjects=*W*)</set>
69 </element>
71 <element>
72 <type>checkbox</type>
73 <tag>WINDOWS</tag>
74 <default>true</default>
75 <unset></unset>
76 <set>(gosaGroupObjects=*O*)</set>
77 </element>
79 <element>
80 <type>checkbox</type>
81 <tag>TERMINAL</tag>
82 <default>true</default>
83 <unset></unset>
84 <set>(gosaGroupObjects=*T*)</set>
85 </element>
87 <element>
88 <type>checkbox</type>
89 <tag>PRINTER</tag>
90 <default>true</default>
91 <unset></unset>
92 <set>(gosaGroupObjects=*P*)</set>
93 </element>
95 <element>
96 <type>checkbox</type>
97 <tag>PHONE</tag>
98 <default>true</default>
99 <unset></unset>
100 <set>(gosaGroupObjects=*F*)</set>
101 </element>
103 <element>
104 <type>textfield</type>
105 <tag>NAME</tag>
106 <size>20</size>
107 <maxlength>60</maxlength>
108 <default></default>
109 <unset></unset>
110 <set>(|(cn=*$*))</set>
111 <alphabet>true</alphabet>
112 <autocomplete>
113 <backend>LDAP</backend>
114 <filter>(&(objectClass=gosaGroupOfNames)(|(cn=*$NAME*)))</filter>
115 <attribute>cn</attribute>
116 <frequency>0.5</frequency>
117 <characters>3</characters>
118 </autocomplete>
119 </element>
121 </filterdef>