From c4e0cb72bc654cbdae6e9c3bbcb40683bc0cadca Mon Sep 17 00:00:00 2001 From: David O'Neill Date: Fri, 19 Jan 2001 16:58:23 +0000 Subject: Changes from APPLIANCE_HEAD: source/include/proto.h - make proto source/rpc_server/srv_spoolss_nt.c - clean up incorrect debug statement (This used to be commit f07f4e9c7b9bb5230f10fffe50beab163b6f7790) --- source3/include/proto.h | 2 ++ source3/rpc_server/srv_spoolss_nt.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index 8de5dfeb07..54524d4ead 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -824,6 +824,8 @@ struct cli_connection* RpcHndList_get_connection(const POLICY_HND *hnd); void se_map_generic(uint32 *access_mask, struct generic_mapping *mapping); BOOL se_access_check(SEC_DESC *sd, struct current_user *user, uint32 acc_desired, uint32 *acc_granted, uint32 *status); +SEC_DESC_BUF *se_create_child_secdesc(SEC_DESC *parent_ctr, + BOOL child_container); /*The following definitions come from lib/util_sec.c */ diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 5b92a51189..d838d08c3c 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -5736,8 +5736,8 @@ uint32 _spoolss_deleteprinterdata( POLICY_HND *handle, const UNISTR2 *value) return ERROR_INVALID_HANDLE; if (!print_access_check(NULL, snum, PRINTER_ACCESS_ADMINISTER)) { - DEBUG(3, ("_spoolss_deleteprinterdata: security descriptor change denied by existing " - "security descriptor\n")); + DEBUG(3, ("_spoolss_deleteprinterdata: printer properties " + "change denied by existing security descriptor\n")); return ERROR_ACCESS_DENIED; } -- cgit