populatedb

Description

Populates the ACDB.

Syntax

populatedb --rootorg_dn org_DN --rootorg_name org_name
[--database_type sybase_ase | sybase_asa | oracle]
[--guest_password password] 
[--jdbc_admin_password password] 
[--jdbc_admin_username user_name] 
[--jdbc_driver driverName] 
[--jdbc_url jdbcURL] 
[--portaladmin_password password] 
[--pso_password password] 
[--psoemail email] 
[--psoname psoName] 
[--psophone phone] 
[--psouid psoUID] 
[--random_seed seed]
[--rootorg_address address]
[--rootorg_contact contactName]
[--rootorg_desc description]
[--sybase_asa_servicename service_name]
[--webplugin_password password]

Argument

Datatype

Default value

Description

* rootorg_dn

string

Root organization DN. This is usually derived from the domain of the server. For example, a server in the domain MyCompany.com might have a root organization DN of dc=MyCompany,dc=com.

* rootorg_name

string

Root organization name.

database_type

choice

sybase_ase

The database type. This value is used to determine the default values for the jdbc_url and jdbc_driver arguments.Acceptable values are:

  • sybase_ase

  • sybase_asa

  • oracle

guest_password

string

guest

Password for the guest user.

jdbc_admin_password

string

Password for the user specified by jdbc_admin_username.

jdbc_admin_username

string

sa

User name for connecting to the database for administrative purposes (creating databases, tables, and so on).

jdbc_driver

Java class name

Depends on the value of database_type; for sybase_ase:

com.sybase.jdbc2.jdbc.SybDriver

JDBC driver to use when connecting to the database.

jdbc_url

string

Depends on the value of database_type; for sybase_ase:

jdbc:sybase:Tds:host: 5000/acdb

JDBC URL to use when connecting to the database.

portaladmin_password

string

sybase

Password for the Portal Administrator.

pso_password

string

123qwe

Password for the user specified by psouid.

psoname

string

Portal Security Officer

Name of the Security Officer.

psophone

string

Security Officer’s phone number.

psoemail

string

Security Officer’s e-mail address.

psouid

string

pso

Security Officer’s user ID.

random_seed

integer

An integer to use as a random seed.

rootorg_address

string

Root organization’s address.

rootorg_contact

string

Root organization contact name.

rootorg_desc

string

Description of the root organization.

sybase_asa_servicename

string

acdb

The SERVICENAME connection property to use when connecting to a Sybase ASA database.

webplugin_password

string

sybase

Password for anyone using the Web server plug-in.

Returns

Return value

Indicates

0

The command ran successfully; the result is true/success.

1

The command failed.

Examples

Example 1

This command line example populates the ACDB for the root organization Sybase.com:

securetool populatedb --rootorg_name Sybase.com --rootorg_dn dc=sybase,dc=com

NoteBefore you populate the ACDB, you must create the ACDB schema—see createschema.

See also

createdb createschema querydb removedb upgradedb