[PLUTO-help] Problemi con LDAP e l'index

Pignedoli Luca lucap78 a interfree.it
Mar 19 Lug 2005 10:17:06 CEST


Ciao a tutti, ho installato un mail server con autenticazione su LDAP.

Funziona tutto pero' nel log messages mi trovo questi errori:

"bdb_equality_candidates: (uid) index_param failed (18)"

Il campo su cui da' errore varia in base alla query effettuata.

Questo e' lo slapd.conf:

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/yast.schema
include         /etc/openldap/schema/openxchange.schema

# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral       ldap://root.openldap.org

pidfile         /var/run/slapd/slapd.pid
argsfile        /var/run/slapd/slapd.args

# Load dynamic backend modules:
modulepath      /usr/lib/openldap/modules
# moduleload    back_ldap.la
# moduleload    back_meta.la
# moduleload    back_monitor.la
# moduleload    back_perl.la

#######################################################################
# bdb database definitions
#######################################################################

allow bind_v2
loglevel 2
TLSCertificateFile /etc/ssl/servercerts/servercert.pem
TLSCACertificatePath /etc/ssl/certs/
TLSCertificateKeyFile /etc/ssl/servercerts/serverkey.pem
database bdb
checkpoint      1024    5
cachesize       10000
suffix "dc=example,dc=org"
rootdn "uid=mailadmin,dc=example,dc=org"
rootpw "secret"
directory /var/lib/ldap

index objectClass,uidNumber,gidNumber eq
index member,mail eq,pres
index domainName,MTALocaldomain,cn,displayname,uid,sn,givenname sub,pres
index mailEnabled,lnetMailAccess,alias,loginDestination eq,sub
#index domainName,MTALocaldomain pres,eq,approx,sub

include /etc/openldap/acl_ox.conf

Qualcuno ha una qualche idea su come risolvere questo problema?

Grazie.




More information about the pluto-help mailing list