1 <?xml version="1.0" encoding="UTF-8"?>
3 <filterdef>
4 <definition>
5 <category>users</category>
6 <template>../plugins/admin/groups/userGroupSelect/selectUserGroup-filter.tpl</template>
7 <initial>true</initial>
8 </definition>
10 <search>
11 <query>
12 <backend>LDAPBlacklist</backend>
13 <filter>(&(|$USER $GROUP ) $NAME)</filter>
14 <attribute>dn</attribute>
15 <attribute>objectClass</attribute>
16 <attribute>cn</attribute>
17 <attribute>sn</attribute>
18 <attribute>uid</attribute>
19 <attribute>givenName</attribute>
20 <attribute>description</attribute>
21 <attribute>userPassword</attribute>
22 </query>
23 <scope>auto</scope>
24 </search>
26 <element>
27 <type>textfield</type>
28 <tag>NAME</tag>
29 <size>20</size>
30 <maxlength>60</maxlength>
31 <default></default>
32 <unset></unset>
33 <set>(|(cn=*$*)(sn=*$*)(givenName=*$*)(uid=*$*))</set>
34 <alphabet>true</alphabet>
35 <autocomplete>
36 <backend>LDAPBlacklist</backend>
37 <filter>(&(objectClass=posixAccount)(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*)(uid=*$NAME*)))</filter>
38 <attribute>cn</attribute>
39 <frequency>0.5</frequency>
40 <characters>3</characters>
41 </autocomplete>
42 </element>
44 <element>
45 <type>checkbox</type>
46 <tag>USER</tag>
47 <default>true</default>
48 <set>(&(objectClass=posixAccount)(!(objectClass=gosaUserTemplate)))</set>
49 <unset></unset>
50 </element>
52 <element>
53 <type>checkbox</type>
54 <tag>GROUP</tag>
55 <default>true</default>
56 <unset></unset>
57 <set>(objectClass=posixGroup)</set>
58 </element>
60 </filterdef>