blob: 4dc53a1bde07cb296561c18daeea74ac3898fd4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
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
=================
NOTE: You must have given the --enable-tap-tests argument to configure.
Run
make check
or
make installcheck
You can use "make installcheck" if you previously did "make install".
In that case, the code in the installation tree is tested. With
"make check", a temporary installation tree is built from the current
sources and then tested.
Either way, this test initializes, starts, and stops a test Postgres
cluster, as well as a test LDAP server.
Requirements
============
LDAP server and client tools are required.
Debian/Ubuntu packages: slapd ldap-utils
RHEL/CentOS packages: openldap openldap-clients openldap-servers
FreeBSD: openldap24-server openldap24-client
|