Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
pre-1.0
-
None
-
None
Description
I've implemented commons.cli in Bind, it works (also used log4j) :
FATAL org.apache.ldap.clients.LdapBind - Error while parsing command line arguments : Unrecognized option: -k
INFO org.apache.ldap.clients.LdapBind - Command line arguments : -k 127.0.0.1 -p 389 -D cn=Manager,dc=iktek,dc=com -w secret -v
usage: Bind
D,-binddn bind DN
P,-protocol procotol version (default: 3)
h,-host LDAP server
n,-noupdate show what would be done but don't actually update
p,-port port on LDAP server
v,-verbose run in verbose mode (diagnostics to standard output)
w,-passwd bind passwd (for simple authentication)