summaryrefslogtreecommitdiff
path: root/source3/lib/privileges.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-02-03 15:14:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:32 -0500
commita84bb6d1ec0316a39c8b730c40c9215d9d7f959a (patch)
tree4d8dfd70cb5108bfe41adf6c26a0039c24464097 /source3/lib/privileges.c
parent4e121102d488c07d138d7065b696d0a145b07f64 (diff)
downloadsamba-a84bb6d1ec0316a39c8b730c40c9215d9d7f959a.tar.gz
samba-a84bb6d1ec0316a39c8b730c40c9215d9d7f959a.tar.bz2
samba-a84bb6d1ec0316a39c8b730c40c9215d9d7f959a.zip
r5203: additional changes for BUG 2291 to restrict who can join a BDC and add domain trusts
(This used to be commit 5ec1faa2ad33772fb48c3863e67d2ce4be726bb2)
Diffstat (limited to 'source3/lib/privileges.c')
-rw-r--r--source3/lib/privileges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c
index 4feb730fee..3960faecaa 100644
--- a/source3/lib/privileges.c
+++ b/source3/lib/privileges.c
@@ -29,11 +29,11 @@
static SE_PRIV se_priv_all = SE_ALL_PRIVS;
static SE_PRIV se_priv_end = SE_END;
-static SE_PRIV se_priv_none = SE_NONE;
/* Define variables for all privileges so we can use the
SE_PRIV* in the various se_priv_XXX() functions */
+const SE_PRIV se_priv_none = SE_NONE;
const SE_PRIV se_machine_account = SE_MACHINE_ACCOUNT;
const SE_PRIV se_print_operator = SE_PRINT_OPERATOR;
const SE_PRIV se_add_users = SE_ADD_USERS;