diff options
-rw-r--r-- | librpc/idl/spoolss.idl | 5 | ||||
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 6 | ||||
-rw-r--r-- | source4/rpc_server/spoolss/dcesrv_spoolss.c | 6 |
3 files changed, 10 insertions, 7 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 74ad0e6161..b80e218ee8 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -2831,7 +2831,10 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor") /******************/ /* Function: 0x47 */ - [todo] WERROR spoolss_47( + WERROR spoolss_SetPort( + [in,unique] [string,charset(UTF16)] uint16 *servername, + [in,unique] [string,charset(UTF16)] uint16 *port_name, + [in,ref] spoolss_SetPortInfoContainer *port_ctr ); /******************/ diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index d79c9314c6..8c4067bdc8 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -10294,11 +10294,11 @@ WERROR _spoolss_44(struct pipes_struct *p, } /**************************************************************** - _spoolss_47 + _spoolss_SetPort ****************************************************************/ -WERROR _spoolss_47(struct pipes_struct *p, - struct spoolss_47 *r) +WERROR _spoolss_SetPort(struct pipes_struct *p, + struct spoolss_SetPort *r) { p->rng_fault_state = true; return WERR_NOT_SUPPORTED; diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c index e17fb812f4..66cd14d84a 100644 --- a/source4/rpc_server/spoolss/dcesrv_spoolss.c +++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c @@ -1305,10 +1305,10 @@ static WERROR dcesrv_spoolss_AddPrinterEx(struct dcesrv_call_state *dce_call, TA /* - spoolss_47 + spoolss_SetPort */ -static WERROR dcesrv_spoolss_47(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, - struct spoolss_47 *r) +static WERROR dcesrv_spoolss_SetPort(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, + struct spoolss_SetPort *r) { DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR); } |