mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
libcli:sec:display: print callback ace types
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
416f6ef726
commit
601d60e391
@ -162,7 +162,17 @@ void display_sec_ace(struct security_ace *ace)
|
||||
break;
|
||||
case SEC_ACE_TYPE_SYSTEM_ALARM_OBJECT:
|
||||
printf("SEC_ACE_TYPE_SYSTEM_ALARM_OBJECT");
|
||||
break;
|
||||
break;
|
||||
#define ACE_CASE(x) case x: printf(#x); break
|
||||
ACE_CASE(SEC_ACE_TYPE_ACCESS_ALLOWED_CALLBACK);
|
||||
ACE_CASE(SEC_ACE_TYPE_ACCESS_DENIED_CALLBACK);
|
||||
ACE_CASE(SEC_ACE_TYPE_ACCESS_ALLOWED_CALLBACK_OBJECT);
|
||||
ACE_CASE(SEC_ACE_TYPE_ACCESS_DENIED_CALLBACK_OBJECT);
|
||||
ACE_CASE(SEC_ACE_TYPE_SYSTEM_AUDIT_CALLBACK);
|
||||
ACE_CASE(SEC_ACE_TYPE_SYSTEM_ALARM_CALLBACK);
|
||||
ACE_CASE(SEC_ACE_TYPE_SYSTEM_AUDIT_CALLBACK_OBJECT);
|
||||
ACE_CASE(SEC_ACE_TYPE_SYSTEM_ALARM_CALLBACK_OBJECT);
|
||||
#undef ACE_CASE
|
||||
default:
|
||||
printf("????");
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user