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

Re: (ITS#8048) back-sock/slapo-sock issue



michael@stroeder.com wrote:
> michael@stroeder.com wrote:
>> Null-bytes really needed?
>
> Hmm, with null-bytes the wrong result code is returned to the LDAP client.
>
> Without null-bytes the correct result code is returned to the client but slapd
> complains about unknown string:
>
> 'RESULT\nmsgid: 1\ncode: 49\nmatched: uid=wuqww,cn=ampua,ou=ampua\ninfo: NOK\n\n'
>
> results in log message:
>
> 559174df str2result (msgid: 1
> code: 0
>
> ) unknown
> 559174df str2result (
> ) unknown

I would almost suspect you were running on Windows. None of the behavior 
you're reporting occurs for me using the searchexample.pl script. Sounds like 
your problem is a python runtime configuration, not a slapd bug.

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