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

Beginners question



Hello list,

although alredy having running a ldap server here, I have some problems 
getting a second one running on another machine.
I thought to have done the same as with the first one, it doesnt´t work.
My slapd.conf file 
<slapd.conf>
#
# 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/rfc2307bis.schema
include         /etc/openldap/schema/yast.schema
include         /etc/openldap/schema/mozilla_op20.schema
include         /etc/openldap/schema/extension.schema
include         /etc/openldap/schema/samba3.schema
#include                /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/openldap.schema
include         /etc/openldap/schema/evolutionperson.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

# loglevel 63

# 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

# Sample security restrictions
#       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
#password-hash   {SSHA}


# Sample access control policy:
#       Root DSE: allow anyone to read it
#       Subschema (sub)entry DSE: allow anyone to read it
#       Other DSEs:
#               Allow self write access to user password
#               Allow anonymous users to authenticate
#               Allow read access to everything else
#       Directives needed to implement policy:
access to dn.base="dc=inventex,dc=de"
        by * read


# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn.  (e.g., "access to * by * read")
#
# rootdn can always read and write EVERYTHING!

#######################################################################
# BDB database definitions
#######################################################################

database        bdb
checkpoint      1024    5
cachesize       10000
suffix          "dc=mydomain,dc=de"
rootdn          "cn=admin,dc=mydomain,dc=de"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          {SSHA}xyZje65243ZweqHTRfqlP29
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory       /var/lib/ldap
# Indices to maintain
index objectclass pres,eq
</slapd.conf>

trying to add enties with ldapadd results in
<shell>
tux:/etc/openldap # ldapadd -D "cn=admin,dc=mydomain,dc=de" -W -f base.ldif
Enter LDAP Password:
ldap_sasl_interactive_bind_s: No such object (32)
</shell>

Syslog shows:
<syslog>
May  4 13:28:03 tux slapd[21119]: conn=3 fd=11 ACCEPT from IP=127.0.0.1:28273 
(IP=0.0.0.0:389)
May  4 13:28:03 tux slapd[21119]: conn=3 op=0 SRCH base="" scope=0 deref=0 
filter="(objectClass=*)"
May  4 13:28:03 tux slapd[21119]: conn=3 op=0 SRCH 
attr=supportedSASLMechanisms
May  4 13:28:03 tux slapd[21119]: conn=3 op=0 SEARCH RESULT tag=101 err=0 
nentries=0 text=
May  4 13:28:03 tux slapd[21119]: conn=3 fd=11 closed
</syslog>

ldapsearch -x -b '' -s base '(objectclass=*)'
shows:
# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 0 Success

# numResponses: 1

What´s wrong?

Regards

Harry

p.s. version is 2.2.27, OS SuSE 10.0