Fix bug 6157
commit0baedc8882d72cfe526f5f22ef3a3f53c172f918
authorVolker Lendecke <vl@samba.org>
Thu, 12 Mar 2009 16:23:17 +0000 (12 17:23 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Jun 2009 14:17:58 +0000 (10 16:17 +0200)
treef6f5f43f9a2d67409760ab8a32f202243daab174
parentee2b661c5e153dbaf521586ff30a78ca137e9d5d
Fix bug 6157

This patch picks the alphabetically smallest one of the multi-value attribute
"uid". This fixes a regression against 3.0 and also becomes deterministic.
(cherry picked from commit 47333fc8785457239a499a298536664f152b681d)
source/include/smbldap.h
source/lib/smbldap.c
source/passdb/pdb_ldap.c