summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-06 01:34:20 +0000
committerJeremy Allison <jra@samba.org>2000-06-06 01:34:20 +0000
commit84aa9ad0493ede5acf6b1bbf901b3cbb980c5dbc (patch)
tree83cb2dc53b2c5051d1f82a29efd48b834afe9019 /source3/rpc_server/srv_spoolss_nt.c
parent6d8c131f50e708d4c009355a7c5fe026cf8d350a (diff)
downloadsamba-84aa9ad0493ede5acf6b1bbf901b3cbb980c5dbc.tar.gz
samba-84aa9ad0493ede5acf6b1bbf901b3cbb980c5dbc.tar.bz2
samba-84aa9ad0493ede5acf6b1bbf901b3cbb980c5dbc.zip
Create elements in default, not in read.
Jeremy. (This used to be commit 0d681ea252e0cf7fdf57d316d2bfe7caa9b4fbf5)
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 8dca09dc95..5793d5a137 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -1917,9 +1917,7 @@ static BOOL construct_printer_info_2(fstring servername, PRINTER_INFO_2 *printer
init_unistr(&printer->datatype, ntprinter->info_2->datatype); /* datatype */
init_unistr(&printer->parameters, ntprinter->info_2->parameters); /* parameters (of print processor) */
- printer->attributes = PRINTER_ATTRIBUTE_SHARED \
- | PRINTER_ATTRIBUTE_LOCAL \
- | PRINTER_ATTRIBUTE_RAW_ONLY ; /* attributes */
+ printer->attributes = ntprinter->info_2->attributes;
printer->priority = ntprinter->info_2->priority; /* priority */
printer->defaultpriority = ntprinter->info_2->default_priority; /* default priority */