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

unfunny Configuration Problem



Hallo everybody,

I have some problemes bringing slapd + friends to work successfully.

The machine slapd is supposed to be runing on is a SuSe Linux 5.3
with a 2.0.35 Kernel, libc5 and gcc version 2.7.2.1.

The source compiled very well, and all tests were done without problems.
So I tried to make my own database, and get this error:
                ldap_search: No such object

My configuration:

this is my slapd.conf     -------------------------------------------------
include /etc/slapd.at.conf
include /etc/slapd.oc.conf
schemacheck off
referral ldap://ldap.itd.umich.edu

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

database ldbm
suffix "o=ebis, c=DE"
directory /home/bheitman/ldbm
rootdn "cn=root, o=ebis, c=DE"
rootpw secret      
-----------------------------------------------------------------------------

This is the beginning of my Make-common --------------------------------------
EXTRALDFLAGS?=-g 
EXTRACFLAGS?=-g
MAKESLAPD= yes
LDBMBACKEND?=-DLDBM_USE_NDBM
LDBMINCLUDE?=
LDBMLIB?= 
LDAP_SENDMAIL?=/usr/lib/sendmail
LDAP_EDITOR?=/usr/ucb/vi
LDAP_FINGER?=/usr/ucb/finger 
MANCOMPRESS=cat
MANCOMPRESSSUFFIX= 
LDAP_DEBUG=-DLDAP_DEBUG
LDAP_REVERSE_LOOKUP=-DREVERSE_LOOKUP
LDAP_REFERRALS=-DLDAP_REFERRALS
LDAP_CRYPT_LIB=
---------------------------------------------------------------------------
I ommitted the directories, because I also have the foo?=bar problem with my
shell.


this is the beginning of include/ldapconfig.h.edit ----------------------------

#define DEFAULT_BINDIR          "%BINDIR%"
#define DEFAULT_SBINDIR         "%SBINDIR%"
#define DEFAULT_ETCDIR          "%ETCDIR%"
#define DEFAULT_LIBEXECDIR      "%LIBEXECDIR%"  
#define LDAPHOST        "localhost"
#define DEFAULT_LDAPHOST_FILE "%ETCDIR%/ldaphost"
#define DEFAULT_BASE    "o=ebis, c=DE"
#define DEFAULT_BASE_FILE "%ETCDIR%/ldapbase"   
#define DEFAULT_BINDDN          NULL
#define DEFAULT_BINDDN_FILE "%ETCDIR%/ldapbinddn" 
#define DEFAULT_BIND_CRED       NULL
#define DEFAULT_BIND_CRED_FILE "%ETCDIR%/ldapbindcred"

-----------------------------------------------------------------------

this is my ldif file --------------------------------------------------

dn: o=ebis, c=DE
o: ebis
objectclass: organization

dn: ou=Produktion, o=ebis, c=DE
objectclass: organizationalunit

dn: ou=PKW, ou=Produktion, o=ebis, c=DE
objectclass: organizationalunit

dn: cn=support, ou=Vertrieb, o=ebis, c=DE
cn: support
mail:support@fiktiv.de
facsimileTelephoneNumber:0190 332 332
objectclass: organizationalRole

dn: cn=Dr.Sommer, ou=PKW, ou=Produktion, o=ebis, c=DE
cn: Dr. Sommer
sn: Sommer
mail: Dr.Sommer@fiktiv.de
objectclass: person    

------------------------------------------------------------------------------------

and these are the commands used:

1.) I create the db:
 ldif2ldbm -d 1 -f /etc/slapd.conf -i ../fiktiv.ldif -e ../servers/slapd/tools

2.) the slapd server is started:
 slapd -f /etc/slapd.conf -p 9009 -d 1

3.) I try to search the database:
 ldapsearch -L -S "" -b "o=ebis, c=DE" -h localhost -p 9009 'objectClass=*'

and then the error occurs. :-(

I hope somebody can give me a useful hint.

If it is of any use I can also post the debuging output of command #1 and of
the slapd server.

cu. 42.


--
---DON'T PANIC------Benjamin Heitmann-----Chaos Computer Club Ulm----------
--------------------------------------------------------------------------
in magicam, in necromantiam, in astrologiam, in geomantiam, in pyromantiam,
in hydromantiam, in phaenologas Windows, in LINUX adeptam, in chaomantiam.