directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: getClientAddress() does not provide remote connection info for anonymous connections
Date Tue, 23 Jul 2013 07:07:00 GMT
committed the fix here http://svn.apache.org/r1505919


On Tue, Jul 23, 2013 at 11:43 AM, Emmanuel Lécharny <elecharny@gmail.com>wrote:

> 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
>
>


-- 
Kiran Ayyagari
http://keydap.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message