Select to view content in your preferred language

Logging into Geoportal with any user/PW yields a "Welcome" message

2505
4
10-05-2011 08:41 AM
WilliamCraft
MVP Alum
My Geoportal is configured for using LDAP public-protected authenticatoin.  Whether I use an actual user/PW from Microsoft ADS or a bogus set of credentials, the application always yields a "Welcome" message but nothing else works.  I see no Admin link or any way to register a repository. 

In fact, after "logging in" I end up clicking the Search button and get the following:

Could not get a csw search engine: Did not get key = local in repository com.esri.gpt.framework.context.ConfigurationException: A databaseReference has not been configured for connectionTag: Could not perform operation.

I'm using Geoportal 1.1.1 with SQL Server 2008 and I have set the CLASSPATH to the sqljdbc4.jar file in the system environment variables.
0 Kudos
4 Replies
CliveReece
Esri Contributor
If you think it's related to LDAP, but are not sure, first try to isolate LDAP out of the equation to see if that is causing your issue.

Go into your gpt.xml and switch over to simple authentication:

  1. Stop Tomcat

  2. find the <indentity> section, ~line 312

  3. Un-comment the <simpleAdapter> section to enable it (~lines 314-321)

  4. Comment-out (using <!-- and ending -->) the <ldapAdapter> section (~lines 324-412)

  5. Restart Tomcat


If you still get the same behavior in the Geoportal, then it's not associated with LDAP.
0 Kudos
WilliamCraft
MVP Alum
Switching the configuration over the Simple Authentication instead of LDAP Authentication results in the exact same behavior, which is that the application seems to always say "Welcome" despite whether I click Login without entering any credentials or whether I actually input a valid set of credentials. 

At this point, I have reviewed the Fiddler traffic associated with these steps and I am not seeing any communication between the server which contains Geoportal and Tomcat with the server containing MS Active Directory. 

I have followed the Apache Tomcat 6 installation instructions and also made the necessary configurations for Tomcat to work well with IIS (http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html). 

Any suggestions for further methods of troubleshooting would be greatly appreciated.
0 Kudos
BryanBarry
Emerging Contributor
I am having the same issue with our Geoportal
We are using the 1.1.1 revision on Windows Server 2008 R2 Standard Edition
Everytime I login with gptadmin in both the username and password I get a welcome screen but
nothing is available for Administration.  Any ideas would be appreciated
0 Kudos
lawrenceramos
Deactivated User
Try going to line 498 of gpt.xml and delete "<!--". This worked for me.
0 Kudos