summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorDavid O'Neill <dmo@samba.org>2001-01-31 18:34:49 +0000
committerDavid O'Neill <dmo@samba.org>2001-01-31 18:34:49 +0000
commit4a9fb6b6b7d8696487f64316010559618f8848d6 (patch)
treed3cc487ced0299a408b797341a676fa96127a55e /source3/include
parent92e347379a989f2700aed3fc1c4ce1a269dd020b (diff)
downloadsamba-4a9fb6b6b7d8696487f64316010559618f8848d6.tar.gz
samba-4a9fb6b6b7d8696487f64316010559618f8848d6.tar.bz2
samba-4a9fb6b6b7d8696487f64316010559618f8848d6.zip
Changes from SAMBA_2_2:
source/rpc_server/srv_spoolss_nt.c source/rpc_server/srv_spoolss.c source/include/proto.h - correct checking of access_required in openprinterex as talked with John R. and Jerry. You can only do server stuff (adding printers, changing forms, ..) if you're root or if user is in printer admin list. Printers options are grayed if you don't have the PRINTER_ADMINISTER flag in the secdesc. (This used to be commit f449d871bf0c385d8c57de2d795e1d7ef7f256f7)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index b452d1c9f1..8b90552956 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -3355,7 +3355,7 @@ BOOL api_spoolss_rpc(pipes_struct *p);
#if OLD_NTDOMAIN
void init_printer_hnd(void);
void srv_spoolss_receive_message(int msg_type, pid_t src, void *buf, size_t len);
-uint32 _spoolss_open_printer_ex( const UNISTR2 *printername,
+uint32 _spoolss_open_printer_ex( const UNISTR2 *printername, pipes_struct *p,
const PRINTER_DEFAULT *printer_default,
uint32 user_switch, SPOOL_USER_CTR user_ctr,
POLICY_HND *handle);