summaryrefslogtreecommitdiff
path: root/source4/ldap_server/ldap_server.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-19 07:21:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:30 -0500
commit68853a1c7be11ffaaef4ad2e3f78a97f0b401b68 (patch)
tree808bbcf24b8bdf98c4615daf892958b9eb41ec55 /source4/ldap_server/ldap_server.h
parent28fd9ea80befe049ee786a9e4c7454181a576e9a (diff)
downloadsamba-68853a1c7be11ffaaef4ad2e3f78a97f0b401b68.tar.gz
samba-68853a1c7be11ffaaef4ad2e3f78a97f0b401b68.tar.bz2
samba-68853a1c7be11ffaaef4ad2e3f78a97f0b401b68.zip
r7746: - added TLS support to our ldap server
- this involved changing the buffer handling in the ldap server quite a lot, as it didn't handle partial packets at all - removed completely bogus asn1_object_length() function. You can't do that with BER/DER (This used to be commit fed6f4cc6ceaf83aacb581499aeaf6af4ee8ddd2)
Diffstat (limited to 'source4/ldap_server/ldap_server.h')
-rw-r--r--source4/ldap_server/ldap_server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ldap_server/ldap_server.h b/source4/ldap_server/ldap_server.h
index 890e2f3003..2427c2b698 100644
--- a/source4/ldap_server/ldap_server.h
+++ b/source4/ldap_server/ldap_server.h
@@ -73,6 +73,8 @@ struct ldapsrv_connection {
struct ldapsrv_call *calls;
struct ldapsrv_service *service;
+
+ struct tls_context *tls;
};
struct ldapsrv_partition;
@@ -103,4 +105,5 @@ struct ldapsrv_service {
struct ldapsrv_partition *rootDSE;
struct ldapsrv_partition *default_partition;
struct ldapsrv_partition *partitions;
+ struct tls_params *tls_params;
};