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

Re: (ITS#8931) deref'ing non-existent attributes should not result in protocolError



michael@stroeder.com wrote:
> Full_Name: 
> Version: RE24
> OS: 
> URL: 
> Submission from: (NULL) (46.183.103.8)
> 
> 
> In aehostd I try to limit the number of required search requests. Therefore I'm
> using the deref control to read group and sudoers entries referenced in service
> groups.
> 
> If there are no such references (yet) slapd currently returns protocolError.

I don't see this in the deref code. It only returns protocolError if there is
any type of error when parsing the control itself. It knows nothing about any
referenced entries when it's parsing the control. There are no other instances
of protocolError in the overlay.

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