This is an old revision of the document!
This guide tells how we install ZNC for our whole network, with integrated login to our X3 services.
Assuming a debian 8 (jessie) base system:
deb http://ftp.debian.org/debian jessie-backports main
to /etc/apt/sources.list. dont forget to sudo apt-get update
sudo apt-get build-dep znc
sudo apt-get install cmake
sudo apt-get install libicu-dev
sudo apt-get install swig3.0
sudo apt-get install libboost-all-dev
git submodule update –init –recursive
make
make install
bin/znc –makeconf
apt-get install sasl2-bin
/etc/defaults/saslauthd
:START=yes MECHANISM="ldap" * edit/create ''/etc/saslauthd.conf'':
ldap_servers: ldaps://yourldapserver.domain ldap_search_base: ou=users,dc=yourdomain,dc=org ldap_filter: (uid=%u) ldap_tls_cert: /etc/ssl/yourcertificate.cer * Copy the CA certificate matching your ldap server to /etc/ssl/yourcertificate.cer