ldif

How to use LDAP credentials offline?

I would like to use an LDAP server (probably Apache directory) to manage logins and credentials for an application. From time to time the application needs to work offline (on a laptop) without a connection to the LDAP server. What is the best way to replicate the credentials localy? I have already thought about: Using Mitosis to rep...

Are most LDAP administrators creating LDIFs by hand?

Are there tools that make the job easier? If command-line only tools exist, then can anyone speculate if there is a market for a GUI tool? For example, you can create a relational database by modeling visually. Should the same notion exist for LDAP? ...

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

Hi guys! 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"); ldifLoader.execute(); But now ApacheDS stores the information in a directory server-wo...

LDIF Parser (C#)

I am looking for an LDIF parser for C#. I am trying to parse an LDIF file so that I can check objects don't exist before adding them. Adding them when the already exist using ntdsSchemaAdd) causes an entry in the error logs. ...

OID: How to add users to group through LDIF

How am I suppose to assign users a group? It seems that under this: dn: cn=<role_name>,cn=groups,<realm> objectclass: top objectclass: groupOfUniqueNames objectclass: orclGroup displayname: Role description: Role for this user uniquemember: <full DN> cn: <role_name> According to this example, when I add a group, I can specifiy...

How to validate an LDIF?

How to validate an LDIF? Similar to XML, XMLSchema and Schematron are there any libraries to validate an LDIF with an LDAP schema? Thanks, Chenz ...

How to update ldap with ldif backups?

Hi all, I have an openldap ldif backup file daily that I want to replicate in other server. I add the data with slapadd -v -l file.ldif but Can I update the changes that have occurred in my other ldap server with next ldif backup file? I try with ldapmodify, ldapadd but not work properly. Regards, f. ...