Questions tagged [unboundid]

16 questions
2
votes
1 answer

UnboundID trying to add attribute getting an exception

Using an LDAP connecting I am trying to write a method that adds/replaces an attribute "postalCode" for a user in the database. public void addPostcodeAttributeToUser(String postcode, String user, LDAPConnection conn) { try { …
nixon
  • 41
  • 6
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
0 answers

How to get schema of LDAP server by UnboundID?

I'm trying to get schema of In-Memory Directory Server by using UnboundID. For in-memory ds i used custom schema: before import from LDIF file i clear schema. Code: //... public static void main(String[] args) { //... …
Se Br
  • 101
  • 3
  • 14
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
1 answer

UnboundID LDAP memberof-overlay

I'm trying to get the dynamic memberOf attribute to work in my in-memory-ldap-server. I'm using the standard edition of UnboundID. I tried with the following .ldif-files if it is activated by default: base.ldif: dn: dc=example,dc=com objectclass:…
Jérôme
  • 1,254
  • 2
  • 20
  • 25
0
votes
0 answers

How to search by PrimaryGroupToken in Ldap?

I have following snippet val entry = ldapConnectionPool.getEntry(groupNn, SearchRequest.ALL_USER_ATTRIBUTES, "PrimaryGroupToken") val primaryGroupToken = entry.getAttributeValue("PrimaryGroupToken") primaryGroupToken is equal 550 after…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
0
votes
1 answer

Is there way to get ObjectGUID from `LDAPResult ` object?

I have a code like this for user creation: AddRequest addRequest = new AddRequest(... ... LDAPResult addResult = ldapConnectionPool.add(addRequest) Is there way to get ObjectGUID from addResult field ? Or maybe there is a way to generate this…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
0
votes
1 answer

Password policy is not working completely in Windows server 2016 AD while using UnboundID in springboot app

I'm having issues with an AD in Windows server 2016 with a passsword policy like this one: Now in a Springboot app with UnboundID the first issue that I've found is that the Minimum password age rule is being ignored while I change a password,…
0
votes
1 answer

How to get users of group (with nested) in OpenLDAP (UnboundID Java API)

H everyone, I am having a problem with getting all the users that are inside of one group. I have the group name, and my task is to get list of all users. I do not have enabled memberOf property in OpenLDAP server. So far I was able to get the group…
paweluz
  • 53
  • 6
0
votes
1 answer

com.unboundid.ldap.sdk.controls.PasswordExpiredControl is not detecting expired password (Java)

I adapted the proposed example code in https://docs.ldap.com/ldap-sdk/docs/javadoc/com/unboundid/ldap/sdk/controls/PasswordExpiredControl.html to my needs. public Boolean checkExpiration(String user, String pass) throws LDAPException { …
Takatalvi
  • 670
  • 8
  • 17
0
votes
1 answer

UnboundID LDIFReader unable to read entry

I am using the code below to read example 6 from http://www.ietf.org/rfc/rfc2849.txt I am using unboundid-ldapsdk version 4.0.6. I get the following exception Entries read:3 Entries with error:1 LDIFException(lineNumber=23, mayContinueReading=true,…
Jyothrilinga K
  • 307
  • 3
  • 10
0
votes
1 answer

Reference unbound textbox in subform on subreport

i am trying to reference a unbound text box called gCalc that does a calculation inside of my sub-form. I'm calling it inside of a text-box of my sub-report. when i call it i get the same error but i can call other fields that are not unbound. iv…
NormX
  • 115
  • 3
  • 19
0
votes
1 answer

ds389 [FreeIPA] : Exporting Schema?

Are there any tools out there to export the data and along with schema from a 389 directory server ? So far, I tried the db2ldif which do not export the entire schema. (looks like or may be I am wrong here..)
0
votes
0 answers

UnboundID LDAP SDK - Connection pool operations vs Async

I'm trying to figure out what is the best way to use UnboundID LDAP SDK in system with high TPS (30k - 50k). Most I have found around internet suggest to use multi-threading together with operation directly on connection pools (link1, link2), for…
0
votes
1 answer

MessageBodyReader not found for media type=text/plain

Using PING Federate 8.x UnboundID SCIM 2 Client SDK When trying to retreive results I am receving the error: com.unboundid.scim2.client.ScimServiceException: MessageBodyReader not found for media type=text/plain, type=class…
jwilleke
  • 10,467
  • 1
  • 30
  • 51
1
2