git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d1be1c
)
s3:smb2_getinfo ensure proper error for not yet present quota support
author
Christian Ambach
<ambi@samba.org>
Fri, 28 Sep 2012 05:09:23 +0000
(22:09 -0700)
committer
Christian Ambach
<ambi@samba.org>
Fri, 12 Oct 2012 11:37:37 +0000
(13:37 +0200)
non-existing quota support needs to be signaled by NT_STATUS_NOT_SUPPORTED,
not NT_STATUS_INVALID_PARAMETER
Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Fri Oct 12 13:37:37 CEST 2012 on sn-devel-104
source3/smbd/smb2_getinfo.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_getinfo.c
b/source3/smbd/smb2_getinfo.c
index 0f4ed291648e5605bda5b591e4d6821ca312cd54..33cee9910c083fcd49cdcdb2da00be7be9d62167 100644
(file)
--- a/
source3/smbd/smb2_getinfo.c
+++ b/
source3/smbd/smb2_getinfo.c
@@
-482,6
+482,10
@@
static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx,
break;
}
+ case 0x04: /* SMB2_0_INFO_QUOTA */
+ tevent_req_nterror(req, NT_STATUS_NOT_SUPPORTED);
+ return tevent_req_post(req, ev);
+
default:
DEBUG(10,("smbd_smb2_getinfo_send: "
"unknown in_info_type of %u "