On 22 November 2012 10:42, Jason White <jason(a)jasonjgw.net> wrote:
Is it safe to assume that uids/gids appear in
ascending order in /etc/passwd
and /etc/group? In general, probably not, especially as an administrator might
edit those files, so that's out.
This is LDAP, the order the server gives the results is undefined.
There is RFC2891 for server side sorting, looks like OpenLDAP doesn't
support it yet. At least that is
what Google said last week. Today it seems to suggest it is supported.
http://www.openldap.org/software/man.cgi?query=slapo-sssvlv&apropos=0&a…
--
Brian May <brian(a)microcomaustralia.com.au>