[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Another go at this...
I am having another go at using openldap - RH 7.2 - I don't think the
version matters but I will look it up if necessary. Quits on the first
record - must be a simple problem.
Here's what I get...
# ldapadd -x -v -h localhost -D "cn=Manager,dc=azapple,dc=com" -f
addbook.ldif
ldap_init( localhost, 0 )
add modifytimestamp:
20010706011041Z
add cn:
21st Century
add xmozillanickname:
21st Century
add mail:
root@tempe.21stcenturyvitamins.com
add xmozillausehtmlmail:
FALSE
add givenname:
21st Century
add objectclass:
top
person
adding new entry "cn=21st
Century,mail=root@tempe.21stcenturyvitamins.com"
ldap_add: No such object
*****
And for reference sake
*****
[root@barney ldif]# cat /etc/openldap/slapd.conf
# $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.
# This 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/redhat/rfc822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
include /etc/openldap/schema/redhat/kerberosobject.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.pid
#argsfile /var/run/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
#
# To allow TLS-enabled connections, create
/usr/share/ssl/certs/slapd.pem
# and uncomment the following lines.
# TLSCertificateFile /usr/share/ssl/certs/slapd.pem
# TLSCertificateKeyFile /usr/share/ssl/certs/slapd.pem
#
#######################################################################
# ldbm database definitions
#######################################################################
#
database ldbm
suffix "dc=azapple,dc=com"
rootdn "cn=Manager,dc=azapple,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# rootpw {crypt}blahblahblah
# The database directory MUST exist prior to running slapd AND
# should only be accessable by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap
# Indices to maintain
index objectClass,uid,uidNumber,gidNumber eq
index cn,mail,surname,givenname eq,subinitial
access to *
by * write