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
18
votes
4 answers

LDAP: How to return more than 1000 results (java)

I am using the LDAP SDK from this site: https://www.unboundid.com/products/ldap-sdk/ . I would like to make a search operation which returns a lot of entries. According to the FAQ's site, (…
stage
  • 4,225
  • 4
  • 15
  • 8
16
votes
1 answer

LDAP query doesn't return correct data from Active Directory

I'm working on a tool to get user details from the AD and import them into another system. We were planning on using the objectSid as the unique identifier but I've found that for some reason, the objectSid in the LDAP result does not match what's…
Andi Heusser
  • 301
  • 4
  • 11
12
votes
4 answers

How do I resolve "WILL_NOT_PERFORM" MS AD reply when trying to change password in scala w/ the unboundid LDAP SDK?

I'm wrestling with Active Directory, trying to get it to let me change a password. I've found tons of useful information, but I'm still getting a persistent error. Some code: import com.unboundid.ldap.sdk._ import com.unboundid.util.ssl._ def…
mattwallace
  • 171
  • 1
  • 1
  • 5
8
votes
6 answers

'Address already in use' when running tests using Spring LDAP embedded server

I am trying to use Spring LDAP in one of my Spring Boot projects but I am getting an 'Address already in use' error when running multiple tests. I have cloned locally the sample project here: https://spring.io/guides/gs/authenticating-ldap/ ...and…
7
votes
2 answers

How to import ldif file using unboundid-ldap-sdp?

I exported the following ldif file from an LDAP server and am now trying to import it so that I can replicate the directory I exported it from: dn: cn=MYCOMPANY Users,dc=mycompany,dc=com changetype: add objectClass: posixGroup objectClass: top cn:…
user2586917
  • 762
  • 1
  • 9
  • 26
6
votes
3 answers

How to use UnboundID SDK to connect to an LDAP server with the SSL server certificate?

I have in my hand an SSL LDAP server certificate. I want to use it to connect to the LDAP server using UnboundID SDK. I do not want to use com.unboundid.util.ssl.TrustAllTrustManager as was showed here: Using UnboundID SDK with an SSL certificate…
Michael
  • 10,063
  • 18
  • 65
  • 104
5
votes
1 answer

Spring LDAP vs UnboundId LDAP

We are building a new library which will need to do read/writes to our main identity management LDAP system. We are considering using either Spring LDAP (http://projects.spring.io/spring-ldap/), UnboundId LDAP…
Bruce Phillips
  • 2,740
  • 3
  • 18
  • 17
5
votes
3 answers

UnboundID LDAP SDK: Get all groups for a user

Using UnboundID LDAP sdk, how can I get all the LDAP groups a particular user belongs to? (I would really appreciate some example code).
Neo
  • 3,465
  • 5
  • 26
  • 37
5
votes
1 answer

Using UnboundID SDK with an SSL certificate file to connect to LDAP server in Android app

I'm trying to make a connection to an LDAP server in my Android app, and am using the UnboundID SDK. Recently, a change was made from unsecured to secured LDAP, and I have to change the app accordingly. I have been given the SSL certificates file to…
mhouglum
  • 2,468
  • 13
  • 21
4
votes
0 answers

UnboundID LDAP SDK startTLS "No extended operation handler" error

Created an in-memory UnboundID LDAP server. The server listens on an unencrypted port and a TLS port. I can bind to it with LDAP on the first port, and LDAPS on the second port. However, I cannot connect to it using startTLS. The error is:…
ahoffer
  • 6,347
  • 4
  • 39
  • 68
4
votes
2 answers

Authenticate an Active Directory user with UnboundID using username

I'm building an application where I need to connect to Active Directory using UnboundID. Using an example, I managed to connect a user with their distinguishedName and password. However I would like to authenticate them using only the domain and the…
Anders
  • 125
  • 1
  • 3
  • 13
4
votes
2 answers

View modified entries in LDAPusing UnboundId api

Here is the requirement I want to see modified entries in LDAP which have been modified at the LDAP server side. Is there any API or code in Unboundid API so I can see modified entries in LDAP?
Saxena Shekhar
  • 219
  • 6
  • 22
4
votes
3 answers

LDAP Bind Vs Search

LDAP Newbie. I am planning to check the presence of ~5K entries in a LDAP Server over a very slow link, using UnboundID Java API. One is, I can use the proper LDAP Search option. Or decide the existence of an entry, by bind to the Entry's DN. Plz…
Midson
  • 1,018
  • 3
  • 12
  • 23
4
votes
1 answer

Error 503 Will Not Perform when Adding a Group Entry using UnboundID

I'm trying to add a Group to my Active Directory service using the UnboundID LDAP SDK, and keep getting error 503: Will Not Perform. I have verified I'm using an SSL connection, and that I'm connecting with a user that belongs to the Administrators…
Alejandro Lujan
  • 392
  • 1
  • 2
  • 13
4
votes
2 answers

how to use UnboundID LDAP in android?

I want use LDAP(Lightweight Directory Access Protocol) in android.But i have no idea about LDAP. I have seen following link: Neil's LDAP SDK post He told like android developers don't need to worry about missing LDAP support for Android because the…
SuReSh PaTi
  • 1,373
  • 7
  • 28
  • 46
1
2 3
13 14