WebSphere Portal Server - Problem Configuring LDAP with Portal Server.

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > June 2007 > Problem Configuring LDAP with Portal Server.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem Configuring LDAP with Portal Server.

2007-06-25, 7:24 am

Hi,

I have downloaded and installed Websphere Portal Express 6.0. This installed Websphere Application Server 6.0.2 sp15 along with it.

I could successfully log into the Portal server and the application server with the same credentials that i entered during the installation process.

Now i configured a LDAP directory Server (Sun one 5.2) and added the necessary user and group entries. Then i tried to configure the Portal server to use the LDAP Directory Server for security configurations. For this i edited the "wpsconfig.properties" l
ocated at "<WPS_ROOT>/config" with appropriate custom entries for LDAP. And then i ran the following commands,
1. WPSConfig.bat validate-ldap
2. WPSConfig.bat enable-security-ldap

Now after doing this though i could successfully log into the Portal URL(/wps/portal) with the new credentials that are added in the directory server. But when i tried to use the same credentials to log into the application server url(/ibm/console), it ga
ve me a log-in failure error.

Taking a look in to the log file, "SystemOut.log" located at " C:\ibm\WebSphere\profiles\wp_profile\log
s\server1\". It showed the following error "Authorization failed for wpsadmin" while invoking GET on admin_host:/ibm/console/, Authorization failed, Not
granted any of the required roles: administrator operator configurator monitor".

Looking at the error i can make out that some roles are not been allocated to the user "wpsadmin". But then how does it work for the portal URL and not for the Application server URL. Secondly how do i add these roles for this user. Where do i need to mak
e that configurations.

Can someone provide me with some pointers to this. I am pretty much stuck here.

Thanks,
Yuvi
Oliver Then

2007-06-25, 7:24 am

Yuvi,
I think you are confusing two things here. The portal admin ID is a
different thing than the appserver admin ID to log into the appserver
console. Therefore, in your wpconfig.properties file, you can add two
different IDs. One is called "WasUserId" and one is called
"PortalAdminId" in wpconfig.properties.

Oliver

2007-06-26, 7:18 am

Thanks oliver for that hint. I did a silly mistake of using the same id for both the Portal and the application server admin console. While i had set a different Id for each one in the wpsconfig.

- Yuvi
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com