r7751: only enable tls on the ldaps port in ldap server, and reject non-tls
[bbaumbach/samba-autobuild/.git] / source4 / lib / tls / tls.h
index fe993a3804be19935abe15dd5478993f9f6e2f38..3046e35a1c0694367441199aa45b539eb7362774 100644 (file)
@@ -37,7 +37,8 @@ struct tls_params *tls_initialise(TALLOC_CTX *mem_ctx);
 struct tls_context *tls_init_server(struct tls_params *parms,
                                    struct socket_context *sock, 
                                    struct fd_event *fde,
-                                   const char *plain_chars);
+                                   const char *plain_chars,
+                                   BOOL tls_enable);
 
 /*
   call these to send and receive data. They behave like socket_send() and socket_recv()