summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorDavid O'Neill <dmo@samba.org>2001-01-19 16:58:23 +0000
committerDavid O'Neill <dmo@samba.org>2001-01-19 16:58:23 +0000
commitc4e0cb72bc654cbdae6e9c3bbcb40683bc0cadca (patch)
tree9eb76f3bfdc00d4adda2c266b82b53167b88912f /source3
parenta5b27e9cea2e7c89cabcfe44b89b269bc2c8ff48 (diff)
downloadsamba-c4e0cb72bc654cbdae6e9c3bbcb40683bc0cadca.tar.gz
samba-c4e0cb72bc654cbdae6e9c3bbcb40683bc0cadca.tar.bz2
samba-c4e0cb72bc654cbdae6e9c3bbcb40683bc0cadca.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c4
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;
}