On Fri, 6 Jun 2014, Isiminger, Michael J wrote:

> Is there anyway to make this sort alphabetically?
>
> <attribute id="member">
>         <display>Project Members</display>
> <value><![CDATA[=php.MultiList(/;(&(objectClass=inetOrgPerson));dn;%cn%)]]></value>
> </attribute>
>
>
> or is there a different approach I should use?

The solution I've used is a ValSort overlay:

dn: olcOverlay={0}valsort,olcDatabase={3}hdb,cn=config
objectClass: top
objectClass: olcConfig
objectClass: olcOverlayConfig
objectClass: olcValSortConfig
olcOverlay: {0}valsort
olcValSortAttr: memberUid "ou=groups,dc=foo,dc=bar" alpha-ascend

Since the LDAP database keeps the memberUid fields sorted alphabetically 
they will show up that way not only in phpLDAPadmin but also in 
'ldapsearch'.

Dave
-- 
Dave Ulrick
Email: d-ulr...@comcast.net

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to