summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index e8b5f8e85b..28e8a7d5e7 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -7519,11 +7519,13 @@ WERROR _spoolss_AddPrinterDriver(pipes_struct *p,
struct spoolss_AddPrinterDriverEx a;
switch (r->in.info_ctr->level) {
- case 6:
- case 8:
- return WERR_UNKNOWN_LEVEL;
- default:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
break;
+ default:
+ return WERR_UNKNOWN_LEVEL;
}
a.in.servername = r->in.servername;