You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "mbah tenjoh-okwen (JIRA)" <di...@incubator.apache.org> on 2006/12/01 14:43:21 UTC

[jira] Created: (DIR-197) searching entries added prior to search using jndi's bind() and a statefactory

searching entries added prior to search  using jndi's bind() and a statefactory
-------------------------------------------------------------------------------

                 Key: DIR-197
                 URL: http://issues.apache.org/jira/browse/DIR-197
             Project: Directory
          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] Created: (DIR-197) searching entries added prior to search using jndi's bind() and a statefactory

Posted by Emmanuel Lecharny <el...@gmail.com>.
tnaks Stefan :)

I could have done it myself, but being lazzy ...

Emmanuel

On 12/1/06, Stefan Zoerner <st...@labeo.de> wrote:
>
> Emmanuel Lecharny wrote:
>
> > can you create or move the JIRA to DIR-SERVER ? The other item (DIR) is
> > not used anymore for Ldap related issues.
> >
> > Thanks a lot ! (and sorry for the burden, it's just for us a question of
> > not loosing information)
> >
>
> I have moved this item to DIR-SERVER.
> Greetings from Hamburg,
>      Stefan
>
>


-- 
Cordialement,
Emmanuel Lécharny

Re: [jira] Created: (DIR-197) searching entries added prior to search using jndi's bind() and a statefactory

Posted by Stefan Zoerner <st...@labeo.de>.
Emmanuel Lecharny wrote:

> can you create or move the JIRA to DIR-SERVER ? The other item (DIR) is 
> not used anymore for Ldap related issues.
> 
> Thanks a lot ! (and sorry for the burden, it's just for us a question of 
> not loosing information)
> 

I have moved this item to DIR-SERVER.
Greetings from Hamburg,
     Stefan


Re: [jira] Created: (DIR-197) searching entries added prior to search using jndi's bind() and a statefactory

Posted by Emmanuel Lecharny <el...@gmail.com>.
Hi,

can you create or move the JIRA to DIR-SERVER ? The other item (DIR) is not
used anymore for Ldap related issues.

Thanks a lot ! (and sorry for the burden, it's just for us a question of not
loosing information)

On 12/1/06, mbah tenjoh-okwen (JIRA) <di...@incubator.apache.org>
wrote:
>
> searching entries added prior to search  using jndi's bind() and a
> statefactory
>
> -------------------------------------------------------------------------------
>
>                  Key: DIR-197
>                  URL: http://issues.apache.org/jira/browse/DIR-197
>              Project: Directory
>           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 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
>
>
>

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

Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSERVER-786?page=all ]

Emmanuel Lecharny resolved DIRSERVER-786.
-----------------------------------------

    Resolution: Invalid

It was not an ADS problem. Closed as requested by Mbah

> 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

        

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

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-786.
---------------------------------------


> searching entries added prior to search  using jndi's bind() and a statefactory
> -------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-786
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-786
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: mbah tenjoh-okwen
>            Assignee: 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.
-
You can reply to this email to add a comment to the issue online.