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

OpenLDAP install



Title: OpenLDAP install

I am trying to install OpenLdap on another machine but I am having a strange problem.

I have started the SLAPD successfully. I can also do a search even though I am not getting anything back (which is normal since I have not uploaded anything).

The problem comes when I try to LDAPADD, it gives me an Operations Error.

The LDIF I uploading is the following (basically very generic).

dn: dc=com
objectclass: Domain
objectclass: Top
dc: com


Here is my SLAPD.CONF file too but this is an exact duplicate of the file that works on my other machine.

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.4 2002/10/17 15:06:27 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/intranet.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.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/slapd.pid
argsfile        /var/slapd.args

# Load dynamic backend modules:
# modulepath    /usr/libexec/openldap
# moduleload    back_bdb.la
# moduleload    back_ldap.la
# moduleload    back_ldbm.la
# moduleload    back_passwd.la
# moduleload    back_shell.la

# Sample security restrictions
#
#   Disallow clear text exchange of passwords
# disallow bind_simple_unprotected
#
#       Require integrity protection (prevent hijacking)
#       Require 112-bit (3DES or better) encryption for updates
#       Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64

allow bind_v2

# Sample access control policy:
#       Allow read access of root DSE
#       Allow self write access
#       Allow authenticated users read access
#       Allow anonymous users to authenticate
# Directives needed to implement policy:
#access to dn.base="" by * read
#access to *
#       by self write
#       by users read
#       by anonymous auth
#
access to *
        by self write
        by users read
        by anonymous auth
        by * read

access to attr=userPassword
        by self write
        by anonymous auth


# if no access controls are present, the default policy is:
#       Allow read by all
#
# rootdn can always write!

#######################################################################
# ldbm database definitions
#######################################################################

database        bdb
suffix          "dc=com"
rootdn          "cn=superoid,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          {CRYPT}GJvuVzPlvgc/E
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory       /var/openldap-data
# Indices to maintain
index   objectClass     eq

Olivier Doisneau       
Sr. Oracle DBA
(212) 951-5220
Near 40" 44' 45 ' ' N, 73" 59' 05 ' ' W 



This message contains information which may be confidential and privileged. Unless you are the intended recipient (or authorized to receive this message for the intended recipient), you may not use, copy, disseminate or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail, and delete the message. Thank you very much.