summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-18 15:44:03 -0700
committerJeremy Allison <jra@samba.org>2009-05-18 15:44:03 -0700
commit459dc8f39c085d16bb8b4a04db33e5844f104395 (patch)
tree5c8378f7b161acab73b5ff7356d588b410ca2c84 /source3/include/proto.h
parentd06051cc51ded9649d4c201afdf338c2426e6f5f (diff)
downloadsamba-459dc8f39c085d16bb8b4a04db33e5844f104395.tar.gz
samba-459dc8f39c085d16bb8b4a04db33e5844f104395.tar.bz2
samba-459dc8f39c085d16bb8b4a04db33e5844f104395.zip
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.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h7
1 files changed, 7 insertions, 0 deletions
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_ */