Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 40850 invoked from network); 1 Feb 2005 00:32:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Feb 2005 00:32:21 -0000 Received: (qmail 60284 invoked by uid 500); 1 Feb 2005 00:32:20 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 60238 invoked by uid 500); 1 Feb 2005 00:32:20 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 60224 invoked by uid 99); 1 Feb 2005 00:32:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 31 Jan 2005 16:32:20 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j110WHYP018925 for ; Tue, 1 Feb 2005 01:32:17 +0100 Message-ID: <1005972523.1107217937346.JavaMail.jira@ajax.apache.org> Date: Tue, 1 Feb 2005 01:32:17 +0100 (CET) From: "Alex Karasulu (JIRA)" To: directory-dev@incubator.apache.org Subject: [jira] Commented: (DIRLDAP-31) Commons.Cli implemented in Bind In-Reply-To: <1111589606.1107215958534.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRLDAP-31?page=comments#action_58345 ] Alex Karasulu commented on DIRLDAP-31: -------------------------------------- Very cool - if you have a (svn diff) patch you can attach it to this JIRA issue. Cheers, Alex > Commons.Cli implemented in Bind > ------------------------------- > > Key: DIRLDAP-31 > URL: http://issues.apache.org/jira/browse/DIRLDAP-31 > Project: Directory LDAP > Type: Improvement > Components: Clients > Versions: 0.8.0 > Reporter: Emmanuel Lecharny > Assignee: Alex Karasulu > Priority: Minor > > 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira