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:
915b755
)
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
Stefan Metzmacher
<metze@samba.org>
Thu, 14 Jan 2010 01:27:34 +0000
(
02:27
+0100)
See bug #6157 for more details.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
25806f43ddee7e2653e907eea2c6fcc075960fa1
)
source3/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index 30b27d4596d75f9123f924e1b8095b1b625e7391..cc969bcc210794b6bb11bb0a41efde7e055cbe8e 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-560,7
+560,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))) {