Skip to content

Commit

Permalink
Implemented ssl support for LDAPS
Browse files Browse the repository at this point in the history
  • Loading branch information
a-schild committed Oct 2, 2017
1 parent e073179 commit a07d022
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ for **update** istructions read the **update.txt** document
- v1.1 Added support for speed dial numbers
- v1.2 Added support for text search
- v1.3 Added support to correctly shutdown ldap daemon
- v1.4 Added support for LDAPS

(C) Aarboard AG, www.aarboard.ch, 2017

Expand Down
2 changes: 1 addition & 1 deletion install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Prerequisites:

On the PBX you have to configure the external LDAP service like this:
- IP of your LinuxAP
- Port 389 (Sorry, no TLS yet)
- Port 636 with TLS (Or 389 without encryption)
- Username & Password
- Search base dc=company,dc=ch
- Mode basic
Expand Down
6 changes: 5 additions & 1 deletion ldap-server/inno-ldap.pl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ sub server_close {
while ($continue) {
# package main;
$roothandler= Listener->run(
port => 389,
port => [ 636, "389/tcp" ],
proto => "ssl", # use ssl as the default
ipv => "*", # bind both IPv4 and IPv6 interfaces
SSL_key_file => "/home/root/ssl_cert/server.pem",
SSL_cert_file => "/home/root/ssl_cert/server.pem",
log_level => 4
);
}
Expand Down

0 comments on commit a07d022

Please sign in to comment.