diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index 9d99e74f395..663c62381d5 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -4177,9 +4177,12 @@ static WERROR construct_printer_info5(TALLOC_CTX *mem_ctx, r->attributes = info2->attributes; - /* these two are not used by NT+ according to MSDN */ - r->device_not_selected_timeout = 0x0; /* have seen 0x3a98 */ - r->transmission_retry_timeout = 0x0; /* have seen 0xafc8 */ + /* + * These two are not used by NT+ according to MSDN. However the values + * we saw on Windows Server 2012 and 2016 are always set to the 0xafc8. + */ + r->device_not_selected_timeout = 0xafc8; /* 45 sec */ + r->transmission_retry_timeout = 0xafc8; /* 45 sec */ return WERR_OK; }