summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-12-14 20:38:04 +0000
committerGerald Carter <jerry@samba.org>2001-12-14 20:38:04 +0000
commitabcd1cad3af7ee111f711544407222951e33238e (patch)
treec62ea64e873957c924ed4fecdc2f087288bc76f7 /source3/rpc_server
parentee33b2d3e2197a701aa853c4239b68c292c44988 (diff)
downloadsamba-abcd1cad3af7ee111f711544407222951e33238e.tar.gz
samba-abcd1cad3af7ee111f711544407222951e33238e.tar.bz2
samba-abcd1cad3af7ee111f711544407222951e33238e.zip
ChangeID fixe from APPLIANCE_HEAD
(This used to be commit 096d06a961e3a3e6f6952754875b83558448f449)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 87d076ae8c..5794f1de04 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -6288,6 +6288,11 @@ WERROR _spoolss_addform( pipes_struct *p, SPOOL_Q_ADDFORM *q_u, SPOOL_R_ADDFORM
return WERR_BADFID;
}
+ /*
+ * FIXME!! Feels like there should be an access check here, but haven't
+ * had time to verify. --jerry
+ */
+
/* can't add if builtin */
if (get_a_builtin_ntform(&form->name,&tmpForm)) {
return WERR_INVALID_PARAM;