summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet')
-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;
}