directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: getClientAddress() does not provide remote connection info for anonymous connections
Date Tue, 23 Jul 2013 06:13:08 GMT
Le 7/23/13 7:55 AM, Kiran Ayyagari a écrit :
> On Mon, Jul 22, 2013 at 4:52 PM, Kiran Ayyagari <kayyagari@apache.org>wrote:
>
>>
>>
>> On Mon, Jul 22, 2013 at 4:38 PM, Ado Dao <adodao@hotmail.de> wrote:
>>
>>> When I search anonymous, e.g. with MS Outlook or so
>>>
>>> ldapsearch -h <host> -p 389 -x -b "dc=foo,dc=com" "mail=test@mail.loc"
>>>
>>> IOSession is null
>>>
>>> with authentication
>>>
>>> ldapsearch -h <host> -p 389 -w secret -D "uid=admin,ou=system"  -x -b
>>> "dc=foo,dc=com" "mail=test@mail.loc"
>>>
>>> IOSession is != null
>>>
>>> you are right, in anonymous case we are not storing the IoSession in the
>> CoreSession
>>
>>> I was wrong, (I looked at the wrong code block (related to SASL auth))
> the IoSession is set even
> in case of anonymous authentication, please check your code or give us a
> test case(or steps) to reproduce
> this  issue

I think that the user is doing a direct search, without any bind, and in
this case, I don't think we store the IoSession in the CoreSession.


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Mime
View raw message