File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Apache DS : LDIF import not working Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "Apache DS : LDIF import not working" Watch "Apache DS : LDIF import not working" New topic
Author

Apache DS : LDIF import not working

Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 546

Hi,
I am using Apache DS 1.5 as LDAP server and Softerra LDAP Administrator as LDAP client.

I am trying to import the following LDIF file :


I get the following error :


Why is this file not working ? Is there something wrong with the Domain Name ?
Thanks for helping.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
Christopher Kovacs
Greenhorn

Joined: May 31, 2009
Posts: 1
Assuming a default installation path, does your "C:\Program Files\Apache Directory Server\instances\default\conf\server.xml" contain a partition to hold dc=vente,dc=com? If not, you need to create one.

I recommend adding something like this to your instance server.xml file spring:beans/defaultDirectoryService/partitions section:



I have made these changes to my environment and executed your LDIF successfully.
Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 546

thanks, it works now
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Apache DS : LDIF import not working
 
Similar Threads
Read LDIF contents and Display in Tree
How to Import a file
Configuring the application policy in login-config.xml for LDAP Apache DS
WLS6.1 - Configuring realm for openLdap
weblogic8.1 with open LDAP authentication