diff --git a/source/nsswitch/winbindd_user.c b/source/nsswitch/winbindd_user.c index e386efedb30..aa9ece7d893 100644 --- a/source/nsswitch/winbindd_user.c +++ b/source/nsswitch/winbindd_user.c @@ -286,14 +286,14 @@ static void getpwsid_sid2gid_recv(void *private_data, BOOL success, gid_t gid) call worked or not. --jerry */ if ( s->gid == (gid_t)-1 ) { - if (!success) { - DEBUG(5, ("Could not query user's %s\\%s\n gid", - s->domain->name, s->username)); - goto failed; - } + if (!success) { + DEBUG(5, ("Could not query user's %s\\%s\n gid", + s->domain->name, s->username)); + goto failed; + } /* take what the sid2gid() call gave us */ - s->gid = gid; + s->gid = gid; } /* allow the nss backend to override the primary group ID.