[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4728) accesslog dont write attributes removing



> It works fine here. Does test043 in the test suite succeed or fail for you?

It succeed, i send my configuration.

slapd.conf:

# Schema and objectClass definitions
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/samba-tng.schema
include         /etc/openldap/schema/myown.schema


# Where the pid file is put. The init.d script
# will not stop the server if you change this.
pidfile         /var/run/openldap/slapd.pid

# List of arguments that were passed to the server
argsfile        /var/run/openldap/slapd.args

# Read slapd.conf(5) for possible values
loglevel        256

# Allow LDAPv2 for legacy clients
allow           bind_v2
security        update_ssf=128

# Allow nof entries with single search
sizelimit       -1
timelimit       30

#threads
threads 256

# TLS
TLSCertificateFile      /etc/openldap/ssl/example.crt
TLSCertificateKeyFile   /etc/openldap/ssl/example.key
TLSCACertificateFile    /etc/openldap/ssl/ca.crt


# REFERRAL
referral        ldap://example.org

# ACL
include         /etc/openldap/example.acl

# Database conf
include         /etc/openldap/slapd.bdb.log.example
include         /etc/openldap/slapd.bdb.example


slapd.bdb.log.example:

database bdb
suffix          "cn=example_log,dc=logs"
directory       /var/lib/openldap-data/example/example_log
rootdn          "cn=example_log,dc=logs"
rootpw          "secret"

cachesize       5000
idlcachesize    1000

checkpoint      128     30

lastmod         on

overlay syncprov
syncprov-nopresent TRUE
syncprov-reloadhint TRUE

# Indexid
include         /etc/openldap/slapd.log.index


slapd.bdb.example:
database        bdb
suffix          "dc=example"
rootdn          "cn=admin,dc=example"
rootpw          "secret"

directory       "/var/lib/openldap-data/example/"
cachesize       100000
idlcachesize    100000

schemacheck     on
checkpoint      8       15
lastmod         on

include         /etc/openldap/slapd.index

overlay accesslog
logdb          cn=pop_log,dc=logs
logops         writes
logpurge       7+00:00 1+00:00
limits dn.exact="uid=sync,ou=sync,dc=example" time.soft=unlimited
time.hard=unlimited size.soft=unlimited size.hard=unlimited

overlay syncprov
syncprov-checkpoint 1000 60
syncprov-sessionlog 1000

modulepath      /usr/lib/openldap/openldap/
moduleload      back_monitor
database        monitor
rootdn          "cn=monitor"