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>
This commit is contained in:
parent
c992127f8a
commit
25806f43dd
@ -559,7 +559,7 @@ static bool init_sam_from_ldap(struct ldapsam_privates *ldap_state,
|
||||
goto fn_exit;
|
||||
}
|
||||
|
||||
if (!(username = smbldap_talloc_smallest_attribute(priv2ld(ldap_state),
|
||||
if (!(username = smbldap_talloc_first_attribute(priv2ld(ldap_state),
|
||||
entry,
|
||||
"uid",
|
||||
ctx))) {
|
||||
|
Loading…
Reference in New Issue
Block a user