Greetings, I'm looking for some sample code that illustrates sorting an array of entries by one of the attributes.
OpenLDAP doesn't seem to want to deal with
LDAP_CONTROL_SORTREQUEST or LDAP_CONTROL_SORTRESULT
my @entries = $result->entries;
# hmm
foreach $entr ( @entries ) {
print $entr->get_value("cn")."\n";
}
