mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3-spoolss: Use a more accurate DefaultSpoolDirectory
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
03a4741bc7
commit
d6a9377b6d
@ -2345,7 +2345,7 @@ static WERROR getprinterdata_printer_server(TALLOC_CTX *mem_ctx,
|
|||||||
if (!strcasecmp_m(value, "DefaultSpoolDirectory")) {
|
if (!strcasecmp_m(value, "DefaultSpoolDirectory")) {
|
||||||
*type = REG_SZ;
|
*type = REG_SZ;
|
||||||
|
|
||||||
data->string = talloc_strdup(mem_ctx, "C:\\PRINTERS");
|
data->string = talloc_strdup(mem_ctx, SPOOLSS_DEFAULT_SERVER_PATH);
|
||||||
W_ERROR_HAVE_NO_MEMORY(data->string);
|
W_ERROR_HAVE_NO_MEMORY(data->string);
|
||||||
|
|
||||||
return WERR_OK;
|
return WERR_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user