Hi All,Seems people are reading this tread so I have decided to chance putting some of my code up on the off chance that I have made a basic error and someone can spot it for me.I have two questions, the first relates to the ldap connection properties:I believe that my geoportal.xml file in the conf\Catalina\localhost folder is working correctly as changing the password kicks up error messages. This makes me think that the issue may be coming from my gpt.xml file within the webapps\geoportal\WEB-INF\classes\gpt\config folder.
<identity encKey="PtkEsri" realm="Geoportal">
<ldapAdapter>
<ldapConnectionProperties
providerURL="ldap://SERVERNAME:10389"
initialContextFactoryName="com.sun.jndi.ldap.LdapCtxFactory"
securityAuthentication="simple"
securityProtocol="">
<ldapServiceAccount
securityPrincipal="uid=admin,ou=system"
securityCredentials="secret"
encrypted="false"
catalogAdminDN="cn=gptadmin,ou=users,ou=system"/>
</ldapConnectionProperties>
<singleSignOn
active="false"
credentialLocation="userPrincipal"
anonymousValue=""
logoutOutcome=""/>
<selfCareSupport
supportsLogin="true"
supportsLogout="true"
supportsUserRegistration="true"
supportsUserProfileManagement="true"
supportsPasswordChange="true"
supportsPasswordRecovery="true"/>
<roles authenticatedUserRequiresRole="true">
<role
key="gptRegisteredUser"
groupDN="cn=gpt_registeredUsers,ou=groups,ou=system"/>
<role
key="gptPublisher"
inherits="gptRegisteredUser"
groupDN="cn=gpt_publishers,ou=groups,ou=system"/>
<role
key="gptAdministrator"
inherits="gptPublisher"
groupDN="cn=gpt_administrators,ou=groups,ou=system"/>
</roles>
<users
displayNameAttribute="uid"
passwordEncryptionAlgorithm="SHA"
newUserDNPattern="cn={0},ou=users,ou=system"
usernameSearchPattern="(&(objectclass=person)(cn={0}))"
searchDIT="ou=users,ou=system">
<requiredObjectClasses>
<objectClass name="top"/>
<objectClass name="person"/>
<objectClass name="organizationalPerson"/>
<objectClass name="inetOrgPerson"/>
</requiredObjectClasses>
<userAttributeMap>
<attribute key="username" ldapName="uid"/>
<attribute key="password" ldapName="userPassword"/>
<attribute key="email" ldapName="mail"/>
<attribute key="firstName" ldapName="givenName"/>
<attribute key="lastName" ldapName="sn"/>
<attribute key="organization" ldapName="o"/>
<attribute key="affiliation" ldapName="businessCategory"/>
<attribute key="street" ldapName="street"/>
<attribute key="city" ldapName="l"/>
<attribute key="stateOrProv" ldapName="st"/>
<attribute key="postalCode" ldapName="postalCode"/>
<attribute key="country" ldapName=""/>
<attribute key="phone" ldapName="telephoneNumber"/>
</userAttributeMap>
</users>
<groups
displayNameAttribute="cn"
dynamicMemberOfGroupsAttribute=""
dynamicMembersAttribute=""
memberAttribute="uniquemember"
memberSearchPattern="(&(objectclass=groupOfUniqueNames)(uniquemember={0}))"
searchDIT="ou=groups,ou=system">
</groups>
</ldapAdapter>
</identity>
My second question relates to SQLServer:As I am new to geoportal and have never seen it running server side therefore could anyone tell me if I should see any entries in the geoportal.GTP_User table when I start my tomcat service?When I start the service I have no entries in this table unless I register a new user via the "register" button on the geoportal homepage.Thanks in advanceDavid