Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

openLDAP question

2 views
Skip to first unread message

K. Lester

unread,
Jun 27, 2000, 3:00:00 AM6/27/00
to
i am running openLDAP on the latest release of Corel linux. Using the Quick
start guide from openldap.org I setup everything step by step.
After creating my initial LDIF file it only imported the first portion and
not the dn: cn=manager, etc portion that was in there also. Since then I
have created my users in the LDIF file, but have yet to get them to import
using the ldapadd -D "cn=manager, dc=domain, dc=com" -W < ldif.ldif

Anyone got any solutions?

Thanks
Kevin

K. Lester

unread,
Jun 27, 2000, 3:00:00 AM6/27/00
to
Forget it... got it.... took three hours of research.....

"K. Lester" <kle...@bellsouth.net> wrote in message
news:eQ565.165$4h2....@news.dbn.net...

brian

unread,
Jun 28, 2000, 3:00:00 AM6/28/00
to

Using the Quick
> start guide from openldap.org I setup everything step by step.
>
>
I think this quick start quide fails to mention that you have to create the
sldapd database first.
if you use berkley ldbm you do this with the following command

$(ETCDIR)/ldif2ldbm -f myslapd.conf -i myldif

where myldif contains the top object in your directory tree.

does this help?

K. Lester

unread,
Jun 28, 2000, 3:00:00 AM6/28/00
to
I got that far in the process.... which in directions the quick start guide
fails to state you have to make the ldbm using that method....

I am having an issue connection to it.... the ldapsearch works perfectly at
the console... but if I try it from another client in my domain I receive a
" resultcode 32 ( no such object ) " error...

Any clue?
Thanks.
Kevin
"brian" <leh...@tcd.ie> wrote in message news:8jd0mf$1nei$1...@web3.tcd.ie...

Ron Jarrell

unread,
Jun 28, 2000, 3:00:00 AM6/28/00
to
K. Lester <kle...@bellsouth.net> wrote:
> i am running openLDAP on the latest release of Corel linux. Using the Quick

> start guide from openldap.org I setup everything step by step.
> After creating my initial LDIF file it only imported the first portion and
> not the dn: cn=manager, etc portion that was in there also. Since then I
> have created my users in the LDIF file, but have yet to get them to import
> using the ldapadd -D "cn=manager, dc=domain, dc=com" -W < ldif.ldif


Look in your log and see if you're getting errors - without the -c option
ldapadd will bail on the first error it sees


Ron Jarrell

unread,
Jun 28, 2000, 3:00:00 AM6/28/00
to
K. Lester <kle...@bellsouth.net> wrote:
> I got that far in the process.... which in directions the quick start guide
> fails to state you have to make the ldbm using that method....

> I am having an issue connection to it.... the ldapsearch works perfectly at
> the console... but if I try it from another client in my domain I receive a
> " resultcode 32 ( no such object ) " error...

It's a searchbase issue likely. Your client either isnt' providing one,
and you don't have a default, or they're providing the typical c=us,
and you don't have a referral from c=us down to your tree.

K. Lester

unread,
Jun 28, 2000, 3:00:00 AM6/28/00
to
My tree is small.... cn=UserName, o=OrganizationName, c=US

I just don't get why everything works while I am at the Linux/LDAP server
and does not work from another client.....

Thanks.

"Ron Jarrell" <jar...@babylon5.cc.vt.edu> wrote in message
news:8je0j2$goi$2...@solaris.cc.vt.edu...

brian

unread,
Jun 29, 2000, 3:00:00 AM6/29/00
to

"> I am having an issue connection to it.... the ldapsearch works perfectly
at
> the console... but if I try it from another client in my domain I receive
a
> " resultcode 32 ( no such object ) " error...
>

Running slapd in debug mode (use slapd -d 1) can
be very helpful.Sounds like the suffix in your slapd.conf
file is not the same as the search base you use from your client.


0 new messages