1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Default to creating anonymous credentials.

(This used to be commit f93bd899f1)
This commit is contained in:
Jelmer Vernooij
2008-01-23 23:38:21 +01:00
parent decdf5954d
commit 7af1c83e45
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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*