diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-04 15:09:08 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-02-07 16:19:15 -0800 |
commit | 4e4dbc9aeaf9f76dceeff45ad585627744ef3159 (patch) | |
tree | 64aaa13cfe6916c3a95d58f5bf1eebf28c199393 /source3 | |
parent | 798678ecfc8929174c30a97588027b678bbc85f1 (diff) | |
download | samba-4e4dbc9aeaf9f76dceeff45ad585627744ef3159.tar.gz samba-4e4dbc9aeaf9f76dceeff45ad585627744ef3159.tar.xz samba-4e4dbc9aeaf9f76dceeff45ad585627744ef3159.zip |
param: rename lp function and variable from "ms_add_printer_wizard" to "show_add_printer_wizard"
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/param/loadparm.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/spoolss/srv_spoolss_nt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 4192d10774d..66da386e06a 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -935,7 +935,7 @@ static void init_globals(bool reinit_globals) */ - Globals.ms_add_printer_wizard = true; + Globals.show_add_printer_wizard = true; Globals.os_level = 20; Globals.local_master = true; Globals._domain_master = Auto; /* depending on _domain_logons */ diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index 1bc5eb0daf0..dc90b7708ed 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -1804,7 +1804,7 @@ WERROR _spoolss_OpenPrinterEx(struct pipes_struct *p, if ( r->in.access_mask & SERVER_ACCESS_ADMINISTER ) { - if (!lp_ms_add_printer_wizard()) { + if (!lp_show_add_printer_wizard()) { close_printer_handle(p, r->out.handle); ZERO_STRUCTP(r->out.handle); return WERR_ACCESS_DENIED; |