This must be on v2.x. Can you please post the entire stack trace?
Also, in v3, this is somewhat improved. We now have a command called "configure-ldap-for-admin".
-Kedar
[Message sent by forum member 'km' (kedar.mhaswade_at_sun.com)]
http://forums.java.net/jive/thread.jspa?messageID=365785