summaryrefslogtreecommitdiff
path: root/auth/gensec/gensec.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-31 16:17:04 +1100
committerStefan Metzmacher <metze@samba.org>2012-02-17 10:48:09 +0100
commit55c630404a999180e3bd9dd697d526fc3e21cd3b (patch)
treec541502a3400856520a4847daed30f979103d24f /auth/gensec/gensec.h
parentc616ab09655611e560f98f3c949a06c389b87767 (diff)
downloadsamba-55c630404a999180e3bd9dd697d526fc3e21cd3b.tar.gz
auth: Provide a way to specify the NTLMSSP server name to GENSEC
This avoids us needing to assume lp_netbios_name().lp_dnsdomain() if the caller knows better. This will allow preservation of current s3 behaviour. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'auth/gensec/gensec.h')
-rw-r--r--auth/gensec/gensec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth/gensec/gensec.h b/auth/gensec/gensec.h
index c52eecb8d0b..aba1018a92b 100644
--- a/auth/gensec/gensec.h
+++ b/auth/gensec/gensec.h
@@ -83,6 +83,10 @@ struct gensec_settings {
* should be used, rather than those loaded by the plugin
* mechanism */
struct gensec_security_ops **backends;
+
+ /* To fill in our own name in the NTLMSSP server */
+ const char *server_dns_domain;
+ const char *server_dns_name;
};
struct gensec_security_ops {