diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-23 13:48:49 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-23 06:12:09 +0200 |
commit | 832dd41551bf6bc47906a3a90d72ed758528c48a (patch) | |
tree | f1b759ab2d2a2927a052b4889cf3be80c390a176 /source4/libnet | |
parent | bb3d983f5bc4b49619f26af44c3c540c3030155f (diff) | |
download | samba-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
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/groupinfo.c | 4 |
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; } |