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
5
votes
1 answer

Unable to import ldif file with some attributes

I am new to ldap and apacheds. I have created embedded LDAP server using apacheds. Example here. But seeing the following issue. Am I creating a wrong partition? How would it look like? Any changes to ldif file? ERROR I am seeing when importing ldif…
DaBears
  • 291
  • 4
  • 9
5
votes
4 answers

How to run a java application from another java application and keep it running after the master program returns?

I'm trying to run ApacheDS instance from my java application. I use such run() method of ScriptWrapper class to execute script that is shipped with ApacheDS to run it: public class ScriptWrapper implements Serializable { private String…
Michał Kowalczyk
  • 358
  • 1
  • 5
  • 21
4
votes
2 answers

LDAP: error code 49 - cannot bind the principalDn

I'm a newbie to ApacheDS.I just created a new partition in ApcheDS. When i try to register my connection factory i get above error..(with OracleAQ ) My code is; // ldap settings env.put(Context.INITIAL_CONTEXT_FACTORY,…
Ratha
  • 9,434
  • 17
  • 85
  • 163
4
votes
1 answer

Creating a new schema LDAP with ApacheDS

I currently working on creating a custom attribute therefore with the use of Apache Directory Studio I have created a new schema project, new schema, new attribute and new Object class. (used this…
Adama Camara
  • 165
  • 2
  • 9
4
votes
1 answer

Setting a SSHA Password in LDAP from Spring

I am having problems working out how to save a password in an Apache DS LDAP in an SSHA hash instead of plain text. As far as I can tell, the correct way to go about it should be configuring Apache DS to use SSHA to store passwords and then when…
Ken
  • 654
  • 8
  • 18
4
votes
2 answers

Importing a schema LDIF and content LDIF on every startup of ApacheDS?

I want my embedded ApacheDS to start up with a fresh schema/content when I run my tests. I tried to import a LDIF with this lines: LdifFileLoader ldifLoader = new LdifFileLoader(service.getAdminSession(), "path/to/my/export.ldif"); …
cringe
  • 13,401
  • 15
  • 69
  • 102
4
votes
1 answer

Using apacheDS for unit test

I have an application that uses a LDAP server, and I need to write some unit tests. I started mocking LDAP DirContext and others, but it makes too difficult for my current tests, so I thought I using an embedded LDAP server. This link does not…
David Portabella
  • 12,390
  • 27
  • 101
  • 182
3
votes
2 answers

ApacheDS - How to create a new user with Java JNDI and setting the password?

I have the following JNDI code to generate the password in a new user into Apache DS: private String digest(String algorithm,String password) throws NoSuchAlgorithmException { String r = null; byte [] b = null; MessageDigest…
rod.dinis
  • 1,233
  • 2
  • 11
  • 20
3
votes
1 answer

Incorrect order cause exception when exporting LDIF in Apache Directory Studio

With Apache Directory Studio, I want to clone a LDAP server for testing purpose. The generate LDIF file can't be imported, since the order of structural entrys is wrong. As a result, I got ERR_251_PARENT_NOT_FOUND errors. Example situation: dn:…
Lion
  • 16,606
  • 23
  • 86
  • 148
3
votes
1 answer

Cannot authenticate against Apache DS using C# and LdapConnection?

Problem I installed and configured a ApacheDS server running ldap. This was a huge step forward for me in teaching myself ldap. However, the following C# console code returns the following error: System.DirectoryServices.Protocols.LdapException…
hlyates
  • 1,279
  • 3
  • 22
  • 44
3
votes
1 answer

ApacheDS Multi Master config

I'm looking for some help with an ApacheDS Multi Master solution. I'm new to the setting up LDAP solutions and so it's quite possible that I'm making some pretty basic errors. I have two CentOS VM's running - LDAP1 and LDAP2. Each VM having a…
dazednconfused
  • 141
  • 1
  • 5
  • 16
3
votes
2 answers

How to define our own column in Apache Directory studio..?

i am using a Apache directory studio for as my database. how i can create there my own field. because there are object class and based upon object class we can add the filed. how can we manually add any filed.. Following is my LDIF file. dn: cn =…
Mitul Maheshwari
  • 2,647
  • 4
  • 24
  • 38
3
votes
2 answers

How to create a partition in remote ApacheDS, LDAP server?

I know how to create a partition in local ApacheDS instance from this article. Current problem is I don't know how to create a partition in remote ApacheDS. I am accessing remote ApacheDS server(in CentOS) from Apache Directory Studio(in Windows).…
Thein Hla Maw
  • 685
  • 1
  • 9
  • 28
3
votes
1 answer

Issues with openam federation (with apacheds as data store)

Please help me out with this: I am trying to setup federation with one idp and one sp in openam. Data store being used is ApacheDS. I am trying to follow the following tutorial for the…
Apoorve
  • 165
  • 3
  • 9
3
votes
1 answer

Apache Directory Studio

I've installed Apache Directory Studio, and created a simple server following this tutorial. http://krams915.blogspot.com/2011/01/ldap-apache-directory-studio-basic.html It works fine. Now I'd like to see the log file with all the queries that the…
David Portabella
  • 12,390
  • 27
  • 101
  • 182
1
2
3
15 16