6.2 General Command Options

Table 6-1 outlines general posAdmin command line options.

Table 6-1 posAdmin command line options

Option

Description

--user

--password

Used primarily for authentication as a user identified by a password. For example,

posAdmin.pl --user cn=admin,o=mycorp,c=us --password secret

If you do not authenticate using command line options, you are prompted for a user name and password.

--base

Specifies a base context in the LDAP directory. When you add a new location (branch), you specify an organization or organizational unit as a base. For example,

--base o=mycorp,c=us
--base ou=boston,o=mycorp,c=us

In some cases, you can use an abbreviation or a common name for the base. This is possible only if the common name is a unique value in the directory. For example,

--base boston

If posAdmin cannot determine the base (no base or more than one base is found), it exits with an error message.

--help

Displays a usage message that summarizes the basic command options.