From 7af1c83e45e506568667ef8e25912fa0530103cd Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 23 Jan 2008 23:38:21 +0100 Subject: Default to creating anonymous credentials. (This used to be commit f93bd899f1402a9d89f55d5dca67318a60f5a72b) --- source4/auth/credentials/credentials.i | 2 +- source4/auth/credentials/credentials_wrap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/auth/credentials') diff --git a/source4/auth/credentials/credentials.i b/source4/auth/credentials/credentials.i index ee09b43a75..fedb8bd1d7 100644 --- a/source4/auth/credentials/credentials.i +++ b/source4/auth/credentials/credentials.i @@ -51,7 +51,7 @@ typedef struct cli_credentials cli_credentials; typedef struct cli_credentials { %extend { cli_credentials(void) { - return cli_credentials_init(NULL); + return cli_credentials_init_anon(NULL); } /* username */ const char *get_username(void); diff --git a/source4/auth/credentials/credentials_wrap.c b/source4/auth/credentials/credentials_wrap.c index 146a81abaf..849b28ebff 100644 --- a/source4/auth/credentials/credentials_wrap.c +++ b/source4/auth/credentials/credentials_wrap.c @@ -2527,7 +2527,7 @@ typedef struct cli_credentials cli_credentials; #include "librpc/gen_ndr/samr.h" /* for struct samr_Password */ SWIGINTERN cli_credentials *new_cli_credentials(){ - return cli_credentials_init(NULL); + return cli_credentials_init_anon(NULL); } SWIGINTERN swig_type_info* -- cgit