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:
parent
30013efe39
commit
b9436f5348
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user