Geoportal Login Fails on Connection to Postgresql

2339
2
02-07-2011 12:23 PM
TomGiles
New Contributor
Hi,

I have a geoportal setup with postgresql, tomcat 6 using windows AD.

When I attempt to login to the geoportal, I get the error message:

"A valid userid was not auto-generated for remote user: cn=gptAdmin,ou=users,ou=gis,dc=gis,dc=local"

I am certain that I am connecting to the LDAP, and the database. The issue seems to be coming from postgres db access/config.

In my pg_hba.conf file I am currently not restricting any access (I am using 'host all all 0.0.0.0/0 trust').

If anyone has seen this error message or knows more about it I could use a push in the right direction! I couldn't find anything on the geoportal site or in the help files.

Many thanks,

Tom
0 Kudos
2 Replies
DennisGeasan
Occasional Contributor II
Check the definition of the Geoportal roles in your gpt.xml file.  If the portal cannot find a user ID in one of the roles (AD Groups) it will complain.  The portal authenticates with AD to establish a users ability to edit metadata and/or manage a profile.  Can you see metadata in a search of your portal before you login?  If so then your connection problem is with AD.

Dennis Geasan
GIS Technologies
0 Kudos
TomGiles
New Contributor
0 Kudos