On Wed, 2003-06-25 at 11:49, Graham Barr wrote: > -----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.
Yes, that should be improved. > 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: Because you did not fill in the test.cfg file correctly > # 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 = ""; You are using openldap2, you must set $SCHEMA_DIR as the comment suggests Graham. > > $EXTERNAL_TESTS = 0; > > # %sortctrl = ( > # host => '<ldap server hostname>', > # base => '<search base>', > # filter => '<search filter>', > # order => '<sort attribute name>', > # ); > > > Thanks for your support! > > Cheers, > > Marek > >
