Le 11/07/2019 à 11:14, Gautier Auburtin a écrit :
>
> Hi all,
>
> I'm starting with White pages plugin but can not bind ldap server
>
> I have set in
> /usr/share/white-pages# vim conf/config.local.inc.php
>
>
> $ldap_url = "ldaps://ldap-test.domain.fr";
> $ldap_starttls = false;
> $ldap_binddn = "cn=user,ou=dsa,dc=domain,dc=fr";
>
> CN and PWD are OK
>
>
>  ldapsearch -xLLL -H ldaps://ldap-test.domaine.fr:636  -D
> cn=user,ou=dsa,dc=domain,dc=fr -W dn | grep ' '
> Enter LDAP Password:
> dn: dc=domain,dc=fr
> dn: ou=dsa,dc=domain,dc=fr
> dn: ou=ENC,dc=domain,dc=fr
> ...
>
> With rocket Chat i have set starttls = false -> BIND OK
> With $ldap_url = "ldaps://ldap-test.domain.fr:636"; it does not work
> neither


Hello,

PHP LDAP is relying on the operating system certificates to check SSL
connections. But if it works with ldapsearch, it should also work with
PHP LDAP.

You can set debug mode to have better logs:

# Debug mode
$debug = true;


-- 
Clément Oudot | Identity Solutions Manager

clement.ou...@worteks.com

Worteks | https://www.worteks.com

_______________________________________________
ltb-users mailing list
ltb-users@lists.ltb-project.org
https://lists.ltb-project.org/cgi-bin/mailman/listinfo/ltb-users

Reply via email to