-----Forwarded Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: perl ldap test with server
Date: 25 Jun 2003 11:40:52 +0200

Hello Graham,

I got the latest perl-ldap distribution (and all its required modules),
which builds ok on my perl-5.8.0 (ithreads), Linux RedHat 7.2.
I try to run the tests with the openldap server, which does not work.
I see two issues:
1. The t/common.t should recognize that the server could not be
  started.
2. The reason for this problem should be fixed. Unfortunately I am
 a LDAP illiterate (just installing the module for others) so I cannot
 fix this:

[ command line taken from output of make test TEST_VERBOSE=1 ]
$ /opt/TWWfsw/openldap218/libexec/slapd -f ./temp/conf -h
ldap://127.0.0.1:9009/ -d 1
@(#) $OpenLDAP: slapd 2.1.8 (Wed Apr 16 11:40:12 CDT 2003) $
        @conan.il.thewrittenword.com:/opt/build/openldap-2.1.8/servers/slapd
daemon_init: listen on ldap://127.0.0.1:9009/
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://127.0.0.1:9009/)
daemon: initialized ldap://127.0.0.1:9009/
daemon_init: 1 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_open: initialize BDB backend
bdb_open: Sleepycat Software: Berkeley DB 4.1.25: (December 27, 2002)
./data/core.schema: line 29: attribute type "2.5.18.1" is operational
slapd shutdown: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.

This is my test.cfg:

# Set this to the path to where you have slapd
$SERVER_EXE = "/opt/TWWfsw/openldap218/libexec/slapd";

# This should be one of
#  openldap1
#  openldap2
#  openldap2[+ssl][+ipc][+sasl]
$SERVER_TYPE = "openldap2+sasl";

# $HOST = "localhost";

# If you are using openldap 2.1 then you will need to change this to point
# to your installation schema dir (eg /usr/local/etc/openldap/schema)
$SCHEMA_DIR = "";

$EXTERNAL_TESTS = 0;

# %sortctrl = (
#   host   => '<ldap server hostname>',
#   base   => '<search base>',
#   filter => '<search filter>',
#   order  => '<sort attribute name>',
# );


Thanks for your support!

Cheers,

Marek


Reply via email to