LTPA_LDAPSecurityOn and LTPA_LDAPSecurityOff command usage
Use the examples in this topic to enable and disable LTPA/LDAP security, based on single sign-on using the LDAP user registry.
Enable LTPA/LDAP global security:
- Use help to find out what arguments provide:
Using Jacl:
LTPA_LDAPSecurityOn help
Example output:
Syntax: LTPA_LDAPSecurityOn server user password port domain
Using Jython:
LTPA_LDAPSecurityOn('help')
Example output:
Syntax: LTPA_LDAPSecurityOn(server, user, password, port, domain)
- Issue the call with the arguments provided to turn on LTPA/LDAP security:
Jacl:
LTPA_LDAPSecurityOn ldpaServer1 user1 password1 660 ibm.com
Using Jython:
LTPA_LDAPSecurityOn('ldpaServer1', 'user1', 'password1', '660', 'ibm.com')
Example output:
PLEASE READ BELOW: Done with LTPA/LDAP security turning on process, now we need to restart all the processes to make it affected. Then we can start using the client with SOAP or RMI connector.
- If we use the SOAP connector to connect to the server, we need to modify the soap.client.props file in the app_server_root/properties directory.
com.ibm.SOAP.securityEnabled=true com.ibm.SOAP.loginUserid=user1 com.ibm.SOAP.loginPassword=foo1
- If we use the RMI connector to connect to the server, we need to modify the sas.client.props file in the app_server_root/properties directory.
com.ibm.CORBA.loginUserid=user1 com.ibm.CORBA.loginPassword=foo1
Disable LTPA/LDAP global security:
- Issue the following call to turn off LTPA/LDAP global security
Using Jacl:
LTPA_LDAPSecurityOff
Using Jython:
LTPA_LDAPSecurityOff()
Example output:
LTPA/LDAP security is off now but we need to restart all the processes to make it affected.
SecurityConfigurationCommands (AdminTask)