Hi Quanah

    I reconfigured ldap and the script ran fine. Thank you for all the help.Now i am 1 step closer to setting up delta syncrepl. Will reach out to you in case of any issue or clarification. Thank you for all the  help.

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"

modifying entry "olcDatabase={3}mdb,cn=config"

thanks
Rahul

On Mon, Jul 6, 2020 at 3:07 PM kumar rahul <rahul2002mit@gmail.com> wrote:
Hi Quanah

   Just to be sure I manually removed the line and typed it back but still see the ERROR. Following line is causing the issue

objectClass: olcAccessLogConfig

I am attaching the ldif file for your reference.

Thanks
Rahul

On Mon, Jul 6, 2020 at 2:40 PM Quanah Gibson-Mount <quanah@symas.com> wrote:


--On Monday, July 6, 2020 3:18 PM -0400 kumar rahul
<rahul2002mit@gmail.com> wrote:

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

At a guess, you have something like a space or tab after the objectClass
value.

--Quanah

--

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