Code

Enabled uids
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Oct 2009 10:04:58 +0000 (10:04 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Oct 2009 10:04:58 +0000 (10:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14648 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/user-filter.xml
gosa-core/plugins/admin/users/user-list.xml

index 71042d2fc39ee56d54e5c5bf893516ecf46db219..4bb82390efdf90db1f4d167a94e622cca2c0e616 100644 (file)
   <search>
     <query>
       <backend>LDAP</backend>
-      <filter>(&amp;(objectClass=person)$NAME)</filter>
+      <filter>(&amp;(objectClass=gosaAccount)$NAME)</filter>
       <attribute>dn</attribute>
       <attribute>objectClass</attribute>
       <attribute>givenName</attribute>
       <attribute>sn</attribute>
-      <attribute>customerNumber</attribute>
-      <attribute>customerState</attribute>
-      <attribute>dateOfBirth</attribute>
+      <attribute>uid</attribute>
       <attribute>userPassword</attribute>
     </query>
     <scope>one</scope>
@@ -33,7 +31,7 @@
     <set>(|(cn=*$*)(sn=*$*)(givenName=*$*))</set>
     <autocomplete>
       <backend>LDAP</backend>
-      <filter>(&amp;(objectClass=person)(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*)))</filter>
+      <filter>(&amp;(objectClass=gosaAccount)(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*)))</filter>
       <attribute>cn</attribute>
       <frequency>0.5</frequency>
       <characters>3</characters>
index ce6440e64fe9a2caa5eb525aa54ddb57cc4425ca..d6edc95584f2facf12e53eefe740dc247f677d17 100644 (file)
@@ -30,7 +30,7 @@
   </definition>
 
   <table>
-    <layout>|20px||260px|200px;r|</layout>
+    <layout>|20px||200px|100px|200px;r|</layout>
 
     <department>
       <value>%{filter:objectType(dn,objectClass)}</value>
       <export>true</export>
     </column>
 
+    <column>
+      <label>ID</label>
+      <sortAttribute>uid</sortAttribute>
+      <sortType>string</sortType>
+      <value>%{filter:link(row,dn,"%s",uid)}</value>
+      <export>true</export>
+    </column>
+
     <column>
       <label>Actions</label>
       <value>%{filter:actions(dn,row,objectClass)}</value>