File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ Released 2.4.38 2017-05-xx
4
4
Changes since 2.4.37:
5
5
6
6
Lib/
7
+ * slapdtest now evaluates env var SLAPD for optionally pointing
8
+ to OpenLDAP's slapd executable
7
9
8
10
Tests/
9
11
@@ -1418,4 +1420,4 @@ Released 2.0.0pre02 2002-02-01
1418
1420
----------------------------------------------------------------
1419
1421
Released 1.10alpha3 2000-09-19
1420
1422
1421
- $Id: CHANGES,v 1.436 2017/04/27 11:11:01 stroeder Exp $
1423
+ $Id: CHANGES,v 1.437 2017/04/27 11:13:39 stroeder Exp $
Original file line number Diff line number Diff line change 3
3
4
4
See http://www.python-ldap.org/ for details.
5
5
6
- \$Id: slapdtest.py,v 1.3 2017/04/27 11:11:01 stroeder Exp $
6
+ \$Id: slapdtest.py,v 1.4 2017/04/27 11:13:39 stroeder Exp $
7
7
8
8
Python compability note:
9
9
This module only works with Python 2.7.x since
@@ -105,7 +105,7 @@ class SlapdObject(object):
105
105
INIT_SCHEMA_PATH = os .environ .get ('SCHEMA_PATH' , os .path .join (SCHEMADIR , INIT_SCHEMA_FILE ))
106
106
PATH_LDAPADD = os .path .join (BINDIR , 'ldapadd' )
107
107
PATH_LDAPWHOAMI = os .path .join (BINDIR , 'ldapwhoami' )
108
- PATH_SLAPD = os .path .join (SBINDIR , 'slapd' )
108
+ PATH_SLAPD = os .environ . get ( 'SLAPD' , os . path .join (SBINDIR , 'slapd' ) )
109
109
PATH_SLAPTEST = os .path .join (SBINDIR , 'slaptest' )
110
110
111
111
# time in secs to wait before trying to access slapd via LDAP (again)
You can’t perform that action at this time.
0 commit comments