Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-186

Commons.Cli implemented in Bind

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • pre-1.0
    • 1.5.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)

      Attachments

        Activity

          People

            akarasulu Alex Karasulu
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: