mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:spoolss: Set timeout values to the one which Windows uses by default
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
parent
3a719dc68c
commit
f9c0a8e3e0
@ -4177,9 +4177,12 @@ static WERROR construct_printer_info5(TALLOC_CTX *mem_ctx,
|
|||||||
|
|
||||||
r->attributes = info2->attributes;
|
r->attributes = info2->attributes;
|
||||||
|
|
||||||
/* these two are not used by NT+ according to MSDN */
|
/*
|
||||||
r->device_not_selected_timeout = 0x0; /* have seen 0x3a98 */
|
* These two are not used by NT+ according to MSDN. However the values
|
||||||
r->transmission_retry_timeout = 0x0; /* have seen 0xafc8 */
|
* 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;
|
return WERR_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user