summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-23 23:38:21 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-23 23:38:58 +0100
commit7af1c83e45e506568667ef8e25912fa0530103cd (patch)
tree5f9fff61cb28ff887cb5ce7ef5d1033fafe09fc5 /source4
parentdecdf5954d5e1ae84318d6767317965f544a897f (diff)
downloadsamba-7af1c83e45e506568667ef8e25912fa0530103cd.tar.gz
samba-7af1c83e45e506568667ef8e25912fa0530103cd.tar.bz2
samba-7af1c83e45e506568667ef8e25912fa0530103cd.zip
Default to creating anonymous credentials.
(This used to be commit f93bd899f1402a9d89f55d5dca67318a60f5a72b)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/credentials/credentials.i2
-rw-r--r--source4/auth/credentials/credentials_wrap.c2
2 files changed, 2 insertions, 2 deletions
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*