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:
@ -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);
|
||||
|
@ -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*
|
||||
|
Reference in New Issue
Block a user