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
1
vote
1 answer

Unboundid not returning requested LDAP attributes. Why?

I have written a program that reads a webservice, retrieving user data, and then is supposed to push that data to ActiveDirectory, thus updating the user's title, address, phone numbers, etc. The problem is that when I perform the search using the…
Michael Freake
  • 1,197
  • 2
  • 14
  • 35
1
vote
1 answer

LDIF bulk import programmatically

I want to be able to do a bulk import from an LDIF file to an LDAP Server. I have a working implementation(below) that uses UnboundID LDAP SDK. The problem with this is it loops through each entry in the LDIF and will be very slow for large…
Sionnach733
  • 4,686
  • 4
  • 36
  • 51
1
vote
2 answers

Using unboundid ldap in scala ... strange compile error

I am trying to use LDAP via unboundid in scala but the compiler keeps crashing. I just created an object that looks like this: package utils import com.unboundid.ldap.sdk._ object LdapHelper { val ldap = LDAPConnection("ldap.example.com",…
nemoo
  • 3,269
  • 4
  • 38
  • 51
1
vote
1 answer

How do I connect to the localhost using UnboundID LDAP SDK?

How do I connect to the localhost using UnboundID LDAP SDK? I would think it is pretty straight forward, but maybe not. I connect just fine using the following code, but I would like to have the option to just use the locahost connection and not…
JBuenoJr
  • 945
  • 9
  • 14
1
vote
1 answer

How is possible to specify multiple servers for LDAPConnection using Unboundid SDK?

I want to specify multiple servers for LDAPConnection like configuration of LDAP URL for Apache: http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html#authldapurl: ldap://host1 host2 host3:port/basedn?attribute?scope?filter. What is the…
Michael
  • 10,063
  • 18
  • 65
  • 104
1
vote
1 answer

How to distinguish between “user must change password at next logon” and “wrong password” use cases?

I use UnboundID for the authentication against Active Directory. I have same error code when I authenticate with the wrong password and when the user is configured with “user must change password at next logon”. “wrong password”…
Michael
  • 10,063
  • 18
  • 65
  • 104
1
vote
1 answer

LDAP Query Attribute Size

LDAP Server is holding a big file and don't have a separate attribute to give the file size. So I have to download the entire file to get the file size. Is there anyway to get the attribute size alone with-out downloading the attribute content?
Midson
  • 1,018
  • 3
  • 12
  • 23
1
vote
1 answer

connect android to openLDAP server

I have been assigned a task to, connect to a LDAP server from android.Perform the authetication process from android.I am using openLDAP. I am completely new to this.Can anyone help me out with some piece of code or demo code showing android…
Sagar patro
  • 445
  • 1
  • 5
  • 15
1
vote
2 answers

Synchronize database with active directory using unboundID LDAP

I want to synchronize my database to active directory for password changes using unboundID LDAP. I am very new to this.Can anyone help me Please!
1
vote
2 answers

OpenLDAP and UnboundID: use of transactions

I am using OpenLDAP as LDAP server and UnboundID to interact with it through Java code. I need to handle the removal of a certain instance X of a Entity A on which several other instances Y1, .. Yn of an Entity B are logically linked. This means…
Raffo
  • 1,642
  • 6
  • 24
  • 41
1
vote
1 answer

Authenticate over LDAP / Oracle table

I need to authenticate over LDAP and have an Oracle table with usersnames and hashed passwords. Is it possible to make LDAP use these table? I just want to simulate a fake LDAP. When the client tries to log, the server just needs to hash the…
0
votes
1 answer

Create a LDAP cache using unboundid LDAP SDK?

I would like to make a LDAP cache with the following goals Decrease connection attempt to the ldap server Read local cache if entry is exist and it is valid in the cache Fetch from ldap if there is no such request before or the entry in the cache…
Tommy
  • 1,960
  • 1
  • 19
  • 32
0
votes
1 answer

Unboundid LDAP SDK - how to process an attribute value consisting of several values?

If you have an attribute which value consists of a comma-separated list of values, which would be the best way to retrieve some part of that value? Example: myAttribute: value1, value2, value3, value4 So far, I've used regular expressions to do…
helpermethod
  • 59,493
  • 71
  • 188
  • 276
0
votes
1 answer

Unboundid InMemory LDAP SDK - server won't shutdown

I'm using the Unboundid In-Memory Directory Server in my application, and so far it works great (like it so much more than Apache DS). But, when my application is done, and I want to shutdown the server, it seems to "hang", i.e. the shutDown()…
helpermethod
  • 59,493
  • 71
  • 188
  • 276
0
votes
1 answer

How to search entry by sid suffix in unboundid?

I noticed that I can make query with wildcards in LDAP. For example: 1. ldapConnectionPool.search(baseDn, SearchScope.SUB, "objectSid=*") and this search request will response all entries which has objectSid 2. And this query will return all…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710