[Date Prev][Date Next] [Chronological] [Thread] [Top]

Trigger PERL script upon database modification




I would like to be able to trigger the running of a PERL script upon add/del/mod of my bdb type database.  I have OpenLDAP with the back-perl extensions enabled.  I've read through the slapd and slapd-perl man pages but I am still unable to make this work using the sampleLDAP.pm file supplied.  Does anyone have a working example of the slapd.conf file or any other guidance in this scenario?  I feel like I'm missing something.  Here is a snippet of my current slapd.conf file:

#######################################################################
# perl database definitions
#######################################################################

backend                perl
perlModulePath                /openldap/perlModules
perlModule                SampleLDAP

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

database        bdb
suffix                "o=miproto"
rootdn                "cn=manager,o=miproto"
rootpw                {SHA}QzqT7ef3VQOCLSLjIeB9Fblegt4=
directory        /openldap/openldap-data
index                objectClass        eq


-A