openldap-ftree

Description

The back-ftree backend slapd module is designed to be a flexible memory-based directory-like tree structure. The tree structure is initiated when the slapd server is started by reading a flat-file in ldif format. The objects so read are stored internally in openldap's internal format and the application of filters etc use the build-in matching functions. Because it is memory based, access speed is maximised.

In addition, to providing a flexible structure, this module implements several advanced LDAP features not currently available in other LDAP modules:

  • Persistent searches according to draft-ietf-ldapext-psearch-03.txt
  • Dynamic directory services (rfc2589)

    By default the LDAP entries are constructed directly from the ldif entries. However, its also possible to define active ldif entries which use an external information source to build and maintain a subtree of the DIT. In this case the ldif entry actually provides the configuration information for the provider. For example, the ldif entry:

    dn: in=loadaverage, dc=localhost, dc=localdomain, o=grid
    objectclass: activeentry
    objectclass: exec
    command: /opt/openldap2-ftree/scripts/loadaverage
    arguments: in=loadaverage, dc=localhost, dc=localdomain, o=grid
    updateMethod: continuous
    updatePeriod: 60
    
    Tells the server that the entries, rooted at "in=loadaverage, dc=localhost, dc=l ocaldomain, o=grid" are to be provided by an activeentry of type "exec" which runs the shell /opt/openldap2-ftree/scripts/loadaverage Updates are requested every 60 sec.

    The activeentries are implemented as additional dynamically loaded modules which may be loaded into the server (currently at start time), and may contain t heir own threads of execution. Three activeentry modules are currently provided:

     
    back_ftree_exec      which  provides support for legacy shell scripts compatible
                         with the standard back_shell module, also "simple" shell scripts
                         which simple produce a ldif listing on their stdout
     
    back_ftree_cache     which allows one to cache the entries provided by another server.
     
    back_ftree_logfile   which builds a LDAP structure from the contents of a logfile
    

    Requirements

    This software has been developed and tested on RedHat Linux version 6.2

    Download

    A distribution of openldap 2.0.11 built with this modulein RPM format is available from http://www.gridpp.ac.uk/download/development/RPMS/openldap-ftree-2.0.11ft0.8.4-1.i386.rpm

    And the source RPM is availble from http://www.gridpp.ac.uk/download/development/SRPMS/openldap-ftree-2.0.11ft0.8.4-1.src.rpm


    Last modified Wed 26 November 2003 . View page history
    Switch to HTTPS . Website Help . Print View . Built with GridSite 1.4.3
  • For more about GridPP please contact Neasan O'Neill