]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
idmap_rfc2307: Fix wbinfo --gid-to-sid query
authorChristof Schmitt <cs@samba.org>
Thu, 4 Jun 2015 19:11:27 +0000 (12:11 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Jun 2015 21:11:15 +0000 (23:11 +0200)
Fix syntax error in LDAP query for gidNumber.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11313

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 835c278e43b9dec98834de0fb12445720e9df2e5)

source3/winbindd/idmap_rfc2307.c

index db8bab633581032c79ecf86bd311ab846b2082a3..f2fcd984868deb92e5d759557eceee9a03d402e8 100644 (file)
@@ -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: