diff options
author | Gerald Carter <jerry@samba.org> | 2001-12-14 20:38:04 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2001-12-14 20:38:04 +0000 |
commit | abcd1cad3af7ee111f711544407222951e33238e (patch) | |
tree | c62ea64e873957c924ed4fecdc2f087288bc76f7 /source3/rpc_server/srv_spoolss_nt.c | |
parent | ee33b2d3e2197a701aa853c4239b68c292c44988 (diff) | |
download | samba-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/srv_spoolss_nt.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 5 |
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; |