summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-10-13 10:15:34 +0200
committerGünther Deschner <gd@samba.org>2009-10-13 10:21:46 +0200
commitebe0e64ba9815b238cccf7d24821bc473d245707 (patch)
treeb46bbf1291047849349fba950d3e14b687f55080 /source3/rpc_client
parentaa8c142b5e1d126b9a5a8e4a6638bc785292fbc2 (diff)
downloadsamba-ebe0e64ba9815b238cccf7d24821bc473d245707.tar.gz
samba-ebe0e64ba9815b238cccf7d24821bc473d245707.tar.bz2
samba-ebe0e64ba9815b238cccf7d24821bc473d245707.zip
s3: use enum netr_SchannelType all over the place.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_netlogon.c2
-rw-r--r--source3/rpc_client/cli_pipe.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c
index 5e116c95de..a5f48d4aa5 100644
--- a/source3/rpc_client/cli_netlogon.c
+++ b/source3/rpc_client/cli_netlogon.c
@@ -513,7 +513,7 @@ NTSTATUS rpccli_netlogon_set_trust_password(struct rpc_pipe_client *cli,
const unsigned char orig_trust_passwd_hash[16],
const char *new_trust_pwd_cleartext,
const unsigned char new_trust_passwd_hash[16],
- uint32_t sec_channel_type)
+ enum netr_SchannelType sec_channel_type)
{
NTSTATUS result;
uint32_t neg_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS;
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index dc4dfbd3b2..c197bd4929 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -3819,7 +3819,7 @@ static NTSTATUS get_schannel_session_key_common(struct rpc_pipe_client *netlogon
const char *domain,
uint32 *pneg_flags)
{
- uint32 sec_chan_type = 0;
+ enum netr_SchannelType sec_chan_type = 0;
unsigned char machine_pwd[16];
const char *machine_account;
NTSTATUS status;