From 459dc8f39c085d16bb8b4a04db33e5844f104395 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 18 May 2009 15:44:03 -0700 Subject: Change access_check_samr_object -> access_check_object. Make map_max_allowed_access global. Change lsa_get_generic_sd to add Everyone:LSA_POLICY_READ|LSA_POLICY_EXECUTE, not just LSA_POLICY_EXECUTE. Jeremy. --- source3/include/proto.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 5b5f9098e0..68c312568b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -7174,4 +7174,11 @@ struct tevent_req *fncall_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, void *private_data); int fncall_recv(struct tevent_req *req, int *perr); +/* The following definitions come from rpc_server/srv_samr_nt.c */ +NTSTATUS access_check_object( SEC_DESC *psd, NT_USER_TOKEN *token, + SE_PRIV *rights, uint32 rights_mask, + uint32 des_access, uint32 *acc_granted, + const char *debug); +void map_max_allowed_access(const NT_USER_TOKEN *token, + uint32_t *pacc_requested); #endif /* _PROTO_H_ */ -- cgit