summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
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/utils/net.c
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/utils/net.c')
-rw-r--r--source3/utils/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 585661cd37..e8920e0b02 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -53,7 +53,7 @@ extern bool AllowDebugChange;
/* end of internationalization section */
/***********************************************************************/
-uint32 get_sec_channel_type(const char *param)
+enum netr_SchannelType get_sec_channel_type(const char *param)
{
if (!(param && *param)) {
return get_default_sec_channel();
@@ -91,7 +91,7 @@ static int net_changesecretpw(struct net_context *c, int argc,
const char **argv)
{
char *trust_pw;
- uint32 sec_channel_type = SEC_CHAN_WKSTA;
+ enum netr_SchannelType sec_channel_type = SEC_CHAN_WKSTA;
if(c->opt_force) {
if (c->opt_stdin) {