libcli/security Don't export privs[] as a global variable
authorAndrew Bartlett <abartlet@samba.org>
Fri, 27 Aug 2010 02:19:09 +0000 (12:19 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 11 Sep 2010 08:46:08 +0000 (18:46 +1000)
commitcbd72ab93bc35aa71a55b190cd999dda4106be07
tree72327385378a4efdd39c2a4f46b096f33a5b11cc
parent33ce8633d6a5e5cc54209c92397025114f0a46ea
libcli/security Don't export privs[] as a global variable

Instead, provide access functions for the LSA and net sam callers
for the information they need.

They still only enumerate the first 8 privileges that have traditionally
been exposed.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
libcli/security/privileges.c
libcli/security/privileges.h
source3/rpc_server/srv_lsa_nt.c
source3/utils/net_sam.c