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

Does Azure Active Directory supports transactions?

Tried to look everywhere, but I have not found any concrete answer to this. I have a use-case in Active Directory, where I would like to do multiple operations within a single transaction. So, if the last operation gets failed, previous operations…
2
votes
1 answer

How to detect and prevent circular references in Unboundid LDAP SDK for java?

I am using Unboundid LDAP SDK for java to connect to AD & perform operations on AD. I have nested assignments of group under group. Like for e.g.: Group-1 has member Group-2. Group-2 has member Group-3. Now it is possible that Group-3 has member…
jarvo69
  • 7,908
  • 2
  • 18
  • 28
2
votes
3 answers

programmatically querying LDAP permissions

Is there any way to programmatically query an OpenLDAP 2.4 server to find out what attributes of some object a user is allowed to modify? Or any way to tell the server to ignore modifications that the current user doesn't have permission to make,…
Brad Mace
  • 27,194
  • 17
  • 102
  • 148
2
votes
0 answers

Spring Boot: How to define new object classes in UnboundID LDAP?

In a Spring Boot 2.1.6 project I'm using the embedded LDAP service (UnboundID LDAP). I need to define new attribute types and object classes. My LDIF file contains something like that: dn: cn=schema changetype: modify add:…
user6882156
2
votes
1 answer

Search all the users with a certain group in LDAP using unboundid

Im trying to get all entities with the "OU=Users". Right now i can get all the entities but i just wanted the entities that belong to the group User. I have tried to change my search request but everything failed: SearchRequest searchRequest = new…
jose azevedo
  • 245
  • 2
  • 3
  • 19
2
votes
1 answer

LDAP: Retrieve entries from multiple OUs in one query

try to retrieve entries of objectClass 'groupOfNames' from multiple OUs from LDAP. My scheme looks like this: ou=gp,ou=gruppen,dc=some,dc=my-company,dc=at | |-ou=99 (objectClass=organizaionalUnit) |-cn=admins (objectClass=groupOfNames) …
Aragok
  • 303
  • 7
  • 16
2
votes
2 answers

using UnboundID's @LDAPGetter and @LDAPSetter

Does anyone have a basic example of using these two annotations from UnboundID's SDK to persist objects in an LDAP directory? I can't seem to find any info about the type of the argument to the @LDAPSetter method or the value returned from the…
Brad Mace
  • 27,194
  • 17
  • 102
  • 148
2
votes
1 answer

Two domain components of objectClass top

New to LDAP. Exported the DIT as an LDIF from Apache Studio. Tried to import the LDIF file. Error occurs: ... #!ERROR [LDAP: error code 32 - Unable to add entry 'dc=example,dc=com' because its parent entry 'dc=com' does not exist in the server.] dn:…
ahoffer
  • 6,347
  • 4
  • 39
  • 68
2
votes
0 answers

How to make LDAP Generalized Time attributes return yyyyMMddHHmmssZ pattern format

Is there a way to set the format used for LDAP Generalized Time attributes in an LDAP server? For example, my LDAP server will return the last modified timestamp as 20160909205956.988Z and I want the server to return 20160909205956Z. These results…
beardman
  • 33
  • 5
2
votes
1 answer

Binding to LDAP without knowing which OU the user is in

I have an LDAP server and an AD server with the same structure: dn=com ---> dn=example ---> ou=users ---> uid=username LDAPConnection connection = LDAPConnection(ip, port); connection.bind("username", "password"); works on the AD server, without…
vgm
  • 148
  • 1
  • 2
  • 12
2
votes
2 answers

LDAP Response timeout not working with Unboundid SDK

I am trying to get the names of all groupOfUniqueNames objects using the Unboundid LDAP SDK. I am able to do it, but have a problem if the server has a lot of entries. Setting the response timeout seems to be ignored, and the program just hangs…
vgm
  • 148
  • 1
  • 2
  • 12
2
votes
1 answer

SASL External authentication with UnboundID and certificates

I would like to perform a certificate based authentication with my OPENLDAP ldap. I created a PKI, set up my client and server with the good keystores,trustores / certificates, key. I also configure the LDAP to demand a certificate during the SSL…
2
votes
0 answers

Tivoli Directory Server Password Response Control sends a 655618 Error Code

I have configured a password policy in Tivoli Directory Server and enabled 'User must change password after reset'. I am changing the user password through admin login, try to login through the user, and then reading the password policy response…
Sayali
  • 356
  • 1
  • 2
  • 13
2
votes
1 answer

kerberos authentication with unboundid LDAP SDK

I have been creating an authentication and authorisation service for our internal network. The service accepts incoming HTTP requests and proxies them onwards to other internal services (admin web sites mainly). To authenticate users my service uses…
Matt Daley
  • 458
  • 3
  • 15
2
votes
1 answer

How to set the multiple attributes of objectClass for UnboundID & OpenLDAP via Java 7

I'm not sure how to properly pass the multiple attributes needed for an OpenLDAP insert via UnboundID. I have omitted the objectClass attributes & received a "no objectClass" error. I have also tried comma-separated & the bracket/array route like…
1 2
3
13 14