diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-23 17:16:05 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-23 20:48:02 +1000 |
commit | 3ffd0f8423ce5d6bf3c9dd06c9402193c00c33b1 (patch) | |
tree | e85eb825b937c7a291369242de8225274dae35cd | |
parent | d910d848e367deedccaf410d2397c74dfec6bd24 (diff) | |
download | samba-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
-rw-r--r-- | source4/libnet/userinfo.c | 4 |
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; } |