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

RE: RESULT err=9



It looks like SRCH base="" needs yer base...

-----Original Message-----
From: Ian Eure [mailto:ieure@crosssound.narrows.com]
Sent: Tuesday, May 25, 1999 10:18 AM
To: openldap-general@OpenLDAP.org
Subject: RESULT err=9


I'm having a difficult time getting the OpenLDAP slapd working properly.
After I get things set up and working (unsure here, more later), I do a
"ldapsearch 'o=*'" - as I understand it, this should return all objects.
The ldapsearch just sits there, and in my logs, I see:

----
May 25 09:12:18 jade slapd[30332]: daemon: conn=3 fd=10 connection from
localhost (127.0.0.1) accepted. 
May 25 09:12:18 jade slapd[15489]: conn=3 op=0 BIND dn="" method=128 
May 25 09:12:18 jade slapd[15489]: conn=3 op=0 RESULT err=0 tag=97
nentries=0 
May 25 09:12:18 jade slapd[15490]: conn=3 op=1 SRCH base="" scope=2
filter="(o=*)" 
May 25 09:12:18 jade slapd[15490]: conn=3 op=1 RESULT err=9 tag=101
nentries=0 
----
The ldapsearch process never exits, even after waiting >30 minutes. A
strace after ~45 seconds shows:

----
select(1024, [3], [], NULL, NULL)       = ? ERESTARTNOHAND (To be
restarted)
--- SIGINT (Interrupt) ---
----
the SIGINT is from my control-c.

The same thing happens no matter what I feed to ldapsearch; perhaps I'm
just complerely lost on how to use it, but I have read all the docs I
can find, and still can't get the thing working.

About the configuration part of slapd; I use Debian Linux, and the
openldapd package has a configure script which runs when it is
installed. It sets up the administrator account and adds a few objects.

Any help is appriciated.

-- 
+-------------------------------------------------------------------------+
| Ian Eure
<ieure@crosssound.narrows.com>                                 |
| Network Administrator, Cross Sound Appraisal
Company                    |
|                                                                        
|
| "Believe it or not, there's more to being a sysadmin than
rabid         |
| technophilia."         --Annalee Newitz, "Invisible
Heroes"             |
+-------------------------------------------------------------------------+