diff options
author | Ralph Boehme <slow@samba.org> | 2019-11-05 11:03:23 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2019-11-27 10:25:35 +0000 |
commit | f3cfef87854ccc27e037501c578fccb712791385 (patch) | |
tree | 9829cfdb0a1c329331c20beab081259ed2853e64 /source3/printing | |
parent | f47b710b2c97d60d5f8b088a8d8be26c2a1f7d79 (diff) | |
download | samba-f3cfef87854ccc27e037501c578fccb712791385.tar.gz |
smbdotconf: mark "os2 driver map" with substitution="1"
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing_os2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/printing/nt_printing_os2.c b/source3/printing/nt_printing_os2.c index 5ed577100e1..82b82482031 100644 --- a/source3/printing/nt_printing_os2.c +++ b/source3/printing/nt_printing_os2.c @@ -73,7 +73,9 @@ static bool set_driver_mapping(const char *from, const char *to) */ WERROR spoolss_map_to_os2_driver(TALLOC_CTX *mem_ctx, const char **pdrivername) { - const char *mapfile = lp_os2_driver_map(talloc_tos()); + const struct loadparm_substitution *lp_sub = + loadparm_s3_global_substitution(); + const char *mapfile = lp_os2_driver_map(talloc_tos(), lp_sub); char **lines = NULL; const char *drivername; int numlines = 0; |