summaryrefslogtreecommitdiffstats
path: root/source3/rpc_parse/parse_spoolss.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-24 19:15:17 +0000
committerGerald Carter <jerry@samba.org>2004-03-24 19:15:17 +0000
commitcc98a35689b114aed9bab705e54881e5439805e3 (patch)
treeb85fd48c3080c63a1558ee826b0ba7b624910783 /source3/rpc_parse/parse_spoolss.c
parent9a8e30d04b1cfc53e8c8949a56d4f1cf5aa26501 (diff)
downloadsamba-cc98a35689b114aed9bab705e54881e5439805e3.tar.gz
samba-cc98a35689b114aed9bab705e54881e5439805e3.tar.xz
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/rpc_parse/parse_spoolss.c')
-rw-r--r--source3/rpc_parse/parse_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index 75813167676..ae087c7f774 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -2561,7 +2561,7 @@ BOOL smb_io_printer_info_2(const char *desc, NEW_BUFFER *buffer, PRINTER_INFO_2
return False;
/* parse the sec_desc */
- if (has_secdesc) {
+ if (info->secdesc) {
if (!prs_set_offset(ps, sd_offset))
return False;
if (!smb_io_relsecdesc("secdesc", buffer, depth, &info->secdesc))