summaryrefslogtreecommitdiffstats
path: root/source3/include/auth_info.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-11 14:01:08 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-12 10:48:15 +0200
commit2be5ace544a5ec280abb72504f3d4acf5240c425 (patch)
tree54bd165f2bf700cc4db7c003d422adeacfb38e79 /source3/include/auth_info.h
parent93e0844471f468f27c3c617b068b9d5aa26f4f1b (diff)
downloadsamba-2be5ace544a5ec280abb72504f3d4acf5240c425.tar.gz
samba-2be5ace544a5ec280abb72504f3d4acf5240c425.tar.xz
samba-2be5ace544a5ec280abb72504f3d4acf5240c425.zip
s3: Add user_auth_info->use_pw_nt_hash
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include/auth_info.h')
-rw-r--r--source3/include/auth_info.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/auth_info.h b/source3/include/auth_info.h
index 6b5105d51ff..d8d8317c88f 100644
--- a/source3/include/auth_info.h
+++ b/source3/include/auth_info.h
@@ -31,6 +31,7 @@ struct user_auth_info {
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);
@@ -49,6 +50,10 @@ int get_cmdline_auth_info_signing_state(const struct user_auth_info *auth_info);
void set_cmdline_auth_info_use_ccache(struct user_auth_info *auth_info,
bool b);
bool get_cmdline_auth_info_use_ccache(const struct user_auth_info *auth_info);
+void set_cmdline_auth_info_use_pw_nt_hash(struct user_auth_info *auth_info,
+ bool b);
+bool get_cmdline_auth_info_use_pw_nt_hash(
+ const struct user_auth_info *auth_info);
void set_cmdline_auth_info_use_kerberos(struct user_auth_info *auth_info,
bool b);
bool get_cmdline_auth_info_use_kerberos(const struct user_auth_info *auth_info);