directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksander Adamowski" <>
Subject Loading a "changetype: modify" LDIF programatically?
Date Tue, 06 Jan 2009 10:30:42 GMT

I've just discovered that the,
String) method supports only adding new entries from LDIF.

If I try to feed it a "changetype: modify" LDIF, instead of expected
modifications to existing directory entries, I get a
NullPointerException in<init>(
- it seems that the LDIF is parsed with an assumption that it relates
to a fresh new entry and it's not initialized correctly when it's a
modification LDIF.

Is there a way to programatically feed a modification LDIF to an
Apache DS service?

Best Regards,
  Aleksander Adamowski

View raw message