Hi Quanah I have some questions from update_config.ldif file 1) While configuring accesslog database we gave number 2 because 1 is the actual database? [image: image.png] [image: image.png]
2) Are we configuring syncprov for the accesslog database here? [image: image.png] 3) What exactly we are doing here. I see mdb number has changed to 3 [image: image.png] 4) Why we are configuring accesslog overlay with mdb value 3 [image: image.png] Thanks Rahul On Mon, Jul 6, 2020 at 3:35 PM kumar rahul <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> >> wrote: >> >>> >>> >>> --On Monday, July 6, 2020 3:18 PM -0400 kumar rahul >>> <[email protected]> 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> >>> >>
