asadmin-create-authdb(1AS) User Commands asadmin-create-authdb(1AS)
NAME
create-authdb - adds the new authorized database for the named instance
SYNOPSIS
create-authdb --user admin_user[--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s][--instance
instance_name] --database database--virtualserver virtualserver_ID[--basedn basedn] [--certmaps certmaps]authdb_ID
Adds the named authorized database associated with the named server instance.
OPTIONS
--user administrative user associated for the instance.
--password administrative password corresponding to the administrative user.
--host host name of the machine hosting the administrative instance.
--port administrative port number associated with the administrative host.
--passwordfile file containing passwords appropriate for the command (e.g., administrative instance).
--secure if true, uses SSL/TLS to communicate with the administrative instance.
--instance name of the instance.
--database user database name in the dbswitch.conf file.
--virtualserver virtual server ID. It can also be referred to as the variable $id in an obj.conf file. A virtual server ID cannot
begin with a number.
--basedn overrides the base DN lookup in the dbswitch.conf file. However, the basedn value is still relative to the base DN
value from the dbswitch.conf entry.
--certmaps certificate to LDAP entry mappings as defined in the certm.conf file. If not present, all mappings are used. All
lookups are based on mappings in the certmap.conf file and are relative to the final base distinguished name (DN)
of the virtual server.
OPERANDS
authdb_id user database name in the virtual server's ACL file.
Example 1: Using create-authdb
asadmin> create-authdb --user admin --password adminadmin --host fuyako --port 7070 --database default --virtualserver server1 --basedn "o=sun" sampleAuth
Created AuthDB with id = sampleAuth
Where sampleAuth is the authdb created.
EXIT STATUS
0 command executed successfully
1 error in executing the command
INTERFACE EQUIVALENT
unknown
asadmin-delete-authdb(1AS), asadmin-list-authdbs(1AS)
J2EE 1.4 SDK March 2004 asadmin-create-authdb(1AS)