summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-07-25 16:43:58 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-25 23:32:18 +0200
commit859e5be07057c928bb9b7a32643304c8e03588e1 (patch)
treea054ccb16bf9a1a03c731099d527d1b322bec2f2
parent3a857371916ed9867174233b6623c2260d438202 (diff)
downloadsamba-859e5be07057c928bb9b7a32643304c8e03588e1.tar.gz
samba-859e5be07057c928bb9b7a32643304c8e03588e1.tar.bz2
samba-859e5be07057c928bb9b7a32643304c8e03588e1.zip
s3:smb2_ioctl: fix GUID_compare() check in FSCTL_VALIDATE_NEGOTIATE_INFO
metze
-rw-r--r--source3/smbd/smb2_ioctl.c2
1 files changed, 1 insertions, 1 deletions
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);