LDAPS not connecting with PHP

后端 未结 2 737
旧时难觅i
旧时难觅i 2021-01-20 09:42

I\'m having issues using Windows to connect to a secure LDAP server, and I see the same thing everywhere online with no solution thats worked so far.

I have tried us

2条回答
  •  Happy的楠姐
    2021-01-20 10:22

    You can try changing the following line:

    $resource = ldap_connect("ldaps://{redacted}/", 636)
    

    To use your port number directly in the URI instead

    $resource = ldap_connect("ldaps://{redacted}:636")
    

    This has been known to work when the other will not.

提交回复
热议问题