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

lastbind overlay issue



Title: lastbind overlay issue

Hi,

I have built the last bind overlay and followed the steps.

I get an error

line 63 (overlay lastbind)

overlay "lastbind" not found

/usr/local/etc/openldap/slapd.conf: line 63: <overlay> handler exited with 1!

What did it do wrong?

Here is the information of my LDAP

Libexec/openldap  has all the files

[root@pacman openldap]# ls -l /usr/local/libexec/openldap

total 28

-rwxr-xr-x 1 root root  808 Sep 29 09:18 lastbind.la

-rwxr-xr-x 1 root root  324 Sep 29 09:18 lastbind.lo

-rwxr-xr-x 1 root root 4440 Sep 29 09:18 lastbind.o

slapd.conf file

# Do not enable referrals until AFTER you have a working directory

# service AND an understanding of referrals.

#referral       ldap://root.openldap.org

pidfile         /usr/local/var/run/slapd.pid

argsfile        /usr/local/var/run/slapd.args

# Load dynamic backend modules:

 [root@pacman openldap]# ls -l /usr/local/libexec/openldap

total 28

-rwxr-xr-x 1 root root  808 Sep 29 09:18 lastbind.la

-rwxr-xr-x 1 root root  324 Sep 29 09:18 lastbind.lo

-rwxr-xr-x 1 root root 4440 Sep 29 09:18 lastbind.o

 

 modulepath     /usr/local/libexec/openldap

 moduleload     back_bdb.la

 moduleload     back_hdb.la

 moduleload     back_ldap.la

 moudleload    lastbind.la

# Sample security restrictions

#       Require integrity protection (prevent hijacking)

#       Require 112-bit (3DES or better) encryption for updates

#       Require 63-bit encryption for simple bind

# security ssf=1 update_ssf=112 simple_bind=64

# Sample access control policy:

#       Root DSE: allow anyone to read it

#       Subschema (sub)entry DSE: allow anyone to read it

#       Other DSEs:

#               Allow self write access

#               Allow authenticated users read access

#               Allow anonymous users to authenticate

#       Directives needed to implement policy:

 access to dn.base="" by * read

 access to dn.base="cn=Subschema" by * read

 access to *

        by self write

        by users read

        by anonymous auth

#

# if no access controls are present, the default policy

# allows anyone and everyone to read anything but restricts

# updates to rootdn.  (e.g., "access to * by * read")

#

# rootdn can always read and write EVERYTHING!

#######################################################################

# BDB database definitions

#######################################################################

database        bdb

suffix         "o=DSS,c=US"

overlay lastbind

lastbind-precision 604800

rootdn          "cn=Manager,o=DSS,c=US"

# Cleartext passwords, especially for the rootdn, should

# be avoid.  See slappasswd(8) and slapd.conf(5) for details.

# Use of strong authentication encouraged.

rootpw  secret

# The database directory MUST exist prior to running slapd AND

Thanks,

Satish