7649c6d4444185cb62b421f3896577435e8bf70b
1 <?xml version="1.0" encoding="UTF-8"?>
3 <filter>
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=gosaUserTemplate))(|$GENERIC$POSIX$MAIL$SAMBA)(|(cn=$NAME)(sn=$NAME)(givenName=$NAME)(uid=$NAME)))</filter>
14 <attribute>dn</attribute>
15 <attribute>objectClass</attribute>
16 <attribute>givenName</attribute>
17 <attribute>sn</attribute>
18 <attribute>uid</attribute>
19 <attribute>modifyTimestamp</attribute>
20 <attribute>userPassword</attribute>
21 </query>
22 <query>
23 <backend>LDAP</backend>
24 <filter>(&$TEMPLATE(|(cn=$NAME)(sn=$NAME)(givenName=$NAME)(uid=$NAME)))</filter>
25 <attribute>dn</attribute>
26 <attribute>objectClass</attribute>
27 <attribute>givenName</attribute>
28 <attribute>sn</attribute>
29 <attribute>uid</attribute>
30 <attribute>modifyTimestamp</attribute>
31 <attribute>userPassword</attribute>
32 </query>
33 <base>true</base>
34 <scope>auto</scope>
35 </search>
37 <element>
38 <type>textfield</type>
39 <tag>NAME</tag>
40 <!--<regex>^...</regex>-->
41 <alphabet>true</alphabet>
42 <default>*</default>
43 <unset>this is a not valid and failing filter</unset>
44 <set>$</set>
45 <autocomplete>
46 <backend>LDAP</backend>
47 <filter>(&(objectClass=gosaAccount)(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*)(uid=*$NAME*)))</filter>
48 <attribute>cn</attribute>
49 <frequency>0.5</frequency>
50 <characters>3</characters>
51 </autocomplete>
52 </element>
54 <element>
55 <type>checkbox</type>
56 <tag>TEMPLATE</tag>
57 <default></default>
58 <unset>(&(!(objectClass=gosaUserTemplate)(!(objectClass=gosaAccount))))</unset>
59 <set>(objectClass=gosaUserTemplate)</set>
60 </element>
62 <element>
63 <type>checkbox</type>
64 <tag>GENERIC</tag>
65 <default>true</default>
66 <unset></unset>
67 <set>(&(objectClass=gosaAccount)(!(|(objectClass=posixAccount)(objectClass=gosaMailAccount)(objectClass=sambaSamAccount)(objectClass=gosaProxyAccount))))</set>
68 </element>
70 <element>
71 <type>checkbox</type>
72 <tag>POSIX</tag>
73 <default>true</default>
74 <unset></unset>
75 <set>(objectClass=posixAccount)</set>
76 </element>
78 <element>
79 <type>checkbox</type>
80 <tag>MAIL</tag>
81 <default>true</default>
82 <unset></unset>
83 <set>(objectClass=gosaMailAccount)</set>
84 </element>
86 <element>
87 <type>checkbox</type>
88 <tag>SAMBA</tag>
89 <default>true</default>
90 <unset></unset>
91 <set>(objectClass=sambaSamAccount)</set>
92 </element>
94 <element>
95 <type>combobox</type>
96 <tag>ROLLE</tag>
97 <unset></unset>
98 <set></set>
99 <default>*</default>
100 <value>
101 <key>*</key>
102 <label>All</label>
103 </value>
104 <autocomplete>
105 <backend>LDAP</backend>
106 <base>dc=gonicus,dc=de</base>
107 <scope>sub</scope>
108 <category>roles</category>
109 <objectbase>ou=roles</objectbase>
110 <filter>(objectClass=organizationalRole)</filter>
111 <attribute>cn</attribute>
112 <key>cn</key>
113 </autocomplete>
114 </element>
116 </filter>