summaryrefslogtreecommitdiff
path: root/source3/libsmb
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/libsmb
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/libsmb')
-rw-r--r--source3/libsmb/trusts_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/trusts_util.c b/source3/libsmb/trusts_util.c
index 1e2460cfcc..584217d3f1 100644
--- a/source3/libsmb/trusts_util.c
+++ b/source3/libsmb/trusts_util.c
@@ -31,7 +31,7 @@ NTSTATUS trust_pw_change_and_store_it(struct rpc_pipe_client *cli, TALLOC_CTX *m
const char *domain,
const char *account_name,
unsigned char orig_trust_passwd_hash[16],
- uint32 sec_channel_type)
+ enum netr_SchannelType sec_channel_type)
{
unsigned char new_trust_passwd_hash[16];
char *new_trust_passwd;
@@ -113,7 +113,7 @@ NTSTATUS trust_pw_find_change_and_store_it(struct rpc_pipe_client *cli,
const char *domain)
{
unsigned char old_trust_passwd_hash[16];
- uint32 sec_channel_type = 0;
+ enum netr_SchannelType sec_channel_type = SEC_CHAN_NULL;
const char *account_name;
if (!get_trust_pw_hash(domain, old_trust_passwd_hash, &account_name,