Hi Quanah

   If i comment out the module loading part then I am getting following ERROR

[HPE SmartFabric:root@SN2100-106 initial_config]#ldapmodify -x -D 'cn=config'  -w secret -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

and this ERROR is for section

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

Let me know what is wrong with this.

Thanks
Rahul

On Wed, Jul 1, 2020 at 6:16 PM Quanah Gibson-Mount <quanah@symas.com> wrote:


--On Wednesday, July 1, 2020 6:43 PM -0400 kumar rahul
<rahul2002mit@gmail.com> wrote:

>
>
> Hi Quanah
>
>
>    Here is the output of slapd -VVV command. I do see accesslog as
> static overlays.
>
>
>
> What changes i need to make in below snippet

Moduleloading is only for dynamic modules.  Since you don't have a dynamic
module, you don't need to load it.

Regards,
Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>