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
13
votes
2 answers

case insensitive LDAP searches

What is the syntax for performing a case-insensitive match on a uid attribute? If attribute definition matters then how would that be changed? In particular I am using ApacheDS for my LDAP store.
harschware
  • 13,006
  • 17
  • 55
  • 87
12
votes
3 answers

Open LDAP vs apacheDS

I am working on scalable web application.I am planning to use LDAP for login authentication purpose. I am new to LDAP when I search about it I found two important implementations: OpenLDAP Apache Directory Studio I search about performance…
Prashant Thorat
  • 1,752
  • 11
  • 33
  • 54
12
votes
7 answers

Running Apache DS embedded in my application

I'm trying to run an embedded ApacheDS in my application. After reading http://directory.apache.org/apacheds/1.5/41-embedding-apacheds-into-an-application.html I build this: public void startDirectoryService() throws Exception { service = new…
cringe
  • 13,401
  • 15
  • 69
  • 102
9
votes
3 answers

Can I generate my own keytab programmatically in Java?

I was wondering if there was a way to generate my own keytab in java without going to the kdc? I found code similar to this in an ApachDS test: Keytab keytab = Keytab.getInstance(); KerberosTime timeStamp = new…
jclum
  • 91
  • 1
  • 5
8
votes
2 answers

How do you add a user to a group using Apache Directory Studio

I am using Apache Directory Studio to set up an initial user on an LDAP partition. I have added the user, and I have a group (Administrators) that I am trying to add that user to. Users are ou=users and groups are ou=groups and where copied from…
Inquisitor Shm
  • 1,433
  • 5
  • 17
  • 26
8
votes
7 answers

Issue in starting Apache DS

Hi I am facing an issue in starting the Apache DS. My environment is as follows. Windows 7 64 Bit I have 2 JVM's running (32 and 64bit) I have given the 32 bit JVM for the Apache DS. When I start the service it says "windows couldnt start ApacheDS…
Nadeesha
  • 825
  • 2
  • 9
  • 12
7
votes
3 answers

Role-based security implementation in LDAP

I'm working on role-based security implementation in LDAP and Java. Specifically, I have the following objects that I need to represent in LDAP: Users Corporate groups of users - HR, Finance etc. Permissions - DOCUMENT_READ, DOCUMENT_MODIFY…
user1031054
  • 205
  • 1
  • 3
  • 7
7
votes
3 answers

Trying to use Spring LDAP for coding

I am trying to use Spring LDAP for coding but I get this error NoClassDefFoundError: org/apache/directory/server/core/DirectoryService What am I doing wrong?
SJS
  • 5,607
  • 19
  • 78
  • 105
7
votes
3 answers

Change default admin password in ApacheDS

Am new to ApacheDS - am using apacheds-2.0.0-M17. The default password for admin is secret. Does anyone know where I can change the value to something else? Inside: apacheds/instances/default/conf/config.ldif Found the following…
PacificNW_Lover
  • 4,746
  • 31
  • 90
  • 144
7
votes
4 answers

How to unlock user on ApacheDS

I setup an ApacheDS with default password-policy enabled. For testing proposes I locked a simple User (objectClass=Person extended with some custom User-objectClass) by entering the wrong credentials a number of times. As I expected the user was…
Inceddy
  • 760
  • 1
  • 6
  • 18
7
votes
2 answers

Export and Import apacheds data into LDIF programmatically from java

I have create a server in Apache Directory Studio. I also created a partition and inserted some entries to that server form Java. Now I want to Backup and Restore this data in and LDIF file programmatically. I am new to LDAP. So please show me a…
Emdadul Sawon
  • 5,730
  • 3
  • 45
  • 48
7
votes
3 answers

Add 'memberOf' attribute to ApacheDS

I am trying to simulate Active Directory's memberOf attribute in Apache Directory. I have added the following entry for memberOf to my LDIF file: dn: m-oid=1.3.6.1.4.1.18060.0.4.3.2.1,ou=attributeTypes,cn=other,ou=schema m-usage:…
timmy
  • 1,752
  • 6
  • 23
  • 35
5
votes
0 answers

How can I setup an embedded ApacheDS in Junit5

In the ApacheDS documentation about embedding an ApacheDS server in Junit test they only mentions example for Junit4 using @RunWith(FrameworkRunner.class) or @ClassRule public static CreateLdapServerRule serverRule = new…
Fabich
  • 2,768
  • 3
  • 30
  • 44
5
votes
2 answers

How to add posixAccount and posixGroup attributes in ApacheDS?

I am using Apache Directory Studio (version 2.0.0 on both OpenSUSE(12) and on Windows 7), trying to add the posixAccount attribute to users and the posixGroup attribute to groups. I have followed the suggestion from the following…
5
votes
4 answers

ApacheDS and Kerberos Setup

I am tasked with setting up an ApacheDS 2.0.0 LDAP + Kerberos (including KDC) server for use in our testing environment. I followed this guide, but am unable to successfully authenticate with my LDAP server using Kerberos as per the final step on…
Reid-o
  • 51
  • 1
  • 5
1
2 3
15 16