diff options
author | Günther Deschner <gd@samba.org> | 2009-02-25 23:42:03 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-25 23:48:29 +0100 |
commit | 7e01ec5560e8193c8e8853ba49c0ee625956c1fd (patch) | |
tree | 89f31bd948b30808df56bff8c9e652b7e8fc0c52 /source4/rpc_server | |
parent | 8bf0c256d7f06fe7d0abf031921abd83e6956c8b (diff) | |
download | samba-7e01ec5560e8193c8e8853ba49c0ee625956c1fd.tar.gz samba-7e01ec5560e8193c8e8853ba49c0ee625956c1fd.tar.bz2 samba-7e01ec5560e8193c8e8853ba49c0ee625956c1fd.zip |
s4-spoolss: implement dcesrv_spoolss_AddJob which always is a dummy.
Guenther
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/spoolss/dcesrv_spoolss.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c index 89b93bbaa4..f1ef2f0acb 100644 --- a/source4/rpc_server/spoolss/dcesrv_spoolss.c +++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c @@ -546,7 +546,11 @@ static WERROR dcesrv_spoolss_EndDocPrinter(struct dcesrv_call_state *dce_call, T static WERROR dcesrv_spoolss_AddJob(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct spoolss_AddJob *r) { - DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); + if (r->in.level != 1) { + return WERR_UNKNOWN_LEVEL; + } + + return WERR_INVALID_PARAM; } |