4. Configuration of LDAP Server

4.1. Overview

Migrated services, including authentication from flat files to the Open LDAP server; tested.

Problems:

4.2. What I Did

Followed RedHat ref guide instructions:

4.3. Testing and Debugging; Problems

Having made appropriate changes on boiler.csu.umist.ac.uk, Solaris 2.8 machine, authentication from boiler to pinback failed. First, could pinback use its own LDAP server? No... Could not authenticate or finger except by flat files.

Running

    /usr/sbin/slapcat
showed that data was in the LDAP database;
    ldapsearch -h 127.0.0.1 -p 389 -x -s sub "o=talbycsuumist,c=gb" \
        "uid=simonh"
found nothing! Running slap with debug at level 256 and in the foreground showed a permission problem with the database files, /var/lib/ldap/*gdbm --- they had been installed with root-only access, not access for user ldap (which slapd runs with). A change of ownership and group to ldap solved this.

Deleting simonh from flat files with slapd running: no problems --- could still login and finger ok.

...previousup (conts)next...



About this document:

Produced from the SGML: /home/isd/public_html/_ldap_authentication/_reml_grp/index.reml
On: 5/7/2004 at 13:33:51
Options: reml2 -i noindex -l long -o html -p multiple