addresourceutil - Add Resources Utility

addresourceutil [options] InputFileName | --stdin

The addresourceutil program exposes your existing LDAP users to Lawson. The typical way to run this program is to use an input file containing the users you want to add to your LDAP. Running addresourceutil will create an LDIF file that you can then use to load the users into your LDAP.

Example user input file for addresourceutil program

cn=johnd,ou=myusers,o=lawson
cn=janed,ou=myusers,o=lawson
cn=joes,ou=myusers,o=lawson
cn=jills,ou=myusers,o=lawson

You can create the file manually or use a tool to extract the required information from your LDAP directory server.

For more information on managing users with LDAP, see the Resources and Security Administration Guide.

Note: The security server must be running when you execute this program.
Parameter Description
-f output_file_name

Location and name of the LDIF output file that will be generated by the command. For example:

addresourceutil –f c:/MyOutputFileLocation/addusers.ldif users.txt

You can omit this parameter and direct output to a file, for example,

addresourceutil users.txt > outputfile.ldif

When an output file is not specified, output displays on the screen.

-D binddn The LDAP distinguished name used to bind to the LDAP server.
-h host Name of the LDAP server. (If the security server is running when you run addresourceutil, you do not need to specify this.)
-p port LDAP server port. (If the security server is running when you run addresourceutil, you do not need to specify this.)
-w password Password that you use to run the LDAP server. (If the security server is running when you run addresourceutil, you do not need to specify this.)
-A

Add resources directly to the LDAP. If you use this option, you will not create an LDIF file. Use this option only if you are familiar enough with your LDAP data that you do not need to review proposed changes before updating.

(Do not use if you are using the -x option.)

-x

Create delete LDIF.

You can also use addresourceutil to delete users, that is, to reverse the process of exposing Lawson users to an existing LDAP.

(You cannot use this with the -A option.)

--stdin Reads standard input. If you use this parameter, you can omit the user input file.
-? Print usage.
-v Verbose, that is, display messages during runtime.