Le 25/01/2016 13:45, Shekar a écrit :
Hello All,

I am trying to setup forgot password page, in self-service portal , with default questions ( what's the color i like ) however, it fails saying 'Cannot access LDAP directory' , below is the log from apache,


[Mon Jan 25 17:57:38 2016] [error] [client 172.17.99.69] PHP Notice: Undefined variable: samba_mode in /usr/share/self-service-password/index.php on line 70, referer: http://172.31.0.112/index.php?action=setquestions [Mon Jan 25 17:57:38 2016] [error] [client 172.17.99.69] PHP Warning:ldap_start_tls(): Unable to start TLS: Operations error in /usr/share/self-service-password/pages/setquestions.php on line 81, referer: http://172.31.0.112/index.php?action=setquestions

[Mon Jan 25 17:57:38 2016] [error] [client 172.17.99.69] LDAP - Unable to use StartTLS, referer: http://172.31.0.112/index.php?action=setquestions


Below is the log from ldap,


Jan 25 17:59:03 z-dc-ldap slapd[17586]: conn=1000 fd=21 ACCEPT from IP=172.31.0.112:55163 <http://172.31.0.112:55163> (IP=0.0.0.0:636 <http://0.0.0.0:636>) Jan 25 17:59:03 z-dc-ldap slapd[17586]: conn=1000 fd=21 TLS established tls_ssf=128 ssf=128 Jan 25 17:59:03 z-dc-ldap slapd[17586]: conn=1000 op=0 EXT oid=1.3.6.1.4.1.1466.20037
Jan 25 17:59:03 z-dc-ldap slapd[17586]: conn=1000 op=0 STARTTLS
Jan 25 17:59:03 z-dc-ldap slapd[17586]: conn=1000 op=0 RESULT oid= err=1 text=TLS already started
Jan 25 17:59:03 z-dc-ldap slapd[17586]: conn=1000 op=1 UNBIND

Jan 25 17:59:03 z-dc-ldap slapd[17586]: conn=1000 fd=21 closed

Any pointers are greatly helpful.


Hi,

the error in the log is quite clear: "TLS already started". You can use both startTLS and LDAPS. Disable startTLS if you already use ldaps://

--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux

_______________________________________________
ltb-users mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-users

Reply via email to