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>
Thu, 9 Sep 2010 04:45:59 +0000 (14:45 +1000)
commit84f01a1607275b65899bffc672739f4c9bd018e4
tree8e6c4e461de72b60811a31a9291538a45545ce1e
parent118991f30a2a2f49f74802a16fc699e124b6a500
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