From 062670f00c4f536e28eae9a3414239581d618774 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 13 Nov 2003 10:15:48 +0000 Subject: removed a bunch of the old rpc code in preparation for replacing it all with auto-generated code (This used to be commit 874bf4689d2816474b33eb1ac21530186319ed62) --- source4/lib/util_sid.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'source4/lib') diff --git a/source4/lib/util_sid.c b/source4/lib/util_sid.c index 9910a9d261..6436035f8e 100644 --- a/source4/lib/util_sid.c +++ b/source4/lib/util_sid.c @@ -629,3 +629,18 @@ void print_guid(GUID *guid) d_printf("%02x", guid->info[i]); d_printf("\n"); } + + +/******************************************************************* + Check if ACE has OBJECT type. +********************************************************************/ +BOOL sec_ace_object(uint8 type) +{ + if (type == SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT || + type == SEC_ACE_TYPE_ACCESS_DENIED_OBJECT || + type == SEC_ACE_TYPE_SYSTEM_AUDIT_OBJECT || + type == SEC_ACE_TYPE_SYSTEM_ALARM_OBJECT) { + return True; + } + return False; +} -- cgit