diff options
author | Gerald Carter <jerry@samba.org> | 2004-03-24 19:15:17 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-03-24 19:15:17 +0000 |
commit | cc98a35689b114aed9bab705e54881e5439805e3 (patch) | |
tree | b85fd48c3080c63a1558ee826b0ba7b624910783 /source3/printing | |
parent | 9a8e30d04b1cfc53e8c8949a56d4f1cf5aa26501 (diff) | |
download | samba-cc98a35689b114aed9bab705e54881e5439805e3.tar.gz samba-cc98a35689b114aed9bab705e54881e5439805e3.tar.bz2 samba-cc98a35689b114aed9bab705e54881e5439805e3.zip |
fixes for prnadmin.dll API
* force the PRINTER_ATTRIBUTE_LOCAL (nor PRINTER_ATTRIBUTE_NETWORK)
* ensure that we return the sec_desc in smb_io_printer_info_2
(allows prnui.dll to restore security descriptors from a data file).
(This used to be commit c335cb80d2e4c687279b7a6038a97518770ccae9)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index a0649d0a0b..f7e2945426 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -3292,7 +3292,7 @@ static WERROR get_a_printer_2(NT_PRINTER_INFO_LEVEL_2 **info_ptr, const char *sh info.parameters); /* Samba has to have shared raw drivers. */ - info.attributes |= PRINTER_ATTRIBUTE_SAMBA; + info.attributes = PRINTER_ATTRIBUTE_SAMBA; /* Restore the stripped strings. */ slprintf(info.servername, sizeof(info.servername)-1, "\\\\%s", get_called_name()); |