1
0
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:
Günther Deschner 2016-11-18 18:21:39 +01:00 committed by Stefan Metzmacher
parent 03a4741bc7
commit d6a9377b6d

View File

@ -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;