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
2
votes
1 answer

Fetching Group Member with pagination - unboundid

I am fetching Group member from my active directory in which there are lot of records. I wanted to add Pagination support while retrieving it. is there any way unboundid support it. Or i have manually add pagination.
2
votes
1 answer

AD password reset using UNBoundID SDK

I am trying to change the AD password using UNBoundID LDAP sdk as below. try{ LDAPConnection connection=new LDAPConnectionObject().getConnection(); PasswordModifyExtendedRequest passwordModifyRequest = new…
sasikals26
  • 835
  • 2
  • 18
  • 41
2
votes
2 answers

LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server

I am tring to make an android app to connect at an LDAP server. I am using UnboundId library so my app to be able to establish an LDAP connection. The problem is the resultCode 91-connection error and I don't know how to resolve it. The LDAP server…
user3674507
  • 21
  • 1
  • 1
  • 2
2
votes
2 answers

OpenDJ with UnboundId LDAP SDK for Java

I got the following problem. There is working OpenDJ server, connection using UnboundID LDAP SKD for Java. I learned how to search for particular entries, but what is the way to obtain value of "entryUUID" attribute for a given entry? OpenDJ says…
y580user
  • 29
  • 5
2
votes
1 answer

connecting to LDAP server

I am a beginner with Ldap Server. I am trying to establish connection with my server using LDAP Wizard but dont know the values of the various parameters. could any body suggest the values? I am writing the code which is used to connect to the same…
14578446
  • 1,044
  • 7
  • 30
  • 50
2
votes
1 answer

LDAP authentication using UnboundID : which security?

I'm using unboundid primitives to authenticate user from an android application on an Active Directory with the following code : public boolean getConnection() { LDAPConnection connection = new LDAPConnection(); try { …
Derbie
  • 413
  • 1
  • 12
  • 28
2
votes
2 answers

How to get DN and password with UnboundID

I need some help concerning UnboundID. I heard it was a great choice but I'm not really used to it. So I need to make a LDAP listener. On this listener, i should be able to catch bind request (from a ldap browser for example). I wonder how to get…
Roux
  • 293
  • 2
  • 17
2
votes
3 answers

LDAP changing user password on Active Directory

I state that I am a complete beginner to LDAP. I have to let a user change its own password through an Android device. User has NOT administrative privileges. Using the UnboudId LDAP SDK for Java I'm able to bind to server and get the user entry…
lorenzoff
  • 1,120
  • 3
  • 15
  • 32
1
vote
0 answers

Creating inmemory LDAP server that can authenticate login like domain\username. unboundid is not working

This is an old code for which I am writing an Endpoint Test and I need an inmemory LDAP SERVER to mock the actual ldap. so cannot change anything from the test code. SERVER CODE. InMemoryDirectoryServerConfig config = new…
av1987
  • 493
  • 4
  • 12
1
vote
2 answers

SearchRequest in RootDSE

I have to following function to query users from an AD server: public List getUsersWithPaging(String filter) { List userList = new ArrayList<>(); try(LDAPConnection connection = new…
maio290
  • 6,440
  • 1
  • 21
  • 38
1
vote
1 answer

Is LDAP channel binding and LDAP signing supported by UnboundID LDAP SDK?

Relatively recently Microsoft has added support for LDAP channel binding and LDAP signing: https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV190023 Is it part of LDAPv3 protocol? Is it supported by UnboundID LDAP SDK?
Michael
  • 10,063
  • 18
  • 65
  • 104
1
vote
1 answer

Unable to load sample data into ldap Server with the help of ldif file

I need to insert bulk data into the LDAP server for this I used LdapTestUtils class but got some error Gradle dependencies dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-ldap' testImplementation…
UDIT JOSHI
  • 1,298
  • 12
  • 26
1
vote
1 answer

Why getting "java.lang.ClassNotFoundException: com.unboundid.ldap.sdk.LDAPException" in SpringBoot

Why getting java.lang.ClassNotFoundException: com.unboundid.ldap.sdk.LDAPException in SpringBoot even added unboundid-ldapsdk maven dependency in pom.xml
Krishna
  • 233
  • 2
  • 6
  • 20
1
vote
1 answer

Return ldap entries on paginated form in springboot

I have a ldap method that returns all users that are in it (almost 1300 users) and I want to return them by page, similar to what PagingAndSortingRepository does in Springboot: If I have this endpoint ( users/?page=0&size=1 )and I wnat to return on…
jose azevedo
  • 245
  • 2
  • 3
  • 19
1
vote
1 answer

Java question (calling methods with parameters) using UnboundID LDAP SDK api

I'm using UnboundID LDAP SDK for my LDAP server. I made a method for connecting. public static LDAPConnection connectSDK(String ip, Integer port, String id, String pw) throws LDAPException { LDAPConnection ldap = new…
Jin Lee
  • 3,194
  • 12
  • 46
  • 86