ldif « ldap « Java Enterprise Q&A





1. How to read/write ldif file through a java program?    stackoverflow.com

I chose to write a java program to take back up of my LDAP entries in LDIF file and also would like to rollback the modifications using the back up LDIF ...

2. export ldap tree to ldif file, check performance    coderanch.com

/* shivkumar kore Pune,India, 9890858987 */ import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; import java.io.Writer; import java.util.Enumeration; import java.util.Hashtable; import javax.naming.Context; import javax.naming.NamingEnumeration; import javax.naming.NamingException; import javax.naming.ReferralException; import javax.naming.directory.Attribute; import javax.naming.directory.Attributes; import javax.naming.directory.DirContext; import javax.naming.directory.InitialDirContext; import javax.naming.directory.SearchControls; import javax.naming.directory.SearchResult; /* This class responsible for writing "o=oblix" tree into the idif file. */ public class LdifExporter { // search scope specifications ...

3. LDAP and ldif    forums.oracle.com

Hi All I have application which requires functionality associated with LDAP. Mainly with the ldif file format. I wondered if anyone can suggest any library that my provide me with this functionality. All I want to do at the moment is to read and write to the ldif format. Later I will add functionality for using an LDAP server. Any suggestions ...