From eb8e3155dee3e4258a603da61a9e7822503cd8dd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 27 Aug 2010 11:27:57 +1000 Subject: libcli/privileges Simplify get_privilege_luid() to return just the enum As Samba only deals with the lower 32 bits of the LUID, just return those and let the LSA layer deal with the upper 0 bits. Andrew Bartlett Signed-off-by: Andrew Tridgell --- libcli/security/privileges.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcli/security/privileges.h') diff --git a/libcli/security/privileges.h b/libcli/security/privileges.h index f3fd75f8fb..e1cfbbb404 100644 --- a/libcli/security/privileges.h +++ b/libcli/security/privileges.h @@ -148,7 +148,7 @@ int count_all_privileges( void ); so we are guaranteed to find it in the list. *********************************************************************/ -struct lsa_LUIDAttribute get_privilege_luid( uint64_t *privilege_mask ); +enum sec_privilege get_privilege_luid( uint64_t *privilege_mask ); /**************************************************************************** Convert a LUID to a named string ****************************************************************************/ -- cgit