Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandscreate-authdb(1)


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

DESCRIPTION

 

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.

EXAMPLES

 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


SEE ALSO

 

delete-authdb(1), list-authdbs(1)



J2EE 1.4 SDKGo To TopLast Changed March 2004