From af5a71d5280984a7d707e39fb522ecc7e1b71436 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 30 Apr 2009 12:30:10 +0200 Subject: s3-lsa: use LSA_POLICY_MODE flags in _lsa_GetSystemAccessAccount(). Guenther --- source3/include/privileges.h | 6 ------ source3/rpc_server/srv_lsa_nt.c | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/source3/include/privileges.h b/source3/include/privileges.h index 9a5d928da0..57d3fc0686 100644 --- a/source3/include/privileges.h +++ b/source3/include/privileges.h @@ -77,12 +77,6 @@ extern const SE_PRIV se_take_ownership; /* * These are used in Lsa replies (srv_lsa_nt.c) */ -#define PR_NONE 0x0000 -#define PR_LOG_ON_LOCALLY 0x0001 -#define PR_ACCESS_FROM_NETWORK 0x0002 -#define PR_LOG_ON_BATCH_JOB 0x0004 -#define PR_LOG_ON_SERVICE 0x0010 - typedef struct { uint32 high; diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index 9481c206f6..d9d74ed725 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -1716,7 +1716,8 @@ NTSTATUS _lsa_GetSystemAccessAccount(pipes_struct *p, they can be ORed together */ - *r->out.access_mask = PR_LOG_ON_LOCALLY | PR_ACCESS_FROM_NETWORK; + *r->out.access_mask = LSA_POLICY_MODE_INTERACTIVE | + LSA_POLICY_MODE_NETWORK; return NT_STATUS_OK; } -- cgit