Thank you Michael for the link. It probably what im running into. If i understand correctly, the lastbind functionality has been integrated into the main slapd binary. If yes, what do I need to do in order to use it?
Im looking at this: https://git.openldap.org/openldap/openldap/-/blob/6327f45d7de73f669fa438d4f5823e139cf4e6b4/contrib/slapd-modules/lastbind/slapo-lastbind.5 I decided to simply continue building the cn=config and noticed the new olcLastBindPrecision attributes under several DNs. dn: cn=schema,cn=config olcAttributeTypes: ( OLcfgDbAt:0.22 NAME 'olcLastBind' EQUALITY booleanMatch SYNTAX OMsBoolean SINGLE-VALUE ) olcAttributeTypes: ( OLcfgDbAt:0.23 NAME 'olcLastBindPrecision' EQUALITY integerMatch SYNTAX OMsInteger SINGLE-VALUE ) olcObjectClasses: ( OLcfgGlOc:4 NAME 'olcDatabaseConfig' DESC 'OpenLDAP Database-specific options' SUP olcConfig STRUCTURAL MUST olcDatabase MAY ( olcDisabled $ olcHidden $ olcSuffix $ olcSubordinate $ olcAccess $ olcAddContentAcl $ olcLastMod $ olcLastBind $ olcLastBindPrecision $ olcLimits $ olcMaxDerefDepth $ olcPlugin $ olcReadOnly $ olcReplica $ olcReplicaArgsFile $ olcReplicaPidFile $ olcReplicationInterval $ olcReplogFile $ olcRequires $ olcRestrict $ olcRootDN $ olcRootPW $ olcSchemaDN $ olcSecurity $ olcSizeLimit $ olcSyncUseSubentry $ olcSyncrepl $ olcTimeLimit $ olcUpdateDN $ olcUpdateRef $ olcMultiProvider $ olcMonitoring $ olcExtraAttrs ) ) dn: olcDatabase={-1}frontend,cn=config olcLastBind: TRUE olcLastBindPrecision: 0 dn: olcDatabase={0}config,cn=config olcLastBind: TRUE olcLastBindPrecision: 0 dn: olcDatabase={1}mdb,cn=config olcLastBind: TRUE olcLastBindPrecision: 0 dn: olcDatabase={2}monitor,cn=config olcLastBind: TRUE olcLastBindPrecision: 0 I tried to import my data.ldif but get this error: slapadd -n 1 -F /opt/symas/etc/openldap/slapd.d -l data.ldif <= str2entry: str2ad(authTimestamp): attribute type undefined slapadd: could not parse entry (line=24) Closing DB... I'm probably missing a configuration... in my cn=config... Any input is appreciated! Thank you, Dave On Mon, Nov 29, 2021 at 2:25 PM Michael Ströder <[email protected]> wrote: > On 11/29/21 19:47, Dave Macias wrote: > > Was attempting to add lastbind module but get error: > > Maybe you're hitting this one: > > https://bugs.openldap.org/show_bug.cgi?id=9725 > > Ciao, Michael. >
