WPS: Autenticando Usuarios - Configurando um LDAP Federado

Vamos configurar a consulta a um diretório LDAP ao repositório federado, para armazenar informações sobre as contas de usuários.

'''Obs. 1:''' Verifique que os servidores server1 e WebSphere_Portal estejam executando antes de iniciar está tarefa.

'''Obs. 2:''' Veja exemplos em /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/helpers

1. Backup dos arquivos de configuração
Vá para o diretório

/opt/IBM/WebSphere/wp_profile/ConfigEngine/properties

faça um backup dos arquivos wkplc.properties

cp wkplc.properties wkplc.properties_antesLDAP

2. Definições no arquivo wkplc.properties
Edite o arquivo wkplc.properties e defina o seguinte:


 * Na seção VMM Federated LDAP Properties

federated.ldap.id=ldap1EmpresaX federated.ldap.host=ldapserver.empresax.com.br federated.ldap.port=389 federated.ldap.bindDN=cn=wpsbind,o=empresax federated.ldap.bindPassword=ReplaceWithYourPwd DOMINO65,DOMINO7,NDS,SUNONE,AD2000,AD2003,ADAM,CUSTOM federated.ldap.ldapServerType=DOMINO7 federated.ldap.baseDN=o=empresax
 * 1) The id specifies a unique identifier for the repository within the cell
 * 2) Characters that are not allowed in normal XML strings ( &  <   >  "   '   ) cannot be used in the repository ID.
 * 1) Specifies the host name of the primary LDAP server. This host name is either an IP address or a domain name service (DNS) name.
 * 1) Specifies the LDAP server port.
 * 1) Specifies the distinguished name for the application server to use when binding to the LDAP repository.
 * 1) Specifies the password for the application server to use when binding to the LDAP repository.
 * 1) Specifies the type of LDAP server to which you connect
 * 2) This must be one of the following values: SECUREWAY,IDS4,IDS51,IDS52,IDS6,ZOSDS,DOMINO5,DOMINO6,
 * 1) The LDAP base entry.