← Back to team overview

sslug-teknik team mailing list archive

http://ldap-abook.sourceforge.net/

 

Hejsa Folkens, 

er der nogen der har haft held med at konfigurere slapd (under redhat 6.2)
og installere ovenstående web-interface mm. til en delt adressebog?

Jeg vedhæfter mit sprg. som jeg sendte det til ldap-listen:

Dear Open-Sourcers !

I have downloaded ldap-abook because we want to share adresses in our
company. I try to install it on redhat 6.2, which come with open-ldap
server.

I have fetched the Perl modules needed and I can compile it. The make test
fails though and reading the many pages of information on ldap does not
help out.

I think I need a working /etc/open-ldap/* together with the default
answers to the configuration files, could someone send me that?

Here is the output from my installation, maybe you can see something:

[root@server ldap-abook-0.3.3]# !per
perl Makefile.PL

Checking for installed modules

Net::LDAP ....................ok
Palm::Address ................ok
Palm::StdAppInfo .............ok
Configure Abook now? [Y]
LDAP server: [localhost]
Base for LDAP Queries: [o=abook]
Manager for LDAP: [cn=admin,o=abook]
Manager's password: [secret]
Object Class For Address Book Entries: [abookPerson]
CGI bin directory (none = do not install):  /usr/local/apache/cgi-bin/ldap
Netscape/Outlook Express compatible schema: [N]
Writing Makefile for Abook
[root@server ldap-abook-0.3.3]# make
Skip blib/lib/Abook/Schema/compat.pm (unchanged)
Skip blib/lib/Abook/Schema/outlook.pm (unchanged)
Skip blib/lib/Abook/Config.pm (unchanged)
Skip blib/lib/Abook.pm (unchanged)
cp cgi-bin/abook.cgi blib/script/abook.cgi
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503
-MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/abook.cgi
cp cgi-bin/phonelist.cgi blib/script/phonelist.cgi
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503
-MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/phonelist.cgi
Manifying blib/man3/Abook.3

[root@server ldap-abook-0.3.3]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/basic.............ok
t/connect...........Problem binding to server: The wrong password was
supplied or the SASL credentials could not be processed
 at t/connect.t line 6
dubious
        Test returned status 255 (wstat 65280, 0xff00)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/5.00503/Test/Harness.pm line 288.
make: *** [test_dynamic] Error 255


[root@server ldap-abook-0.3.3]# cat /etc/openldap/slapd.conf
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /etc/openldap/slapd.at.conf
include         /etc/openldap/slapd.oc.conf
schemacheck     off
#referral       ldap://root.openldap.org/

pidfile         /var/run/slapd.pid
argsfile        /var/run/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix          "dc=kapow, dc=dk"
suffix          "o=abook, c=DK"
rootdn          "cn=admin, dc=kapow, dc=dk"
rootdn          "cn=admin, o=abook, c=DK"
rootpw          secret
# cleartext passwords, especially for the rootdn, should
# be avoid.  See slapd.conf(5) for details.
directory       /tmp