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

Re: Search returning nothing with 2.1.25, but ok with 2.0.27



Hi

I've got the same behaviour. By the way, I've tried with ldapsearch both v. 2.0.27 and v. 2.1.25.
So with this problem I had to downgrade to 2.0.27...


The tipical thing I suggest in these cases where nothing returns is to
check the filesystem permissions and make sure the slapd daemon can
read its database (it usually runs as another user besides root).


Nopz, permissons are ok. As I said in the first post of this thread, slapd server version 2.1.25 returns my search when I perform:

ldapsearch -x -h newserver -b 'dc=emprel,dc=recife' uid=brasilino*

	Note the "*", but not when I do:

ldapsearch -x -h newserver -b 'dc=emprel,dc=recife' uid=brasilino

	When I perform this last one against an 2.0.27, it works fine.

	Running 2.1.25 in debug mode, it says:

<snip>
=> ldbm_cache_open( "/var/lib/ldap/uid.gdbm", 34, 600 )
<= ldbm_cache_open (cache 7)
=> key_read
<= index_read 0 candidates
<= equality_candidates NULL
<= equality_candidates 0
<= filter_candidates 0
<= list_candidates 0
<= filter_candidates 0
<= list_candidates NULL
<= filter_candidates 0
====> cache_return_entry_r( 222 ): returned (0)
ldbm_search: no candidates
send_search_result: err=0 matched="" text=""
</snip>

	Any guess?

thanks
	
--

[]'s
Lucas Brasilino
brasilino@recife.pe.gov.br
http://www.recife.pe.gov.br
Emprel -	Empresa Municipal de Informatica (pt_BR)
		Municipal Computing Enterprise (en_US)
Recife - Pernambuco - Brasil
Fone: +55-81-34167078