You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Zoerner (JIRA)" <ji...@apache.org> on 2006/12/01 15:08:23 UTC

[jira] Commented: (DIRSERVER-786) searching entries added prior to search using jndi's bind() and a statefactory

    [ http://issues.apache.org/jira/browse/DIRSERVER-786?page=comments#action_12454908 ] 
            
Stefan Zoerner commented on DIRSERVER-786:
------------------------------------------

We need more information in order to check whether it is a bug in your client code or in the ApacheDS code. The source code of the state factory, the domain classes and descriptions of the LDAP object classes you use etc. would be very helpful. You should also provide the search filter.

Thanks, 
    Stefan 

> searching entries added prior to search  using jndi's bind() and a statefactory
> -------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-786
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-786
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: mbah tenjoh-okwen
>         Assigned To: Alex Karasulu
>
> hello,
> I have used state factories to bind objects to apacheDS . Unfortunately I can't use the search() method of DirContext to obtain these entries because my NamingEnumeration  returned was always without elements.
> In other words, when I use a state factory in conjunction with  a bind-say ctx.bind("cn=mine", myObj) , thereafter, a lookup e.g. ctx.lookup("cn=mine") will find this entry, but  a  regular search(i.e. ctx.search() ) would not find this entry.
> Is this  the expected behaviour when using state  factories or  is this a bug?
> PS
> Im using JNDI
> thanks in advance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] Commented: (DIRSERVER-786) searching entries added prior to search using jndi's bind() and a statefactory

Posted by Emmanuel Lecharny <el...@gmail.com>.
Np at all :)

We prefer false issues than real ones :)

Emmanuel

On 12/4/06, Mbah Tenjoh-Okwen <te...@googlemail.com> wrote:
>
> Hi Stefan,
>
> Thanks for the effort and your time. Im sorry to say I had some logical
> error somewhere in my code. Could you please close the issue?
>
> thanks once  more.
>
> mbah
>
>
>
> On 12/1/06, Stefan Zoerner (JIRA) <ji...@apache.org> wrote:
> >
> >     [
> > http://issues.apache.org/jira/browse/DIRSERVER-786?page=comments#action_12454908]
> >
> > Stefan Zoerner commented on DIRSERVER-786:
> > ------------------------------------------
> >
> > We need more information in order to check whether it is a bug in your
> > client code or in the ApacheDS code. The source code of the state factory,
> > the domain classes and descriptions of the LDAP object classes you use etc.
> > would be very helpful. You should also provide the search filter.
> >
> > Thanks,
> >     Stefan
> >
> > > searching entries added prior to search  using jndi's bind() and a
> > statefactory
> > >
> > -------------------------------------------------------------------------------
> > >
> > >                 Key: DIRSERVER-786
> > >                 URL:
> > http://issues.apache.org/jira/browse/DIRSERVER-786
> > >             Project: Directory ApacheDS
> > >          Issue Type: Bug
> > >            Reporter: mbah tenjoh-okwen
> > >         Assigned To: Alex Karasulu
> > >
> > > hello,
> > > I have used state factories to bind objects to apacheDS .
> > Unfortunately I can't use the search() method of DirContext to obtain these
> > entries because my NamingEnumeration  returned was always without elements.
> > > In other words, when I use a state factory in conjunction with  a
> > bind-say ctx.bind("cn=mine", myObj) , thereafter, a lookup e.g.
> > ctx.lookup("cn=mine") will find this entry, but  a  regular search( i.e.
> > ctx.search() ) would not find this entry.
> > > Is this  the expected behaviour when using state  factories or  is
> > this a bug?
> > > PS
> > > Im using JNDI
> > > thanks in advance.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > If you think it was sent incorrectly contact one of the administrators:
> > http://issues.apache.org/jira/secure/Administrators.jspa
> > -
> > For more information on JIRA, see:
> > http://www.atlassian.com/software/jira
> >
> >
> >
>


-- 
Cordialement,
Emmanuel Lécharny

Re: [jira] Commented: (DIRSERVER-786) searching entries added prior to search using jndi's bind() and a statefactory

Posted by Mbah Tenjoh-Okwen <te...@googlemail.com>.
Hi Stefan,

Thanks for the effort and your time. Im sorry to say I had some logical
error somewhere in my code. Could you please close the issue?

thanks once  more.

mbah



On 12/1/06, Stefan Zoerner (JIRA) <ji...@apache.org> wrote:
>
>     [
> http://issues.apache.org/jira/browse/DIRSERVER-786?page=comments#action_12454908]
>
> Stefan Zoerner commented on DIRSERVER-786:
> ------------------------------------------
>
> We need more information in order to check whether it is a bug in your
> client code or in the ApacheDS code. The source code of the state factory,
> the domain classes and descriptions of the LDAP object classes you use etc.
> would be very helpful. You should also provide the search filter.
>
> Thanks,
>     Stefan
>
> > searching entries added prior to search  using jndi's bind() and a
> statefactory
> >
> -------------------------------------------------------------------------------
> >
> >                 Key: DIRSERVER-786
> >                 URL: http://issues.apache.org/jira/browse/DIRSERVER-786
> >             Project: Directory ApacheDS
> >          Issue Type: Bug
> >            Reporter: mbah tenjoh-okwen
> >         Assigned To: Alex Karasulu
> >
> > hello,
> > I have used state factories to bind objects to apacheDS . Unfortunately
> I can't use the search() method of DirContext to obtain these entries
> because my NamingEnumeration  returned was always without elements.
> > In other words, when I use a state factory in conjunction with  a
> bind-say ctx.bind("cn=mine", myObj) , thereafter, a lookup e.g. ctx.lookup("cn=mine")
> will find this entry, but  a  regular search(i.e. ctx.search() ) would not
> find this entry.
> > Is this  the expected behaviour when using state  factories or  is this
> a bug?
> > PS
> > Im using JNDI
> > thanks in advance.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>