summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_lsa.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-04-04 00:35:34 +0000
committerTim Potter <tpot@samba.org>2000-04-04 00:35:34 +0000
commitba0a53b52ca934389268b65ec0d9e7336ae85d4f (patch)
tree672e9ea9e01b5c3821edd03dd8d2eb91f6640c3d /source3/rpc_server/srv_lsa.c
parentd6981c2d3a7d2e24f2536e057a86871717787b1c (diff)
downloadsamba-ba0a53b52ca934389268b65ec0d9e7336ae85d4f.tar.gz
samba-ba0a53b52ca934389268b65ec0d9e7336ae85d4f.tar.bz2
samba-ba0a53b52ca934389268b65ec0d9e7336ae85d4f.zip
Removed unused parameter vuid from rpc_server api_* calls. For the very few
functions that need to access the vuid, it can be obtained from the current_user global. Did some whitespace cleanup. (This used to be commit 738b307bd7053ede369431da7b1349befaa523d9)
Diffstat (limited to 'source3/rpc_server/srv_lsa.c')
-rw-r--r--source3/rpc_server/srv_lsa.c25
1 files changed, 8 insertions, 17 deletions
diff --git a/source3/rpc_server/srv_lsa.c b/source3/rpc_server/srv_lsa.c
index 7094d842b4..81e9b737ee 100644
--- a/source3/rpc_server/srv_lsa.c
+++ b/source3/rpc_server/srv_lsa.c
@@ -1,4 +1,3 @@
-
/*
* Unix SMB/Netbios implementation.
* Version 1.9.
@@ -23,9 +22,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-
#include "includes.h"
-#include "nterr.h"
extern int DEBUGLEVEL;
extern DOM_SID global_sam_sid;
@@ -432,8 +429,7 @@ static BOOL lsa_reply_lookup_names(prs_struct *rdata,
api_lsa_open_policy2
***************************************************************************/
-static BOOL api_lsa_open_policy2( uint16 vuid, prs_struct *data,
- prs_struct *rdata )
+static BOOL api_lsa_open_policy2(prs_struct *data, prs_struct *rdata)
{
LSA_Q_OPEN_POL2 q_o;
@@ -457,8 +453,7 @@ static BOOL api_lsa_open_policy2( uint16 vuid, prs_struct *data,
/***************************************************************************
api_lsa_open_policy
***************************************************************************/
-static BOOL api_lsa_open_policy( uint16 vuid, prs_struct *data,
- prs_struct *rdata )
+static BOOL api_lsa_open_policy(prs_struct *data, prs_struct *rdata)
{
LSA_Q_OPEN_POL q_o;
@@ -482,8 +477,7 @@ static BOOL api_lsa_open_policy( uint16 vuid, prs_struct *data,
/***************************************************************************
api_lsa_enum_trust_dom
***************************************************************************/
-static BOOL api_lsa_enum_trust_dom( uint16 vuid, prs_struct *data,
- prs_struct *rdata )
+static BOOL api_lsa_enum_trust_dom(prs_struct *data, prs_struct *rdata)
{
LSA_Q_ENUM_TRUST_DOM q_e;
@@ -501,8 +495,7 @@ static BOOL api_lsa_enum_trust_dom( uint16 vuid, prs_struct *data,
/***************************************************************************
api_lsa_query_info
***************************************************************************/
-static BOOL api_lsa_query_info( uint16 vuid, prs_struct *data,
- prs_struct *rdata )
+static BOOL api_lsa_query_info(prs_struct *data, prs_struct *rdata)
{
LSA_Q_QUERY_INFO q_i;
fstring name;
@@ -542,7 +535,7 @@ static BOOL api_lsa_query_info( uint16 vuid, prs_struct *data,
api_lsa_lookup_sids
***************************************************************************/
-static BOOL api_lsa_lookup_sids( uint16 vuid, prs_struct *data, prs_struct *rdata )
+static BOOL api_lsa_lookup_sids(prs_struct *data, prs_struct *rdata)
{
LSA_Q_LOOKUP_SIDS q_l;
ZERO_STRUCT(q_l);
@@ -564,7 +557,7 @@ static BOOL api_lsa_lookup_sids( uint16 vuid, prs_struct *data, prs_struct *rdat
api_lsa_lookup_names
***************************************************************************/
-static BOOL api_lsa_lookup_names( uint16 vuid, prs_struct *data, prs_struct *rdata )
+static BOOL api_lsa_lookup_names(prs_struct *data, prs_struct *rdata)
{
LSA_Q_LOOKUP_NAMES q_l;
ZERO_STRUCT(q_l);
@@ -583,8 +576,7 @@ static BOOL api_lsa_lookup_names( uint16 vuid, prs_struct *data, prs_struct *rda
/***************************************************************************
api_lsa_close
***************************************************************************/
-static BOOL api_lsa_close( uint16 vuid, prs_struct *data,
- prs_struct *rdata)
+static BOOL api_lsa_close(prs_struct *data, prs_struct *rdata)
{
LSA_R_CLOSE r_c;
@@ -602,8 +594,7 @@ static BOOL api_lsa_close( uint16 vuid, prs_struct *data,
/***************************************************************************
api_lsa_open_secret
***************************************************************************/
-static BOOL api_lsa_open_secret( uint16 vuid, prs_struct *data,
- prs_struct *rdata)
+static BOOL api_lsa_open_secret(prs_struct *data, prs_struct *rdata)
{
/* XXXX this is NOT good */
size_t i;