Re: Strange search result in logs

2024-03-27 Thread Howard Chu
Quanah Gibson-Mount wrote:
> 
> 
> --On Wednesday, March 27, 2024 11:28 AM +0100 Frédéric Goudal 
>  wrote:
> 
>> Hello,
>>
>> I'm trying to analyse the requests done to my ldapserver from a  nas.
>> While browsing the logs I found the following entries :
>>
>> I have no specific ACL on the ip quering.
> 
> 
> Do you have any "limits" directives in your configuration?

He should instead check for a sizelimit being set by the client.

-- 
  -- Howard Chu
  CTO, Symas Corp.   http://www.symas.com
  Director, Highland Sun http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/


Re: Strange search result in logs

2024-03-27 Thread Frédéric Goudal



> Le 27 mars 2024 à 15:35, Quanah Gibson-Mount  a écrit :
> 
> 
> 
> --On Wednesday, March 27, 2024 11:28 AM +0100 Frédéric Goudal 
>  wrote:
> 
>> Hello,
>> 
>> I'm trying to analyse the requests done to my ldapserver from a  nas.
>> While browsing the logs I found the following entries :
>> 
>> I have no specific ACL on the ip quering.
> 
> 
> Do you have any "limits" directives in your configuration?

No. 

But I think I have found the solution (as always after asking on the list) : if 
I add a size limit in the query (ldapsearch -z 1) I have exactly the same log 
lines when query manually than the NAS.
So I guess that the NAS is trying to find if there is any data gidNumber in the 
ou branch, if it gets one entry and err=4 that means there are data

Sorry for the too quick question.

f.g




> --Quanah

— 
Frédéric Goudal
Ingénieur Système, DSI Bordeaux-INP
+33 556 84 23 11






Re: Strange search result in logs

2024-03-27 Thread Quanah Gibson-Mount




--On Wednesday, March 27, 2024 11:28 AM +0100 Frédéric Goudal 
 wrote:



Hello,

I'm trying to analyse the requests done to my ldapserver from a  nas.
While browsing the logs I found the following entries :

I have no specific ACL on the ip quering.



Do you have any "limits" directives in your configuration?

--Quanah