Fix bug 6157
commitbd323a6c9b536e21b2d31270d934a36047447ab1
authorVolker Lendecke <vl@samba.org>
Thu, 12 Mar 2009 16:23:17 +0000 (12 17:23 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 May 2009 07:39:15 +0000 (26 09:39 +0200)
tree07fb112e390113d3ca3e28718217c07d7e699c65
parent8ac05bf1caf1b210657f86bb626b49bb067e0c0f
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 b1d864d1006aab53a1692175adf2c64897eeffd9)
source3/include/smbldap.h
source3/lib/smbldap.c
source3/passdb/pdb_ldap.c