1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3:pdb_ldap: restore Samba 3.0.x behavior and use the first "uid" value.

See bug #6157 for more details.

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 25806f43dd)
This commit is contained in:
Stefan Metzmacher 2010-01-05 13:30:42 +01:00
parent 915b7552b7
commit ac224452b9

View File

@ -560,7 +560,7 @@ static bool init_sam_from_ldap(struct ldapsam_privates *ldap_state,
goto fn_exit; goto fn_exit;
} }
if (!(username = smbldap_talloc_smallest_attribute(priv2ld(ldap_state), if (!(username = smbldap_talloc_first_attribute(priv2ld(ldap_state),
entry, entry,
"uid", "uid",
ctx))) { ctx))) {