I use OpenLDAP on Debian Stretch. I wanted to use the auditlog
overlay module, however it does not seem to load.
I added the module
auditlog
to my config# module{0}, config dn: cn=module{0},cn=config objectClass: olcModuleList cn: module{0} olcModulePath: /usr/lib/ldap olcModuleLoad: {0}back_mdb olcModuleLoad: {1}memberof olcModuleLoad: {2}ppolicy olcModuleLoad: {3}pw-sha2 olcModuleLoad: {4}refint olcModuleLoad: {5}auditlog
When I try to setup the overlay it throws a syntax error:
adding new entry "olcOverlay=auditlog,olcDatabase={1}mdb,cn=config" ldap_add: Invalid syntax (21) additional info: objectClass: value #3 invalid per syntax
That means that OpenLDAP does not recognize the objectClass
olcAuditLogConfig
which should have been added by the auditlog
module. I tried using auditlog.la
instead but that does not make any difference.
Any suggestions?