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

Searching a user within a group in ApacheDS Server using unboundid sdk

I am using ApacheDS as directory server & UnboundID as LDAP SDK for entering user and its related groups. I am following a link http://ldapwiki.willeke.com/wiki/Tips%20using%20UnboundID%20LDAP%20SDK in which they have used CompareRequest method to…
joshi
  • 85
  • 1
  • 10
1
vote
1 answer

How to reuse an LDAP connection in Unboundid LDAP SDK?

I have tried to reuse an LDAP connection in Unboundid LDAP SDK using the following code: if (ldapConnection.isConnected()) { //Connection is still connected. } else { try { // Connection is not connected. Try to reconnect …
Michael
  • 10,063
  • 18
  • 65
  • 104
1
vote
1 answer

There is no extended operation handler registered with the Directory Server for handling extended operations with a request OID of 1.3.6.1.1.21.1'

I am using OpenDS LDAP server and Unboundid-ldapsdk-2.3.8.jar. When I am requesting for an extended operation like StartTransactionExtendedRequest or StartTransactionExtendedResult to get the transactionID then I got an error with a ErrorCode =…
Ataur Rahman Munna
  • 3,887
  • 1
  • 23
  • 34
1
vote
1 answer

Resolving ForeignSecurityPrincipals in Active Directory with UnboundID LDAP SDK for Java

I am trying to resolve ForeignSecurityPrincipals to User objects in an Active Directory Server network using exclusively the LDAP Interface via the UnboundID LDAP SDK for Java (https://www.ldap.com/unboundid-ldap-sdk-for-java). What I am trying to…
Nihathrael
  • 515
  • 1
  • 4
  • 13
1
vote
1 answer

ldap unboundid: create custom attribute for an entry

try { LDAPResult result = getConnection().modify( "dn: cn=jacob.kranz,cn=example,cn=com", "changetype: modify", "replace: forgotPasswordAttribute", …
Jacob Kranz
  • 921
  • 3
  • 11
  • 24
1
vote
1 answer

How to generate corporate level test data for Active Directory

Background: I'm working on developing client functionality for OpenLDAP and ActiveDirectory in java. Have used Unboundid LDAP SDK for the same. This setup will be used for pulling data from different clients. I've setup a Windows server with AD…
Prabhjot
  • 695
  • 3
  • 8
  • 21
1
vote
2 answers

unbound server not responding to the dns query made by unbond client API

I am trying to test both dnsmasq and unbound servers. I get dns query response from dnsmasq server machine "X" when i do getaddrinfo() request from machine "Y". But when i send dns query from unbound client's API from "Y" by shutting down dnsmasq…
DragonX
  • 371
  • 2
  • 6
  • 18
1
vote
1 answer

Allow remote login to LDAP server

I installed LDAP server on my virtual machine(centOS) running on windows, now I want to access it from windows So how do I enable remote access to LDAP server. I tried installing 389 Directory Server (which is actually meant for fedora), on some…
Harry
  • 1,572
  • 2
  • 17
  • 31
1
vote
1 answer

java ldapsearchexception size limit exceeded setMaxResults

I get this error: "LDAPSearchException: size limit exceeded" error and the server is only returning 500 results. I am assured by our highly experienced LDAP administrator that this limit is not set on the server. Indeed I can get much more than 500…
Alaric
  • 23
  • 1
  • 4
1
vote
1 answer

UnboundId - Response Control from Search Result

I am using UnboundId SDK for searching LDAP and using SimplePagedResultsControl for paging my results. I am able to search properly and get the first set of desired results based on the page size, but I am not able to retrieve the subsequent set of…
Muthu
  • 211
  • 1
  • 6
1
vote
1 answer

UnboundID LDAP SDK not following Referrals

I'm using the UnboundID LDAP Java SDK to connect a Groovy/Grails application to Active Directory. Here are the connection options that I'm using: LDAPConnectionOptions options = new LDAPConnectionOptions() options.connectTimeoutMillis = 60000…
Harry Muscle
  • 2,247
  • 4
  • 38
  • 62
1
vote
1 answer

Change account expiration date in "active directory" using Unbound Id?

I am trying to change the account expiration date in windows active directory. I can able to change the Never option in account expiry using the below code . final Modification mod = new Modification(ModificationType.REPLACE, …
Fisher Man
  • 487
  • 1
  • 5
  • 14
1
vote
2 answers

SCIM schemas mapping to LDAP

I need to map SCIM core schema to LDAP to be used by UnboundId for operations in LDAP. Is there a better approach to convert these schema?? e.g. In schema given here I need to map: userName to uid name.formatted to cn name.familyName to sn…
Muhammad Imran Tariq
  • 22,654
  • 47
  • 125
  • 190
1
vote
2 answers

unboundid VirtualListViewRequestControl is not working

I would like to search with sorted order in pagination. For same I am using VirtualListViewRequestControl. Seem like it is not working I tried all possible way. But still I am getting following error :- INFO: level="INFO" threadID=37…
lalit
  • 27
  • 3
1
vote
0 answers

Generic way to get modified (add, delete, modify) entries in LDAP

I need Generic way to get all modified (add, delete, modify) entries in any LDAP servers i.e. Active Directory OpenLdap Apache Directory and many others as given in this question There are a number of ways to accomplish this. we can using one of…