summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-23 13:48:49 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-23 06:12:09 +0200
commit832dd41551bf6bc47906a3a90d72ed758528c48a (patch)
treef1b759ab2d2a2927a052b4889cf3be80c390a176
parentbb3d983f5bc4b49619f26af44c3c540c3030155f (diff)
downloadsamba-832dd41551bf6bc47906a3a90d72ed758528c48a.tar.gz
samba-832dd41551bf6bc47906a3a90d72ed758528c48a.tar.bz2
samba-832dd41551bf6bc47906a3a90d72ed758528c48a.zip
s4-libnet: Fix continue_groupinfo_opengroup to check correct state info
This meant that we would attempt to query the group that we could not open. Andrew Bartlett
-rw-r--r--source4/libnet/groupinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/groupinfo.c b/source4/libnet/groupinfo.c
index 44c21eed3f..932ab0ca9a 100644
--- a/source4/libnet/groupinfo.c
+++ b/source4/libnet/groupinfo.c
@@ -131,8 +131,8 @@ static void continue_groupinfo_opengroup(struct tevent_req *subreq)
TALLOC_FREE(subreq);
if (!composite_is_ok(c)) return;
- if (!NT_STATUS_IS_OK(s->querygroupinfo.out.result)) {
- composite_error(c, s->querygroupinfo.out.result);
+ if (!NT_STATUS_IS_OK(s->opengroup.out.result)) {
+ composite_error(c, s->opengroup.out.result);
return;
}