stdevPavelmc / mailad

Software to provision a mail server with users from a Windows or Samba 4 Active Directory
GNU General Public License v3.0
33 stars 11 forks source link

[BUG] On Debian 11 (at least), the file /etc/ldap/ldap.conf is missing #168

Closed stdevPavelmc closed 2 years ago

stdevPavelmc commented 2 years ago

Describe the bug bind_dn test fails a see except below

scripts/test_bind_dn.sh
===> Settings mandate SSL ldap connection
===> Getting & Installing the server certificate for ldap connection
===> LDAP connections are secured!
cat: /etc/ldap/ldap.conf: No such file or directory
scripts/test_bind_dn.sh: line 49: /etc/ldap/ldap.conf: No such file or directory
===> Trying to login as cn=correo,cn=Users,dc=xxx,dc=yyy,dc=cu
===> in any of the servers: '172.18.68.62'
======================================================
ERROR: Undefined response from the LDAP query, humm...
       Strange, maybe wrong ldap credentials?

       Response:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
======================================================
make: *** [Makefile:26: conf-check] Error 1

To Reproduce Install under Debian 11 VM from iso install, on local testing on a CT (pure LXC, not proxmox) it wont fail.

Error must be related to a failed dependency of libldap-common (not installed) when you install ldap-tools on Debian 11

stdevPavelmc commented 2 years ago

Wip

stdevPavelmc commented 2 years ago

Reopen as there are some reports that it keep failing on certain systems.

Investigation in progress