From 3c70480f3b01befe3fa8e7f0bdf5853949d55449 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 10 Sep 2009 22:53:44 +0200 Subject: s3-util: add get/set_cmdline_auth_info_domain to user_auth_info struct. Guenther --- source3/include/popt_common.h | 1 + source3/include/proto.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'source3/include') diff --git a/source3/include/popt_common.h b/source3/include/popt_common.h index ae8378f28b..7237ca6754 100644 --- a/source3/include/popt_common.h +++ b/source3/include/popt_common.h @@ -47,6 +47,7 @@ extern const struct poptOption popt_common_dynconfig[]; struct user_auth_info { char *username; + char *domain; char *password; bool got_pass; bool use_kerberos; diff --git a/source3/include/proto.h b/source3/include/proto.h index be5cfe1141..5c58468261 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1090,6 +1090,9 @@ 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); void set_cmdline_auth_info_username(struct user_auth_info *auth_info, const char *username); +const char *get_cmdline_auth_info_domain(const struct user_auth_info *auth_info); +void set_cmdline_auth_info_domain(struct user_auth_info *auth_info, + const char *domain); void set_cmdline_auth_info_password(struct user_auth_info *auth_info, const char *password); const char *get_cmdline_auth_info_password(const struct user_auth_info *auth_info); -- cgit