You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2006/02/12 10:42:28 UTC

[jira] Updated: (DIRSERVER-186) Commons.Cli implemented in Bind

     [ http://issues.apache.org/jira/browse/DIRSERVER-186?page=all ]

Emmanuel Lecharny updated DIRSERVER-186:
----------------------------------------

    Fix Version: 1.1.0
    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)


  was:
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)


        Version: pre-1.0
    Environment: 

This is still to be checked. Ldap clients are not working, I bet, due to ByteBuffer problems.

> Commons.Cli implemented in Bind
> -------------------------------
>
>          Key: DIRSERVER-186
>          URL: http://issues.apache.org/jira/browse/DIRSERVER-186
>      Project: Directory ApacheDS
>         Type: Bug
>     Versions: pre-1.0
>     Reporter: Emmanuel Lecharny
>     Assignee: Alex Karasulu
>     Priority: Minor
>      Fix For: 1.1.0

>
> 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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira