GWME-7.1.1-13 - LDAP Fix Where Group has Empty Alias or Description Field

Version 5 by Hans Kriel
on Jun 08, 2018 11:00.

compared with
Current by Hans Kriel
on Jun 08, 2018 11:28.

(show comment)
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (7)

View Page History
h1. Problem

GroundWork 7.1.1 LDAP is not happy with AD which includes groups where certain attributes like "description" or "alias" include empty values. These groups are coincidentally containing the GW users, and do not have to be the GW groups, they are just associated with the user who is logging in to GW using LDAP. The error manifests itself by the symptom that the user does not get the default start page, as he does not have any GW role recognized and so will see a 403 error "unauthorized". In the framework log the login sequence comes to the point where you would expect a list of authorized roles and instead you see *.
GroundWork 7.1.1 LDAP is not happy with AD which includes groups where certain attributes like "description" or "alias" include empty values. These groups are often some in the AD tree that coincidentally contain the GW users, and do not have to be the GW groups, they are just associated with the user who is logging in to GW using LDAP.

The error manifests itself by the symptom that the user does not get the default start page, as he does not have any GW role recognized and so will see a 403 error "unauthorized". In the framework log the login sequence comes to the point where you would expect a list of authorized roles and instead you see *.

h1. Solution


# Download the patch file tar archive
{attachments:patterns= put-it-here}
{attachments:patterns=TB7.1.1-13.LDAP-Empty-Alias-Fix.tgz}
# Decompress the install script and files and run the install script. They will appear in subdirectory {{TB7.1.1-12.tomcat-6.0.53}}.
{noformat}
h1. Logging

Refer to this tech note to increase logging level
Refer to these tech notes to increase the logging level should you have trouble or wish to validate:
[https://kb.groundworkopensource.com/display/STAFF/standalone.xml+settings]
[https://kb.groundworkopensource.com/display/STAFF/Changing+log+level+in+GroundWork+7.x+without+restarting+Portal]