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

JNDI LDAP How to decode SSHA password

I used apacheds(as LDAP server) and inserted entries into it using apache directory studio. For the userPassword atribute I selected plain text only. but, apache directory studio is encrypting it. i don't know why is that. Now, my java program to…
madan
  • 149
  • 4
  • 12
0
votes
1 answer

How can I extract an "error code" number from a JNDI NamingException?

I have some code that proxies LDAP messages. The code implements handlers of ApacheDS by calling LDAP servers using JNDI. When an error is returned from the LDAP server, JNDI reports it as an javax.naming.NamingException (or subclass) like: …
Hagai Cibulski
  • 4,421
  • 3
  • 20
  • 23
0
votes
1 answer

Embedded ApacheDS 2.0 doesn't have ou=config

I have succeeded in getting an embedded ApacheDS instance to start with a Java Web App thanks to the example found here, and have added partitions to it. The problem is that the resulting LDAP server instance doesn't show 'ou=config'. Any idea why…
0
votes
1 answer

simple SECURITY AUTHENTICATION without username/password yields results

Why does this work? env.put(Context.PROVIDER_URL, "ldap://localhost:10389/o=csRepository"); env.put(Context.SECURITY_AUTHENTICATION, "simple"); //env.put(Context.SECURITY_PRINCIPAL, "cn=John Eipe, ou=employees,…
John Eipe
  • 10,922
  • 24
  • 72
  • 114
0
votes
1 answer

Deploying SpringBoot to standalone Glassfish/Tomcat renders the incompatible SLF4J bindings error

I am having an issue where I wrote a fairly simple Spring Boot app and it runs using it's embedded Tomcat container just fine. Now I have to deploy it to my org's Glassfish (v3.1.2) and am running into the infamous "SLF4J: The requested version 1.6…
Bane
  • 1,772
  • 3
  • 21
  • 28
0
votes
1 answer

How to use a site.xml base update site in a Tycho build

My project has dependencies on Apache Directory Studio plugins. I created a pom.xml file and added Apache Directory Studio update site as a repository. However, Tycho cannot load the Apache Directory Studio update site. The site is not a p2…
The_Cute_Hedgehog
  • 1,280
  • 13
  • 22
0
votes
1 answer

Unable to store information as attributes in LDAP using JNDI

I'm trying to bind a java object as a set of attributes based on tutorial given here //In the main() method of the program Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, …
John Eipe
  • 10,922
  • 24
  • 72
  • 114
0
votes
1 answer

Make spring security and apacheds reread a .ldif file

I'm using spring-security to authenticate simply , and apacheDS via a simple ldif file:
Geoff G
  • 11
  • 6
0
votes
1 answer

Create a new partition in apacheds without restarting the server

I want to create a new partion in the Apacheds M14 without restarting the server. I am able to create a new partition by restarting the system.
Rahul Dev
  • 387
  • 1
  • 4
  • 12
0
votes
1 answer

Spring Security + Ldap. Cannot debug

I am trying to learn ldap + spring security. I have setup a Local Dev with an Apache DS. I got to the point that it will compile and run without errors but when i try to log in it doesn't do anything and I don't have any error messages to go by. I…
Fidel
  • 109
  • 2
  • 9
0
votes
1 answer

connection.startTls() failed

I'm trying to connect to apacheds using TLS but I got a LdapOperationException: PROTOCOL_ERROR: The server will disconnect! Here is my code: LdapNetworkConnection connection = null; LdapConnectionConfig ldapConnectionConfig = new…
Anass Boukalane
  • 539
  • 10
  • 26
0
votes
1 answer

Create new partition with Apache DS

I am trying to create complex partitition with Apache DS Dn dnApache = new Dn("ou=test,dc=Apache,dc=org"); Entry entryApache = service.newEntry(dnApache); entryApache.add("objectClass", "top", "domain", "extensibleObject"); …
Java Dude
  • 454
  • 6
  • 24
0
votes
2 answers

apacheds: Imported custom object classes not visible

I am running an ldapv3 server on apacheds2.0.0 using Apache Directory Studio. I have successfully imported a schema that defines my own custom object classes, Here is an example from the schema: objectclass ( 7.7.7.7 NAME 'Dog' SUP Animal …
Sionnach733
  • 4,686
  • 4
  • 36
  • 51
0
votes
1 answer

LDAP Search in Java APP

I am using this LDAP class in my app. I have Apache DS at my localhost and it works correctly. In my app I'm successfully connected to LDAP server: conn.connect("localhost", 10389); conn.bind(LDAPConnection.LDAP_V3,…
Java Dude
  • 454
  • 6
  • 24
0
votes
1 answer

Is there a ApacheDS 2.0 OSGI version?

I am using ApacheDS 2.0 and looking for OSGI version so that I can use it in OSGI container. I was not able to find one. Anyone else know if there is one out there?
DaBears
  • 291
  • 4
  • 9