You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by "Sam Ruby (Jira)" <ji...@apache.org> on 2020/02/26 17:23:00 UTC

[jira] [Commented] (WHIMSY-315) User cant login to whimsy after uid change

    [ https://issues.apache.org/jira/browse/WHIMSY-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045728#comment-17045728 ] 

Sam Ruby commented on WHIMSY-315:
---------------------------------

Looks like LDAP hasn't been updated completely.

 

excerpt from /etc/apache2/sites-available/10-whimsy-vm-443.conf

{{<Directory /x1/srv/whimsy/www/roster>}}
{{ AuthType Basic}}
{{ AuthName "ASF Committers"}}
{{ AuthBasicProvider ldap}}
{{ AuthLDAPUrl "ldaps://ldap-us-ro.apache.org:636 ldap-eu-ro.apache.org:636/ou=people,dc=apache,dc=org?uid"}}
{{ AuthLDAPGroupAttribute member}}
{{ AuthLDAPGroupAttributeIsDN on}}
{{ Require ldap-group cn=committers,ou=role,ou=groups,dc=apache,dc=org}}
{{</Directory>}}

 

{{% ldapsearch -x cn=committers | grep wifreds }}
{{member: uid=wifreds,ou=people,dc=apache,dc=org}}


{{rubys@rubyimac ~ % ldapsearch -x cn=committers | grep wilfreds}}
{{memberUid: wilfreds}}

> User cant login to whimsy after uid change
> ------------------------------------------
>
>                 Key: WHIMSY-315
>                 URL: https://issues.apache.org/jira/browse/WHIMSY-315
>             Project: Whimsy
>          Issue Type: Task
>            Reporter: John Andrunas
>            Priority: Major
>
> There was a typo in a new username so it was necessary to modify the uid attribute of his ldap account.  After doing so he is unable to login to whimsy.
> old UID:  wifreds
> new UID: wilfreds
> I did a little bit of poking around and found the following in the error logs on whimsy.
> {code:java}
> root@whimsy-vm4:/x1/srv/whimsy/www# grep -i wilfreds /var/log/apache2/whimsy_error.log
> [Wed Feb 26 12:03:29.085967 2020] [authz_core:error] [pid 31844:tid 139997671679744] [client 167.179.141.200:60088] AH01631: user wilfreds: authorization failure for "/roster/committer/__self__": , referer: https://whimsy.apache.org/
> [Wed Feb 26 12:07:22.188705 2020] [authz_core:error] [pid 31845:tid 139997696857856] [client 167.179.141.200:60131] AH01631: user wilfreds: authorization failure for "/roster/committer/__self__": , referer: https://whimsy.apache.org/
> [Wed Feb 26 12:13:25.668870 2020] [authz_core:error] [pid 32120:tid 139997814355712] [client 167.179.141.200:60201] AH01631: user wilfreds: authorization failure for "/roster/committer/__self__": , referer: https://whimsy.apache.org/
> {code}
> CC:[~wilfreds]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)