diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 0d3b2de2c7..889c370c39 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -5398,6 +5398,10 @@ static WERROR construct_printer_driver_info_level(TALLOC_CTX *mem_ctx, struct spoolss_DriverInfo8 *driver; WERROR result; + if (level == 101) { + return WERR_UNKNOWN_LEVEL; + } + result = winreg_get_printer(mem_ctx, server_info, msg_ctx, |