1 <?xml version="1.0" encoding="UTF-8"?>
3 <filterdef>
4 <definition>
5 <category>users</category>
6 <template>user-filter.tpl</template>
7 <initial>true</initial>
8 </definition>
10 <search>
11 <query>
12 <backend>LDAP</backend>
13 <filter>(&(objectClass=gosaAccount)$TEMPLATES$NAME(|$FUNCTIONAL$SAMBA$POSIX$MAIL))</filter>
14 <attribute>dn</attribute>
15 <attribute>objectClass</attribute>
16 <attribute>givenName</attribute>
17 <attribute>sn</attribute>
18 <attribute>uid</attribute>
19 <attribute>userPassword</attribute>
20 </query>
21 <scope>auto</scope>
22 </search>
24 <element>
25 <type>textfield</type>
26 <tag>NAME</tag>
27 <size>20</size>
28 <maxlength>60</maxlength>
29 <default></default>
30 <unset></unset>
31 <set>(|(cn=*$*)(sn=*$*)(givenName=*$*))</set>
32 <alphabet>true</alphabet>
33 <autocomplete>
34 <backend>LDAP</backend>
35 <filter>(&(objectClass=gosaAccount)(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*)))</filter>
36 <attribute>cn</attribute>
37 <frequency>0.5</frequency>
38 <characters>3</characters>
39 </autocomplete>
40 </element>
42 <element>
43 <type>checkbox</type>
44 <tag>TEMPLATES</tag>
45 <default>false</default>
46 <unset>(!(objectClass=gosaUserTemplate))</unset>
47 <set></set>
48 </element>
50 <element>
51 <type>checkbox</type>
52 <tag>FUNCTIONAL</tag>
53 <default>true</default>
54 <unset></unset>
55 <set>(!(|(objectClass=posixAccount)(objectClass=sambaSamAccount)(objectClass=gosaMailAccount)(objectClass=gofaxAccount)(objectClass=gofonAccount)))</set>
56 </element>
58 <element>
59 <type>checkbox</type>
60 <tag>POSIX</tag>
61 <default>true</default>
62 <unset></unset>
63 <set>(objectClass=posixAccount)</set>
64 </element>
66 <element>
67 <type>checkbox</type>
68 <tag>MAIL</tag>
69 <default>true</default>
70 <unset></unset>
71 <set>(objectClass=gosaMailAccount)</set>
72 </element>
74 <element>
75 <type>checkbox</type>
76 <tag>SAMBA</tag>
77 <default>true</default>
78 <unset></unset>
79 <set>(objectClass=sambaSamAccount)</set>
80 </element>
82 </filterdef>