git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c58a8
)
s3:pdb_ldap: restore Samba 3.0.x behavior and use the first "uid" value.
author
Stefan Metzmacher
<metze@samba.org>
Tue, 5 Jan 2010 12:30:42 +0000
(13:30 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 13 Jan 2010 13:01:06 +0000
(14:01 +0100)
See bug #6157 for more details.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
25806f43ddee7e2653e907eea2c6fcc075960fa1
)
source/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source/passdb/pdb_ldap.c
b/source/passdb/pdb_ldap.c
index 73f3e87cf06b4c01afb47f7052a9be9d6c4f40da..c4f0e914e8ce097b500b4768c5da690f0d6e913f 100644
(file)
--- a/
source/passdb/pdb_ldap.c
+++ b/
source/passdb/pdb_ldap.c
@@
-559,7
+559,7
@@
static bool init_sam_from_ldap(struct ldapsam_privates *ldap_state,
goto fn_exit;
}
- if (!(username = smbldap_talloc_
smalle
st_attribute(priv2ld(ldap_state),
+ if (!(username = smbldap_talloc_
fir
st_attribute(priv2ld(ldap_state),
entry,
"uid",
ctx))) {