Guest User

ldap.conf file variations

a guest
Jan 26th, 2016
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. I have tried all of these variations for the contents of the ldap.conf and openldap.conf files in all the locations mentioned in this post: http://stackoverflow.com/questions/35018674/php-ldap-connect-using-ldaps-to-connect-to-active-directory-getting-unknown-ca-e/35020990#35020990
  2.  
  3. Note: certnew_b64.cer is the CA's certificate in PEM format.
  4.  
  5. V1:
  6. ------------
  7. tls_cacertfile E:\OpenSSL\bin\PEM\ad_ca_cert\certnew_b64.cer
  8. ------------
  9.  
  10. V2:
  11. ------------
  12. tls_cacertfile E:\\OpenSSL\\bin\\PEM\\ad_ca_cert\\certnew_b64.cer
  13. ------------
  14.  
  15. V3:
  16. ------------
  17. tls_cacertfile E:/OpenSSL/bin/PEM/ad_ca_cert/certnew_b64.cer
  18. ------------
  19.  
  20. V4:
  21. ------------
  22. tls_cacertfile E:\\OpenSSL\\bin\\PEM\\ad_ca_cert\\certnew_b64.cer
  23. tls_cacertdir E:\\OpenSSL\\bin\\PEM\\d_ca_cert\\
  24. ------------
  25.  
  26. V5:
  27. (I tried to get the output from executing my test PHP script to show any kind of error that would indicate it is trying to use this conf file by putting an invalid statement into it. No change in test php output.
  28. ------------
  29. Obvious Syntax Error
  30. tls_cacertfile E:\\OpenSSL\\bin\\PEM\\ad_ca_cert\\certnew_b64.cer
  31. tls_cacertdir E:\\OpenSSL\\bin\\PEM\\d_ca_cert\\
  32. ------------
Advertisement
Add Comment
Please, Sign In to add comment