mirror of
https://github.com/samba-team/samba.git
synced 2025-02-22 05:57:43 +03:00
smbdotconf: mark "os2 driver map" with substitution="1"
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
f47b710b2c
commit
f3cfef8785
@ -1,6 +1,7 @@
|
||||
<samba:parameter name="os2 driver map"
|
||||
context="G"
|
||||
type="string"
|
||||
substitution="1"
|
||||
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
||||
<description>
|
||||
<para>The parameter is used to define the absolute
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user