Hi Quanah

   I re installed openldap with all the overlays

Here is the slapd -VVV output. I do see accesslog part of static overlays.

[HPE SmartFabric:root@SN2100-106 initial_config]#slapd -VVV
@(#) $OpenLDAP: slapd 2.4.50 (Jul  6 2020 18:11:26) $

@SN2100-106:/root/smartfabric/open-ldap/initial_config/openldap-2.4.50/servers/slapd

Included static overlays:
    accesslog
    auditlog
    collect
    constraint
    dds
    deref
    dyngroup
    dynlist
    memberof
    ppolicy
    pcache
    refint
    retcode
    rwm
    seqmod
    sssvlv
    syncprov
    translucent
    unique
    valsort
Included static backends:
    config
    ldif
    monitor
    mdb
    relay

++++++++++++++++++++++++++++++++++++++++
How ever i still see following ERROR

ldapmodify -x -D 'cn=config'  -w <password> -f update_config.ldif
adding new entry "olcDatabase={2}mdb,cn=config"

adding new entry "olcOverlay=syncprov,olcDatabase={2}mdb,cn=config"

adding new entry "olcOverlay={0}syncprov,olcDatabase={3}mdb,cn=config"



*adding new entry
"olcOverlay={1}accesslog,olcDatabase={3}mdb,cn=config"ldap_add: Invalid
syntax (21)        additional info: objectClass: value #1 invalid per
syntax*

here is the section which throws the ERROR

dn: olcOverlay={1}accesslog,olcDatabase={3}mdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcAccessLogConfig
olcOverlay: {1}accesslog
olcAccessLogDB: cn=accesslog
olcAccessLogOps: writes
olcAccessLogSuccess: TRUE
olcAccessLogPurge: 01+00:00  00+04:00

Thanks
Rahul


On Mon, Jul 6, 2020 at 1:15 PM Quanah Gibson-Mount <[email protected]> wrote:

>
>
> --On Monday, July 6, 2020 11:18 AM -0400 kumar rahul
> <[email protected]> wrote:
>
> >
> >
> > Hi Quanah
> >
> >
> >    Here is how I am building it
> >
> >
> > 1) Download version 2.4.50 from
> > https://www.openldap.org/software/download/
> > 2) Unpack the zip files
> > 3) ./configure --enable-bdb=no --enable-hdb=no --enable-ipv6=yes
>
> I strongly advise you to really read the output of ./configure --help.  It
> explicitly tells you what overlays are and are not enabled by default.
>
> Regards,
> Quanah
>
>
> --
>
> Quanah Gibson-Mount
> Product Architect
> Symas Corporation
> Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
> <http://www.symas.com>
>

Reply via email to