![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
![[z/OS]](../images/ngzos.gif)
LTPA_LDAPSecurityOn および LTPA_LDAPSecurityOff コマンドの使用
このトピックの例では、LDAP ユーザー・レジストリーを使用したシングル・サインオンをベースに、LTPA/LDAP セキュリティーを使用可能または使用不可にします。
LTPA/LDAP グローバル・セキュリティーを使用可能にする:
- ヘルプを使用して、指定する引数を確認してください。Jacl を使用:
LTPA_LDAPSecurityOn help
出力例:Syntax: LTPA_LDAPSecurityOn server user password port domain
Jython を使用:LTPA_LDAPSecurityOn('help')
出力例:Syntax: LTPA_LDAPSecurityOn(server, user, password, port, domain)
- 引数を指定して呼び出しを実行し、LTPA/LDAP セキュリティーを有効にする:Jacl を使用:
LTPA_LDAPSecurityOn ldpaServer1 user1 password1 660 ibm.com
Jython を使用:LTPA_LDAPSecurityOn('ldpaServer1', 'user1', 'password1', '660', 'ibm.com')
出力例:PLEASE READ BELOW: Done with LTPA/LDAP security turning on process, now you need to restart all the processes to make it affected. Then you can start using the client with SOAP or RMI connector.
- SOAP コネクターを使用してサーバーに接続する場合は、
soap.client.props ファイル (場所: app_server_root/properties ディレクトリー)
を変更する必要があります。
com.ibm.SOAP.securityEnabled=true com.ibm.SOAP.loginUserid=user1 com.ibm.SOAP.loginPassword=password1
-
RMI コネクターを使用してサーバーに接続する場合、app_server_root/properties ディレクトリーで sas.client.props ファイルを変更する必要があります。
com.ibm.CORBA.loginUserid=user1 com.ibm.CORBA.loginPassword=password1
- SOAP コネクターを使用してサーバーに接続する場合は、
soap.client.props ファイル (場所: app_server_root/properties ディレクトリー)
を変更する必要があります。
LTPA/LDAP グローバル・セキュリティーを使用不可にする:
- 次の呼び出しを実行して、LTPA/LDAP グローバル・セキュリティーを無効にするJacl を使用:
LTPA_LDAPSecurityOff
Jython を使用:LTPA_LDAPSecurityOff()
出力例:LTPA/LDAP security is off now but you need to restart all the processes to make it affected.