[Date Prev][Date Next]
Really confusing responses (was: Re: Can't slapadd ldif file)
- To: openldap-software@OpenLDAP.org
- Subject: Really confusing responses (was: Re: Can't slapadd ldif file)
- From: Phil Dibowitz <email@example.com>
- Date: Mon, 02 Dec 2002 16:46:48 -0800
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1
OK, after a short vacation I'm back, and still having problems.
I deleted the database (/etc/init.d/openldap stop; rm /var/lib/ldap/*;
/etc/init.d/openldap start), and try and add the simple record again:
# more example.ldif
# ldapadd -f example.ldif
ldap_sasl_interactive_bind_s: No such attribute
Ingo recommended I move the objectclass above the o, so I did, and while
it seemed to work beefore, it doesn't work now (also thanks to Todd for
having me change o= to dc= and split based on dot.)
Also, Yarry asked:
I'm jumping into the middle of the conversation here. Have you told us
which schema's you're including? grep the schema files for the
and attributes in your ldif file and make sure you've included them.
# grep include /etc/openldap/slapd.conf
objectclass and o are both available in those files.
And just now I decided to restart ldap again and try again and I get:
# slapadd -f example.ldif
No databases found in config file
So now it doesn't work in a DIFFERENT way then before! WTF??
I'm running RedHat 7.3, latest updates, and these RPMs from Redhat:
I'm REALLY confused...
Phil Dibowitz firstname.lastname@example.org
Freeware and Technical Pages Insanity Palace of Metallica
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759