[AIX Solaris HP-UX Linux Windows][z/OS]

LTPA_LDAPSecurityOn 和 LTPA_LDAPSecurityOff 命令用法

根据使用 LDAP 用户注册表的单点登录,使用本主题中的示例来启用和禁用 LTPA/LDAP 安全性。

启用 LTPA/LDAP 全局安全性:
  • 使用 help 来找出您需要提供的参数:
    使用 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.propsapp_server_root 中的文件/properties目录。
      com.ibm.SOAP.securityEnabled=true
      com.ibm.SOAP.loginUserid=user1
      com.ibm.SOAP.loginPassword=password1 
    • [z/OS]如果使用 RMI 连接器连接到服务器,那么需要修改sas.client.propsapp_server_root 中的文件/properties目录。
      com.ibm.CORBA.loginUserid=user1
      com.ibm.CORBA.loginPassword=password1
      
禁用 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.