summaryrefslogtreecommitdiff
path: root/source4/ldap_server/ldap_server.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-25 19:20:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:22 -0500
commit4cdcc1789363907f850a05c4b3349746c710ebf0 (patch)
treebe214797dab346ce18d86ce5b53245eb56aa2526 /source4/ldap_server/ldap_server.h
parentec8d486e267b60ebad3eac937580986155b75914 (diff)
downloadsamba-4cdcc1789363907f850a05c4b3349746c710ebf0.tar.gz
r17237: - keep pointer to the different sockets
- we need this to later: - to disallow a StartTLS when TLS is already in use - to place the TLS socket between the raw and sasl socket when we had a sasl bind before the StartTLS - and rfc4513 says that the server may allow to remove the TLS from the tcp connection again and reuse raw tcp - and also a 2nd sasl bind should replace the old sasl socket metze (This used to be commit 10cb9c07ac60b03472f2b0b09c4581cc715002ba)
Diffstat (limited to 'source4/ldap_server/ldap_server.h')
-rw-r--r--source4/ldap_server/ldap_server.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/ldap_server/ldap_server.h b/source4/ldap_server/ldap_server.h
index c35f62f1349..243f5bd559f 100644
--- a/source4/ldap_server/ldap_server.h
+++ b/source4/ldap_server/ldap_server.h
@@ -31,6 +31,12 @@ struct ldapsrv_connection {
struct cli_credentials *server_credentials;
struct ldb_context *ldb;
+ struct {
+ struct socket_context *raw;
+ struct socket_context *tls;
+ struct socket_context *sasl;
+ } sockets;
+
BOOL global_catalog;
struct packet_context *packet;
@@ -57,8 +63,6 @@ struct ldapsrv_call {
void *send_private;
};
-struct ldapsrv_service;
-
struct ldapsrv_service {
struct tls_params *tls_params;
};