Skip to main content

Connectivity to ldap works when tested with centreon plugin, but not for ldap import

 

./centreon_protocol_ldap.pl --plugin=apps::protocols::ldap::plugin --mode=login --hostname=10.1.6.24 --ldap-connect-options='scheme=ldaps' --username='cn=ldapbind,ou=users,dc=xxx=local' --password='xxxxxxx'
OK: Response time 0.072 second(s) | 'time'=0.072s;;;;
>08/08/2022 11:16] LDAP Connect : trying url : ldaps://10.1.6.24:636/
>08/08/2022 11:16] LDAP Connect : Credentials : cn=ldapbind,ou=users,dc=xxx=local
>08/08/2022 11:16] LDAP Error : Can't contact LDAP server
>08/08/2022 11:16] LDAP Connect : Bind : Can't contact LDAP server
>08/08/2022 11:16] LDAP Connect : connection error

 

 

Hi @coco163 can you test this https://stackoverflow.com/questions/5258556/problems-with-secure-bind-to-active-directory-using-php ?


this look like Chinese for me. sorry


On Debian, which user should be used for the clapi import?


J’ai trouvé le coupable.

l’import de la config ldap tls via clapi pose ce problème (meme en utilisant root)

Quand je fais la config a la mano il n’y a aucun soucis


Reply