[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
OpenLdap (ITS#1107)
Full_Name: Maeva
Version: openLdap 2.0.7
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (213.11.68.242)
Hello,
I use OpenLdap 2.0.7 (Redhat 7.0) and when I want to check
the command ldapadd:
ldapadd -f harmonie.ldif -D "cn=adm, dc=harmonie, dc=fr" -w pass
with harmonie.ldif:
dn: o=harmonie,c=fr
o: harmonie
description: Harmonie XXX
postofficebox: VERRUE
postaladdress: 1 Rue de Lutin
postalcode: 83100
objectclass: organization
and the configuration file:
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18
kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# Tharmonies file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/rfc822MailMember.schema
# Define global ACLs to disable default read access.
schemacheck off
TLSCertificateFile /etc/openldap/certs/openldap.pem
TLSCertificateKeyFile /etc/openldap/certs/openldap.key
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile /var/lib/slapd.pid
argsfile /var/lib/slapd.args
# Load dynamic backend modules:
# modulepath /usr/sbin/openldap
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "o=harmonie, c=fr"
rootdn "cn=adm,o=harmonie,c=fr"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw pass
# The database directory MUST exist prior to running slapd AND
# should only be accessable by the slapd/tools. Mode 700 recommended.
directory /var/lib/openldap-ldbm
# Indices to maintain
index objectClass eq
#acces
access to *
by self write
by dn="cn=adm,o=harmonie,c=fr" write
by * read
this doesn't work, the server answers:
ldap_sasl_interactive_bind_s: unknown error
Can anyone, tell me What happened ?
Maeva.
PS: LDAP server is running.