summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-06-07 02:01:13 +0200
committerGünther Deschner <gd@samba.org>2009-06-07 02:24:21 +0200
commita783b1e4dab4617e764ced86298c51ea57f6cb98 (patch)
tree2f792fc41f47c402a7d9f8f6b5a65c70dc6b9fe9
parentcc7b62269e4a90859dd93b8d6896390857ba17d7 (diff)
downloadsamba-a783b1e4dab4617e764ced86298c51ea57f6cb98.tar.gz
samba-a783b1e4dab4617e764ced86298c51ea57f6cb98.tar.bz2
samba-a783b1e4dab4617e764ced86298c51ea57f6cb98.zip
s3-samr: SetGroupInfo level 1 should not return NT_STATUS_INVALID_INFO_CLASS.
Found by RPC-SAMR torture test. Guenther
-rw-r--r--source3/rpc_server/srv_samr_nt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index e2f65ae322..3e5ae2a7d5 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -5947,9 +5947,6 @@ NTSTATUS _samr_SetGroupInfo(pipes_struct *p,
return NT_STATUS_NO_SUCH_GROUP;
switch (r->in.level) {
- case 1:
- fstrcpy(map.comment, r->in.info->all.description.string);
- break;
case 2:
/* group rename is not supported yet */
return NT_STATUS_NOT_SUPPORTED;