Questions tagged [unboundid-ldap-sdk]

The UnboundID LDAP SDK for Java is a fast, powerful, user-friendly, and completely free Java API for communicating with LDAPv3 directory servers.

The UnboundID LDAP SDK for Java is a fast, powerful, user-friendly, and completely free Java API for communicating with LDAPv3 directory servers.

Home page: https://www.unboundid.com/products/ldapsdk/

Mailing list: ldap-sdk-discuss@lists.sourceforge.net

Maven download from the central repository:

<dependency>
    <groupId>com.unboundid</groupId>
    <artifactId>unboundid-ldapsdk</artifactId>
    <version>2.3.4</version>
</dependency>
210 questions
0
votes
0 answers

How use UnboundId LDAPConnection for AD authentication in IIS web service?

I use android example The connection is successfully established. But how to use it for authentication? Can be used to obtain a token or authenticator?
Vadim Seleznev
  • 471
  • 1
  • 6
  • 6
0
votes
1 answer

How to increase the memory of an embedded LDAP server?

I'm using an embedded LDAP server provided by UnboundID to speed up my unit tests. However, the tests occasionally get hung up because the server runs out of memory. Is there a way to increase the memory of the embedded LDAP server?
Alex
  • 51
  • 5
0
votes
1 answer

unboundid ldap upgraded version from 1.1.3 to 3.1.1. ClassNotFoundException being thrown.

I have recently upgraded our unboundid ldap jar version from 1.1.3 to 3.1.1. After the upgrade when I am deploying the app in weblogic, I am getting a ClassNotFoundException in the log. So far I have faced no issues in terms of functionality, but I…
0
votes
1 answer

Add entry in openldap server using unboundid ldap sdk

I was trying to add a new entry into ldap. I'm using unboundid ldap sdk I'm able to connect successfully to ldap however when I try to add new entry, I'm getting following error: Exception in thread "main" LDAPException(resultCode=undefined…
Ashok Dongare
  • 521
  • 2
  • 7
  • 20
0
votes
1 answer

What are the authentication steps of UnboundID LDAP SDK

I am implementing a LDAP client to LDAP server which make a connection with the server and do authentication.What steps do I need to follow?
ShaAk
  • 190
  • 1
  • 12
0
votes
1 answer

Working with multiple threads and Connectionpool in UnboundID LDAP

Considering the huge load that I am getting for authentication, using multiple threads and Connectionpool will be a best solution to handle the load. However I have two design options in my mind Pass Connectionpool to individual threads as…
0
votes
1 answer

Authenticate LDAP users in asynchronous mode with UnboundID LDAP SDK

I need to Authenticate LDAP users in asynchronous mode. According to this source we can not use simple bind request in asynchronous mode. If then, How can I authenticate a user by providing DN and password.
0
votes
1 answer

How can I achieve fault tolerance with LDAP Server

I am using UnboundID LDAP SDK for designing a LDAP Client. I am thinking of fault tolerance schema with this API. I need to add LDAP secondary server with the primary server and if there is a failure in primary server the service should move to…
Malinda
  • 336
  • 2
  • 12
0
votes
1 answer

querying ldap server with java unboundid-ldapsdk

I have setup an ldap server with Apache director studio: This is my code: import com.unboundid.asn1.ASN1OctetString; import com.unboundid.ldap.sdk.*; import com.unboundid.ldap.sdk.controls.SimplePagedResultsControl; public class App { /** …
michele
  • 26,348
  • 30
  • 111
  • 168
0
votes
4 answers

How to check whether current LDAP server is up or down before doing an authentication

I want to check whether the current LDAP server is up or down before doing an authentication. I am using UnboundID LDAP SDK. IS there any possible way to do this?
Malinda
  • 336
  • 2
  • 12
0
votes
1 answer

How to disable/enable user accout in openLDAP?

In our application we implemented directory authentication service. i.e - Active directory or OpenLDAP. Using directory credential user can access all services of our application. But if any user disable in directory, this user not able to access…
0
votes
0 answers

Want to get rid of the control from the LDAP response in linux machine

We are using unboundid-ldapsdk library for our project ,in the response we are getting the control as inbound character in the Ldap response example as:- Example of Ldap Response :- Query: ldapsearch -D "cn=Directory Manager" -w dsfdsdf -h…
yadav_1992
  • 43
  • 2
  • 11
0
votes
1 answer

UnboundID LDAP: memberOf filter not synchronising users

Apologies for the newbie question, fairly new to LDAP and UnboundID. I currently have an UnboundID filter that synchronises users who belong to an Active Directory group. --set include-base-dn:cn=Users,dc=testdomain,dc=net --add…
Vin
  • 1
  • 2
0
votes
1 answer

Get decrypted LDAP pwdhistory values using Java

String[] userAttrList = {"cn", "sn","pwdHistory}; SearchResult searchResult = lc.search(baseDN, SearchScope.SUB, searchFilter, userAttrList); List result = searchResult.getSearchEntries(); for…
dozer
  • 861
  • 1
  • 11
  • 22
0
votes
0 answers

How to do A bindrequest and modify attribute at the same time

I'm using unboundid for accesing LDAP I'm doing a bind request for the user, and also update a value for lastlogin. can I perfom this operation at the same time, or my process should be BindRequest bindRequest =…
anquegi
  • 11,125
  • 4
  • 51
  • 67