Zdravim
Uz som skusal mnoho metod, avsak secure ldap sa mi este nikdy nepodarilo rozbehat :'-(. Vedel by mi niekto poradit? Pre generovanie certifikatu aj podpisu som pouzil rovnake udaje, CN je ldap.mojafirma.com - je to ok?
# funguje: ldapsearch -x -D "cn=admin,dc=mojafirma,dc=com" -W ldapsearch -x -h ldap.mojafirma.com -D "cn=admin,dc=mojafirma,dc=com" -W # nefunguje: ldapsearch -D "cn=admin,dc=mojafirma,dc=com" -W -> SASL/DIGEST-MD5 authentication started -> ldap_sasl_interactive_bind_s: Internal (implementation specific) error (80) -> additional info: SASL(-13): user not found: no secret in database ldapsearch -h ldap.mojafirma.com -D "cn=admin,dc=mojafirma,dc=com" -W -> ldap_sasl_interactive_bind_s: No such object (32)
Vdaka vopred za pomoc!
PS: Debian Sarge
ldapsearch -ZZ -x -D -h ldap.mojafirma.com "cn=admin,dc=mojafirma,dc=com" -W -> ldap_start_tls: Connect error (-11) -> additional info: TLS: hostname does not match CN in peer certificate
v servercrt.pem: Subject: C=SK, ST=Slovakia, L=Kosice, O=MojaFirma Ltd, CN=ldap.mojafirma.com