From: Christof Schmitt Date: Thu, 4 Jun 2015 19:11:27 +0000 (-0700) Subject: idmap_rfc2307: Fix wbinfo --gid-to-sid query X-Git-Tag: samba-4.1.19~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2070fa2ed2d010f4974ee053928d48f1c0ff0c74;p=thirdparty%2Fsamba.git idmap_rfc2307: Fix wbinfo --gid-to-sid query Fix syntax error in LDAP query for gidNumber. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11313 Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison (cherry picked from commit 835c278e43b9dec98834de0fb12445720e9df2e5) --- diff --git a/source3/winbindd/idmap_rfc2307.c b/source3/winbindd/idmap_rfc2307.c index db8bab63358..f2fcd984868 100644 --- a/source3/winbindd/idmap_rfc2307.c +++ b/source3/winbindd/idmap_rfc2307.c @@ -374,7 +374,7 @@ again: break; case ID_TYPE_GID: fltr_grp = talloc_asprintf_append_buffer(fltr_grp, - "(gidNumber=%d))", ids[idx]->xid.id); + "(gidNumber=%d)", ids[idx]->xid.id); cnt_grp++; break; default: