This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

[ApacheDs] How to use "changetype: delete" correctly?  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey there!

I just got into LDAP Servers and everything that is  coming with it. As I was looking for an all Java one, I am by now using ApacheDs and already successfully embedded it into my application.
Now I am trying to modify/configure my Server with LDIF files. These LDIF-Files contain everything I need to setup my Server and almost all of them work just fine and do what they are supposed to.

For example changing an entry like this works just fine:

But however trying to delete the entry doesn't do anything at all.
I tried it like this:

To execute the LDIF-Files I use LdifFileLoader.execute() (org.apache.directory.server.protocol.shared.store.LdifFileLoader) which seems to work just fine for everything but deleting entries...
It does not give my any errors, like it does when i messed up the syntax or so.

Is there anyone who maybe had the same issue or anyone who knows what I am doing wrong?

Thanks in advance!
Max
 
Why am I so drawn to cherry pie? I can't seem to stop. Save me tiny ad!
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!