diff --git a/gosa-core/plugins/admin/groups/group-filter.xml b/gosa-core/plugins/admin/groups/group-filter.xml
index 97b4c634adedf39bc4869247c7ec5f5dcc9ac4cf..884751053b37ac81e57d83bdd246ea1609617367 100644 (file)
<filterdef>
<definition>
<category>groups</category>
<filterdef>
<definition>
<category>groups</category>
- <template>group-filter.tpl</template>
<initial>true</initial>
<initial>true</initial>
+ <scope>auto</scope>
+ <default>default</default>
+ <attribute>dn</attribute>
+ <attribute>objectClass</attribute>
+ <attribute>cn</attribute>
+ <attribute>description</attribute>
</definition>
<search>
</definition>
<search>
+ <tag>default</tag>
+ <label>Default filter</label>
<query>
<query>
- <backend>LDAP</backend>
- <filter>(&(objectClass=posixGroup))</filter>
- <attribute>dn</attribute>
- <attribute>objectClass</attribute>
- <attribute>cn</attribute>
- <attribute>description</attribute>
+ <backend>GroupLDAP</backend>
+ <filter>(&(objectClass=posixGroup)(cn=$))</filter>
</query>
</query>
- <scope>auto</scope>
+ <autocomplete>
+ <attribute>cn</attribute>
+ <frequency>0.5</frequency>
+ <characters>3</characters>
+ </autocomplete>
</search>
</search>
- <element>
- <type>textfield</type>
- <tag>NAME</tag>
- <size>20</size>
- <maxlength>60</maxlength>
- <default></default>
- <unset></unset>
- <set>(|(cn=*$*)(sn=*$*)(givenName=*$*))</set>
- <alphabet>true</alphabet>
+ <search>
+ <tag>default2</tag>
+ <label>Default filter2</label>
+ <query>
+ <backend>GroupLDAP</backend>
+ <filter>(&(objectClass=posixGroup)(cn=$))</filter>
+ </query>
<autocomplete>
<autocomplete>
- <backend>LDAP</backend>
- <filter>(&(objectClass=posixGroup)(|(cn=*$NAME*)))</filter>
<attribute>cn</attribute>
<frequency>0.5</frequency>
<characters>3</characters>
</autocomplete>
<attribute>cn</attribute>
<frequency>0.5</frequency>
<characters>3</characters>
</autocomplete>
- </element>
+ </search>
</filterdef>
</filterdef>