Le 07/03/2018 à 16:35, George S. a écrit :
> Using 1.0.0 If I run this code:
>
> EntryCursor cursor=lc.search(base,"(objectclass=*)",SearchScope.ONELEVEL);
> for (Entry entry : cursor){
> entries.add(entry);
> } I get this exception. It may be related to referrals. The reason I
> tried this l
ESMTPSA id 8952330091C for
; Wed, 7 Mar 2018 08:34:10 -0700 (MST)
Subject: Re: LdapConnection.search() Help
To: Emmanuel Lécharny
References:
<452c958c-1182-62fa-5ea5-716725808...@gmail.com>
<56806966-dffc-711a-4db0-d04dcfd72...@mhsoftware.com>
<523805e1-eefb-06ab-da26-722e7b2
Using 1.0.0 If I run this code:
EntryCursor cursor=lc.search(base,"(objectclass=*)",SearchScope.ONELEVEL);
for (Entry entry : cursor){
entries.add(entry);
} I get this exception. It may be related to referrals. The reason I
tried this library is because the Novell one was having big problems
So I have it working fine with this code :
EntryCursor cursor = connection.search( "ou=system",
"(objectclass=*)",
SearchScope.ONELEVEL,
"*", "+" );
int count = 0;
for ( Entry entry : cursor )
{
assertNotNull( entry );
Le 07/03/2018 à 01:53, George S. a écrit :
> It's definitely a problem.
Ok. Can you fill a JIRA ? I'll have a deeper look at teh code later this
week.
--
Emmanuel Lecharny
Symas.com
directory.apache.org
It's definitely a problem.
On 3/6/2018 5:03 PM, George S. wrote:
I looked at
LdapNetworkConnection.search(String,String,SearchScope,String...) and
it's a wrapper around a call to search using a SearchRequest, and
constructing a EntryCursorImpl from the SearchCursor.
There seems to be someth
I looked at
LdapNetworkConnection.search(String,String,SearchScope,String...) and
it's a wrapper around a call to search using a SearchRequest, and
constructing a EntryCursorImpl from the SearchCursor.
There seems to be something wrong in EntryCursorImpl. If I change my
code to use a SearchRe
On 3/6/2018 4:27 PM, Emmanuel Lécharny wrote:
Le 07/03/2018 à 00:08, George S. a écrit :
and, just to throw in another point, I've got some other code using the
Novell LDAP API library and it is able to do the query, and I can use
JXplorer to browse the tree.
It's really looking like there's
Le 07/03/2018 à 00:08, George S. a écrit :
> and, just to throw in another point, I've got some other code using the
> Novell LDAP API library and it is able to do the query, and I can use
> JXplorer to browse the tree.
>
> It's really looking like there's something wrong in the library.
Sorry,
and, just to throw in another point, I've got some other code using the
Novell LDAP API library and it is able to do the query, and I can use
JXplorer to browse the tree.
It's really looking like there's something wrong in the library.
On 3/6/2018 3:51 PM, Emmanuel Lécharny wrote:
Hi,
are
Thanks for responding.
I have been using SearchScope.SUBTREE, and it makes no difference.
On 3/6/2018 3:51 PM, Emmanuel Lécharny wrote:
Hi,
are you sure you have entries below the point you are searching from ?
You are doing a search using a ONE_LEVEL scope, which will return oly
the children
Hi,
are you sure you have entries below the point you are searching from ?
You are doing a search using a ONE_LEVEL scope, which will return oly
the children entries.
Le 06/03/2018 à 22:32, George S. a écrit :
> I'm trying to use the API library and i'm running into a problem. I'm
> trying to do
I'm trying to use the API library and i'm running into a problem. I'm
trying to do a search (see method below). Using this bound connection, I
can do a lookup. For example, I can do .lookup(base,"objectClass"),
.lookup(base,"dc"), etc. However search isn't working.
Can anyone give me an idea o
13 matches
Mail list logo