diff options
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/spoolss/srv_spoolss_nt.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index 1a9111c8a5..491d96566a 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -417,14 +417,6 @@ static WERROR delete_printer_hook(TALLOC_CTX *ctx, struct security_token *token, if (ret != 0) return WERR_BADFID; /* What to return here? */ - /* go ahead and re-read the services immediately */ - become_root(); - reload_services(msg_ctx, -1, false); - unbecome_root(); - - if ( lp_servicenumber( sharename ) >= 0 ) - return WERR_ACCESS_DENIED; - return WERR_OK; } |