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

RE: Nothing but problems...

Are u starting Ldap with -d -1 (enables all logging)?

why do you need to use -h?

using ldapadd -f  test.ldif -x -D "cn=Manager, dc=unicomm,
dc=com,dc=au" -w secret
should be enough...

I see though that you have some spaces between your cn definition...
this is usually not good, make sure there are no spaces (including in
your test.ldif and slapd.conf).

Lastly it would be nice to get which versions of ldap and bdb you are
using... there have been some compatabilities and other issues with
certain versions.


-----Original Message-----
From: Daniel Roe [mailto:daniel@unicomm.com.au]
Sent: 17 September 2002 05:48
To: openldap-software@OpenLDAP.org
Subject: Nothing but problems...

I grab openldap and spend a week wondering why it dosn't work with the
Berkeley DB
Im finnaly forced to use on old version of Berkeley and then i try to
4 hours search mailing list archives, 20 attempts to compile and it
builds without nasty errors
Reading a post from a fellow slackware luser i note the make test
always fails
so i leave it

I test slapd works using ldapsearch the way the guide says to and it
does (tho i
must use the -h option)
I setup my config files and my sample ldif files and try using ldapadd
just like
the guide says to
Then all hell breaks loose and i get "ldap_bind: Invalid credentials
A look through the logs leaves me no clue what so ever

slapd[16139]: daemon: conn=1 fd=10 connection from IP=
(IP= accepted.
slapd[16139]: conn=1 op=0 BIND dn="dc=unicomm,dc=com,dc=au" method=128
slapd[16139]: conn=1 op=0 RESULT tag=97 err=49 text=
slapd[16139]: conn=1 fd=10 closed

database        bdb
suffix          "dc=unicomm, dc=com, dc=au"
rootdn          "cn=Manager, dc=unicomm, dc=com,dc=au"
rootpw          secret
directory       /usr/local/var/openldap-data

dn: dc=unicomm, dc=com, dc=au
objectclass: dcObject
objectclass: organization
dc: unicomm
o: Unicomm

dn: cn=Manager, dc=unicomm, dc=com, dc=au
objectclass: organizationalRole
cn: Manager

Daniel Roe - One frustrated luser
'I wish i was the size of an atom... so i could jump inside my hdd and
beat the
crap out of ldap'