summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-23 17:16:05 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-23 20:48:02 +1000
commit3ffd0f8423ce5d6bf3c9dd06c9402193c00c33b1 (patch)
treee85eb825b937c7a291369242de8225274dae35cd /source4
parentd910d848e367deedccaf410d2397c74dfec6bd24 (diff)
downloadsamba-3ffd0f8423ce5d6bf3c9dd06c9402193c00c33b1.tar.gz
samba-3ffd0f8423ce5d6bf3c9dd06c9402193c00c33b1.tar.bz2
samba-3ffd0f8423ce5d6bf3c9dd06c9402193c00c33b1.zip
s4-libnet: Fix continue_groupinfo_openuser to check correct state info
This meant that we would attempt to query the user that we could not open. This is a mirror of 4ba1647d5db59e5bb4911c399111e9286aac1a8e. Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/userinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/userinfo.c b/source4/libnet/userinfo.c
index 77a88ecec4..d485eecf5b 100644
--- a/source4/libnet/userinfo.c
+++ b/source4/libnet/userinfo.c
@@ -130,8 +130,8 @@ static void continue_userinfo_openuser(struct tevent_req *subreq)
TALLOC_FREE(subreq);
if (!composite_is_ok(c)) return;
- if (!NT_STATUS_IS_OK(s->queryuserinfo.out.result)) {
- composite_error(c, s->queryuserinfo.out.result);
+ if (!NT_STATUS_IS_OK(s->openuser.out.result)) {
+ composite_error(c, s->openuser.out.result);
return;
}