git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0f1217
)
idmap_rfc2307: "ldap_next_entry" needs the previous entry, not the start
author
Volker Lendecke
<vl@samba.org>
Fri, 31 Mar 2017 15:23:39 +0000
(15:23 +0000)
committer
Christof Schmitt
<cs@samba.org>
Mon, 8 May 2017 19:08:23 +0000
(21:08 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source3/winbindd/idmap_rfc2307.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_rfc2307.c
b/source3/winbindd/idmap_rfc2307.c
index 27ec86d5a15cd3cbef21578d83bab339ce3b0465..8ffa55bf160ab0caedb9918137e08134a0a35fbb 100644
(file)
--- a/
source3/winbindd/idmap_rfc2307.c
+++ b/
source3/winbindd/idmap_rfc2307.c
@@
-235,7
+235,7
@@
static void idmap_rfc2307_map_sid_results(struct idmap_rfc2307_context *ctx,
if (i == 0) {
entry = ldap_first_entry(ctx->ldap, result);
} else {
- entry = ldap_next_entry(ctx->ldap,
result
);
+ entry = ldap_next_entry(ctx->ldap,
entry
);
}
if (!entry) {
DEBUG(2, ("Unable to fetch entry.\n"));