postgresql/src/test/ldap
Peter Eisentraut cf1238cd97 Log diagnostic messages if errors occur during LDAP auth.
Diagnostic messages seem likely to help users diagnose root
causes more easily, so let's report them as errdetail.

Author: Thomas Munro
Reviewed-By: Ashutosh Bapat, Christoph Berg, Alvaro Herrera, Peter Eisentraut
Discussion: https://postgr.es/m/CAEepm=2_dA-SYpFdmNVwvKsEBXOUj=K4ooKovHmvj6jnMdt8dw@mail.gmail.com
2017-10-12 22:37:14 -04:00
..
t Log diagnostic messages if errors occur during LDAP auth. 2017-10-12 22:37:14 -04:00
.gitignore Add LDAP authentication test suite 2017-09-15 11:44:29 -04:00
authdata.ldif Add LDAP authentication test suite 2017-09-15 11:44:29 -04:00
Makefile Add LDAP authentication test suite 2017-09-15 11:44:29 -04:00
README Add LDAP authentication test suite 2017-09-15 11:44:29 -04:00

src/test/ldap/README

Tests for LDAP functionality
============================

This directory contains a test suite for LDAP functionality.  This
requires a full OpenLDAP installation, including server and client
tools, and is therefore kept separate and not run by default.  You
might need to adjust some paths in the test file to have it find
OpenLDAP in a place that hadn't been thought of yet.

Also, this test suite creates an LDAP server that listens for TCP/IP
connections on localhost without any real access control, so it is not
safe to run this on a system where there might be untrusted local
users.

Running the tests
=================

    make check