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