[H-GEN] LDAP mystery error
Mark Corben
mcorben at bigpond.com
Wed Feb 26 22:26:47 EST 2003
Hi
I am having trouble setting up a basic LDAP database as a test.
I have created a test LDIF file - datenbank.ldif.
When I run the command :
ldapadd -D "cn=Manager, o=testnet.de" -w secret
< /etc/openldap/ldif/datenbank.ldif"
I get the following error:
ldap_sasl_interactive_bind_s: No such attribute
I am running SuSe 8.0 and have basically used the openldap package as it
was installed from SuSe disks
I don't have a starting point - I suspect that the attribute needs to be
defined in a file under the /etc/openldap directory
There is a directory /etc/openldap/schema which seems to be a whole lot
of definitions but none seem to be for this attribute.
Am I barking up the wrong tree ??
Below are the ldap.conf and slapd.conf files I have modified to use the
test database.
I am basically trying to get LDAP running so I can use my Netscape
address book with it.
Thanks
Mark Corben
####################### /etc/openldap/ldap.conf #######################
# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.4.8.6 2000/09/05
17:54:38 kurt Exp $
#
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
#BASE dc=example, dc=com
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
host 127.0.0.1
#base dc=harundi,dc=com
base o=testnet.de
ldap_version 2
################################################################
####################### /etc/openldap/slapd.conf #######################
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.7 2001/09/27
20:00:31 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
#### Added as Test ####
#include /etc/openldap/schema/corba.schema
#include /etc/openldap/schema/cosine.schema
#include /etc/openldap/schema/inetorgperson.schema
#include /etc/openldap/schema/java.schema
#include /etc/openldap/schema/krb5-kdc.schema
#include /etc/openldap/schema/misc.schema
#include /etc/openldap/schema/nis.schema
#include /etc/openldap/schema/openldap.schema
#schemacheck off
# 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.pid
argsfile /var/run/slapd.args
# Load dynamic backend modules:
# modulepath /usr/lib/openldap/openldap
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
#
# Sample Access Control
# Allow read access of root DSE
# Allow self write access
# Allow authenticated users read access
# Allow anonymous users to authenticate
#
#access to dn="" by * read
#access to *
# by self write
# by users read
# by anonymous auth
#
# if no access controls are present, the default is:
# Allow read by all
#
# rootdn can always write!
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "dc=my-domain,dc=com"
#suffix "dc=harundi,dc=com"
#suffix "o=My Organization Name,c=US"
rootdn "cn=Manager,dc=harundi,dc=com"
#rootdn "cn=Manager,dc=my-domain,dc=com"
#rootdn "cn=Manager,o=My Organization Name,c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap
## Indices to maintain
index objectClass eq
#### Added as Test ####
## Suffix / root directory. this is the highest entry in the
## LDAP directory
#suffix "o=testnet.de"
## Here the LDAP database is saved
#directory /var/lib/ldap
## the administrator's name of this directory
#rootdn "cn=Manager, o=testnet.de"
## here you specify the administrator's password
#rootpw secret
############################################
################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20030227/414402ae/attachment.html>
More information about the General
mailing list