Unsolved
This post is more than 5 years old
12 Posts
0
1165
Centera CLI Script - external authentication
Hello.
How can I connect Centera with Centera CLI script and Active Directory (external) user?
Normal use for local users/profiles is:
java -cp CenteraViewer.jar com.filepool.remote.cli.CLI -u USER -p PASSWORD -ip CLUSTER_IP -script SCRIPT.CLI
Thanks and regards,
Gerald
srg8bw
12 Posts
0
April 2nd, 2012 06:00
Thanks a lot!
GBcentera
46 Posts
1
April 2nd, 2012 06:00
References can be found in the Online Help.
Home > CLI Reference Guide > CLI Conventions standalone version
Home > Creating a Batch File
You must specify a connection method by adding a profile name. For external authentication, use -u external\profilename or -u profilename@external. For the local connection method, use -u local\profilename or -u profilename@local. Alternatively you can add the -m option. The -m option specifies the authentication method. The two possible options are "local" and "external." Local refers to a defined profile resident on the Centera cluster whereas external refers to an LDAP/AD profile used for authentication purposes. The external parameter can only be used if LDAP/AD has been configured.
If you use the -m option, you must use the -u option to pass the CLI a correct series of authentication parameters.
If you do not specify a connection method, the local connection is used. Only the first specified method is used; the rest are ignored.