1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s3:util_cmdline: make struct user_auth_info private to util_cmdline.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Stefan Metzmacher 2016-10-21 10:23:21 +02:00 committed by Jeremy Allison
parent 30013efe39
commit b9436f5348
2 changed files with 15 additions and 13 deletions

View File

@ -20,19 +20,7 @@
#ifndef _AUTH_INFO_H
#define _AUTH_INFO_H
struct user_auth_info {
char *username;
char *domain;
char *password;
bool got_pass;
bool use_kerberos;
int signing_state;
bool smb_encrypt;
bool use_machine_account;
bool fallback_after_kerberos;
bool use_ccache;
bool use_pw_nt_hash;
};
struct user_auth_info;
struct user_auth_info *user_auth_info_init(TALLOC_CTX *mem_ctx);
const char *get_cmdline_auth_info_username(const struct user_auth_info *auth_info);

View File

@ -30,6 +30,20 @@
Used mainly in client tools.
****************************************************************************/
struct user_auth_info {
char *username;
char *domain;
char *password;
bool got_pass;
bool use_kerberos;
int signing_state;
bool smb_encrypt;
bool use_machine_account;
bool fallback_after_kerberos;
bool use_ccache;
bool use_pw_nt_hash;
};
struct user_auth_info *user_auth_info_init(TALLOC_CTX *mem_ctx)
{
struct user_auth_info *result;