From 859e5be07057c928bb9b7a32643304c8e03588e1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 25 Jul 2012 16:43:58 +0200 Subject: s3:smb2_ioctl: fix GUID_compare() check in FSCTL_VALIDATE_NEGOTIATE_INFO metze --- source3/smbd/smb2_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/smb2_ioctl.c') diff --git a/source3/smbd/smb2_ioctl.c b/source3/smbd/smb2_ioctl.c index 3e2b82faaf..3502d35fe3 100644 --- a/source3/smbd/smb2_ioctl.c +++ b/source3/smbd/smb2_ioctl.c @@ -540,7 +540,7 @@ static struct tevent_req *smbd_smb2_ioctl_send(TALLOC_CTX *mem_ctx, } } - if (!GUID_compare(&in_guid, &conn->smb2.client.guid)) { + if (GUID_compare(&in_guid, &conn->smb2.client.guid) != 0) { state->disconnect = true; tevent_req_nterror(req, NT_STATUS_ACCESS_DENIED); return tevent_req_post(req, ev); -- cgit