Questions tagged [apacheds]

ApacheDS is an extensible and embeddable directory server entirely written in Java

http://directory.apache.org/

ApacheDS is an extensible and embeddable directory server entirely written in Java, which has been certified LDAPv3 compatible by the Open Group. Besides LDAP it supports Kerberos 5 and the Change Password Protocol. It has been designed to introduce triggers, stored procedures, queues and views to the world of LDAP which has lacked these rich constructs.

231 questions
1
vote
1 answer

ApacheDS gidNumber not declared in objectClasses

I follow the tutorial on how to create groups and users in LDAP Apache Directory Studio. I use the posixGroup to create a group to create users inetOrgPerson, posixAccound, shadowAccount However, entries do not contain gidNumber and uidNumber and…
Evzenkooo
  • 67
  • 8
1
vote
1 answer

How to create a partition in the root in ApacheDS server programmatically using JNDI/LDAP?

I'm trying to create a new partition in the root of a ApacheDS Lightweight Directory using JNDI/LDAP. I've failed trying to add it using bind and createSubcontext within the root context. I'm able to create a partition using Apache Directory Studio.…
crv
  • 3,024
  • 4
  • 27
  • 31
1
vote
0 answers

Apache Directory partition empty after restart

Our ApacheDS server had an unexpected restart, and after the restart it shows the custom partition we added for our company as empty. However when looking on the server I can still see the master.db files etc which seem to contain all the user and…
Maarten Ureel
  • 393
  • 4
  • 18
1
vote
2 answers

LDAP - How to add an entry to a groupOfUniqueNames? (ERR_250_ENTRY_ALREADY_EXISTS)

I'm trying to add a new member of a groupOfUniqueNames object but I get an "ENTRY_ALREADY_EXISTS" error. The server is ApacheDS, and my code is Ruby, using using net-ldap: ldap.add(dn: 'cn=janitors,dc=tidy,dc=example,dc=com', attributes:…
David Hempy
  • 5,373
  • 2
  • 40
  • 68
1
vote
0 answers

Cannot establish TLS connection between spring-ldap client and apacheds

My client code has successfully tested using LDAP protocol against embedded ApacheDS 1.5.5. In End-To-End testing using Apache DS 2.0.0-M23 I was successfully able to establish a LDAPS connection using OpenLDAP. However, I'm having problems using…
1
vote
1 answer

Get all groups where a user is member of in LDAP

I'm using ApacheDS as directory server which is used in applications like Gogs (Git server like GitLab). My idea is to create groups like gogs-users and restrict the login to those group, so that only users who are member of that group are able to…
Lion
  • 16,606
  • 23
  • 86
  • 148
1
vote
1 answer

Integrate social logins like Facebook to a LDAP directory

For multiple applications, I want to build a centralized account solution. The core consists of some ASP.NET Core web applications. But I also want to include third-party applications like WordPress, GitLab, or a XAMPP/HipChat server. My goal: The…
Lion
  • 16,606
  • 23
  • 86
  • 148
1
vote
0 answers

Tomcat configuration whit LDAP

Users and roles are created in ApacheDS and are visible on ArcGIS Manager. Link to free wms service works, after changing service security to private QGIS throws an error - forbidden. Windows server 2012 R2 ArcGIS Server 10.5 ApacheDS…
1
vote
1 answer

Granting an ADMIN role to a user in a ldif file

For a test environment, I have an .ldif file to grant the ben user, the ADMIN role, as this role is required by my Spring security configuation: .hasRole("ADMIN").anyRequest(). Here is the .ldif file content: dn:…
Stephane
  • 11,836
  • 25
  • 112
  • 175
1
vote
1 answer

The `ldapmodify` command hangs

The ldapmodify command hangs: $ ldapmodify -D "uid=admin,ou=system" -w secret -p 10389 -h localhost But the ldapsearch command works fine: $ ldapsearch -D "uid=admin,ou=system" -w secret -p 10389 -h localhost -b "ou=system" # extended LDIF # #…
Stephane
  • 11,836
  • 25
  • 112
  • 175
1
vote
1 answer

Apache Directory Studio - existing LDAP server

I don't know if this is the right place to ask this question, but I hope that it is. Let me know if I should post it elsewhere.. Several years ago, I wrote a custom partition for Apache DS. We have an Apache LDAP server running with that…
Paul Hanbury
  • 941
  • 1
  • 10
  • 24
1
vote
1 answer

ApacheDS Embedded Kerberos KDC for Unit Tests

I am working on a Java web application where the application should impersonate the user when interacting with other applications. Since no authorisation is applied to the particular application itself, that this delegation mechanism works properly…
user1310957
1
vote
1 answer

Unable to turn off/restrict logging for one of the ApacheDS class

I am using the following log4j2 configuration to restrict the logging from one of the ApacheDS classes to ERROR and lesser.
Pankaj Dwivedi
  • 379
  • 1
  • 6
  • 16
1
vote
1 answer

Cannot login as admin after fresh ApacheDS instal

I have downloaded the newest version of ApacheDS for Windows (2.0.0-M23). After the installation on Windows7 Pro, with Java 1.8 u101 64 bit which passed without any errors I tried to make a new connection from Eclipse, LDAP perspective from Apache…
Jaro64
  • 151
  • 1
  • 7
1
vote
1 answer

ApacheDS admin user locked out

Somehow (probably through neglect), my ApacheDS admin account has been locked out - whenever I try to bind I get the error: INVALID_CREDENTIALS: Bind failed: password expired and max grace logins were used I have been searching all morning for…
Yoshiya
  • 452
  • 5
  • 17