summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-27 16:14:27 +0100
committerGünther Deschner <gd@samba.org>2008-02-27 17:09:02 +0100
commitec790d039779c2a920911bbcdc6969f792e86ab1 (patch)
treee197530c50bb54969479e7cb3c091d744e14af7a /source3
parentf084c60dc6136d3e442df9cec900f9d8af780fb4 (diff)
downloadsamba-ec790d039779c2a920911bbcdc6969f792e86ab1.tar.gz
samba-ec790d039779c2a920911bbcdc6969f792e86ab1.tar.bz2
samba-ec790d039779c2a920911bbcdc6969f792e86ab1.zip
Move LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.
Guenther (This used to be commit 9e7d32e28ce40ff158f3705354e8673f99b462bc)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/rpc_lsa.h4
-rw-r--r--source3/rpc_server/srv_lsa_nt.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h
index 2f23722d6a..b4021afd0a 100644
--- a/source3/include/rpc_lsa.h
+++ b/source3/include/rpc_lsa.h
@@ -23,10 +23,6 @@
#ifndef _RPC_LSA_H /* _RPC_LSA_H */
#define _RPC_LSA_H
-#define LSA_AUDIT_NUM_CATEGORIES_NT4 7
-#define LSA_AUDIT_NUM_CATEGORIES_WIN2K 9
-#define LSA_AUDIT_NUM_CATEGORIES LSA_AUDIT_NUM_CATEGORIES_NT4
-
#define LSA_POLICY_ALL_ACCESS ( STANDARD_RIGHTS_REQUIRED_ACCESS |\
LSA_POLICY_VIEW_LOCAL_INFORMATION |\
LSA_POLICY_VIEW_AUDIT_INFORMATION |\
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index ec9da32874..788fdb3661 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -529,6 +529,10 @@ NTSTATUS _lsa_EnumTrustDom(pipes_struct *p,
return nt_status;
}
+#define LSA_AUDIT_NUM_CATEGORIES_NT4 7
+#define LSA_AUDIT_NUM_CATEGORIES_WIN2K 9
+#define LSA_AUDIT_NUM_CATEGORIES LSA_AUDIT_NUM_CATEGORIES_NT4
+
/***************************************************************************
_lsa_QueryInfoPolicy
***************************************************************************/