search « ldap « Java Enterprise Q&A





1. DirContext search array with multiple parameters    stackoverflow.com

I'm trying to search in a LDAP server all the users that have some profiles. So far I'm able to get all the users with a profile, but I'm unable to ...

2. Java LDAP search returns partial subdomain entries    stackoverflow.com

I'm having some problem searching through our test AD using LDAP. The Active directory domain has a subdomain. I use PagedResultsControl to enumerate the users in pages. I ask users in bunch of 1000. The ...

3. ldap search in java - finding all groups with a specific user in it    stackoverflow.com

Given the below ldap structure (more or less)

C=NO
-o=mydomain
--cn=groups
---cn=group1
----uid=bob,cn=users,o=mydomain,C=NO
---cn=group2
----uid=bob,cn=users,o=mydomain,C=NO
----uid=odd,cn=users,o=mydomain,C=NO
--cn=users
---uid=bob,cn=Robert,sn=Johnsen
---uid=odd,cn=Odd,sn=Olsen
I use the following url= ldap://server:port/o=mydomain,C=NO Then I can retrieve basically the entire tree with a search somewhat like this:
NamingEnumeration results = ctx.search("cn=groups", "cn=*", constraints);
where ...

4. LDAP Not Finding Objects from Search    stackoverflow.com

First, I am new to LDAP and coding using LDAP. I have a simple issue that I am trying to debug within LDAP. I have spent the last 24 ...

5. LDAP search in java: DN contains ,    stackoverflow.com

I'm currently running into issues when searching for entries the DN contains ',':

StringTokenizer st = new StringTokenizer(dn, "=");
Attributes searchAttributes = new BasicAttributes(st.nextToken(), st.nextToken());
Enumeration results = ctx.search(baseDn, searchAttributes);

if (results.hasMoreElements()) {
  // ...

6. LDAP Extended Request - Search    jmeter.512774.n5.nabble.com

The LDAP Extended Request when set to 'Search test' does not return the results of the LDAP query. Can anyone give me more information on how I can get the results returned? Here's what I have set: - Search test - Search Base - ou=locator, o=company.com - Search Filter: (&(priid=${user})) - Scope: Perform Subtree Search ...

7. Q: LDAP Extended Request (ALPHA) - Search Response Status    jmeter.512774.n5.nabble.com

8. LDAP advanced search    forums.oracle.com

I am using IBM tivoli, in my java programming I need get the members from several DNs per the login user. I had several trips to LDAP to make this happen which is slow. Is it possible in LDAp can do one call to get everything back? now my LDAp tree structure is like this: I have a list groups, inside ...

9. LDAP - searching cached data    forums.oracle.com

Hi folks. I need to modify an existing application to integrate with an LDAP server. One of the things my code needs to do is search LDAP entries, using a search filter. For example: NamingEnumeration results = ldapContext.search(LdapName, "(|(objectClass=group)", null); This works just fine. My problem is that we can't afford to hit the LDAP server every time this search needs ...