postgresql/src/test/ldap
Peter Eisentraut b4e2ada347 In LDAP test, restart after pg_hba.conf changes
Instead of issuing a reload after pg_hba.conf changes between test
cases, run a full restart.  With a reload, an error in the new
pg_hba.conf is ignored and the tests will continue to run with the old
settings, invalidating the subsequent test cases.  With a restart, a
faulty pg_hba.conf will lead to the test being aborted, which is what
we'd rather want.
2018-02-13 09:12:45 -05:00
..
t In LDAP test, restart after pg_hba.conf changes 2018-02-13 09:12:45 -05: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 installcheck support to more test suites 2018-01-23 07:11:38 -05:00
README Add installcheck support to more test suites 2018-01-23 07:11:38 -05: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

or

    make installcheck