You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Christopher Marshall (JIRA)" <je...@portals.apache.org> on 2009/09/25 20:43:16 UTC

[jira] Created: (JS2-1068) LDAP When last user is removed from a role a uniqueMember with uid=foobar is left

LDAP When last user is removed from a role a uniqueMember with uid=foobar is left
---------------------------------------------------------------------------------

                 Key: JS2-1068
                 URL: https://issues.apache.org/jira/browse/JS2-1068
             Project: Jetspeed 2
          Issue Type: Bug
          Components: LDAP
    Affects Versions: 2.2.0
         Environment: Linux with the Fedora Directory Server
            Reporter: Christopher Marshall
            Priority: Minor


When using the Jetspeed admin interface with Jetspeed configured to use LDAP and the last user is disassociated or removed from a role Jetspeed does not remove the uniqueMember attribute but instead changes the value to be "uid=foobar".  This seems like a strange piece of trash to leave around in a directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Resolved: (JS2-1068) LDAP When last user is removed from a role a uniqueMember with uid=foobar is left

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma resolved JS2-1068.
----------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1

This is not really a bug but the side-effect of some default/example LDAP configurations provided by Jetspeed.
You should validate and setup the proper configuration used for mapping to LDAP. 
I already removed the uid=foobar example configuration some time ago so I consider this "issue" fixed. 

> LDAP When last user is removed from a role a uniqueMember with uid=foobar is left
> ---------------------------------------------------------------------------------
>
>                 Key: JS2-1068
>                 URL: https://issues.apache.org/jira/browse/JS2-1068
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: LDAP
>    Affects Versions: 2.2.0
>         Environment: Linux with the Fedora Directory Server
>            Reporter: Christopher Marshall
>            Priority: Minor
>             Fix For: 2.2.1
>
>
> When using the Jetspeed admin interface with Jetspeed configured to use LDAP and the last user is disassociated or removed from a role Jetspeed does not remove the uniqueMember attribute but instead changes the value to be "uid=foobar".  This seems like a strange piece of trash to leave around in a directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1068) LDAP When last user is removed from a role a uniqueMember with uid=foobar is left

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847438#action_12847438 ] 

Ate Douma commented on JS2-1068:
--------------------------------

This "problem" comes from the fact that LDAP GroupOfNames (or GroupOfUniqueNames) requires the member (or uniqueMember) attribute to have *a* value.
This issue is commonly regarded as a undesired restriction as it doesn't allow creating/maintaining empty entries of these types.
Most common solution or better workaround this is by providing a "dummy" or known value always, or by always using the entry own dn as default value.

The "uid=foobar" is just an example "default" required value configured in the security-ldap.xml assembly configuration, which you can change to something else if you want.

However, I'm going to provide an alternative solution which will allow you to use a predefined marker value, "#dn", which Jetspeed then will replace automatically with the current entry its full qualified dn itself.

> LDAP When last user is removed from a role a uniqueMember with uid=foobar is left
> ---------------------------------------------------------------------------------
>
>                 Key: JS2-1068
>                 URL: https://issues.apache.org/jira/browse/JS2-1068
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: LDAP
>    Affects Versions: 2.2.0
>         Environment: Linux with the Fedora Directory Server
>            Reporter: Christopher Marshall
>            Assignee: Ate Douma
>            Priority: Minor
>             Fix For: 2.2.1
>
>
> When using the Jetspeed admin interface with Jetspeed configured to use LDAP and the last user is disassociated or removed from a role Jetspeed does not remove the uniqueMember attribute but instead changes the value to be "uid=foobar".  This seems like a strange piece of trash to leave around in a directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Resolved: (JS2-1068) LDAP When last user is removed from a role a uniqueMember with uid=foobar is left

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma resolved JS2-1068.
----------------------------

    Resolution: Fixed

"fixed"

> LDAP When last user is removed from a role a uniqueMember with uid=foobar is left
> ---------------------------------------------------------------------------------
>
>                 Key: JS2-1068
>                 URL: https://issues.apache.org/jira/browse/JS2-1068
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: LDAP
>    Affects Versions: 2.2.0
>         Environment: Linux with the Fedora Directory Server
>            Reporter: Christopher Marshall
>            Assignee: Ate Douma
>            Priority: Minor
>             Fix For: 2.2.1
>
>
> When using the Jetspeed admin interface with Jetspeed configured to use LDAP and the last user is disassociated or removed from a role Jetspeed does not remove the uniqueMember attribute but instead changes the value to be "uid=foobar".  This seems like a strange piece of trash to leave around in a directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Reopened: (JS2-1068) LDAP When last user is removed from a role a uniqueMember with uid=foobar is left

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma reopened JS2-1068:
----------------------------

      Assignee: Ate Douma

Ugh, I just checked again and noticed I didn't commit those changes yet.
Will take care of this before the 2.2.1 release

> LDAP When last user is removed from a role a uniqueMember with uid=foobar is left
> ---------------------------------------------------------------------------------
>
>                 Key: JS2-1068
>                 URL: https://issues.apache.org/jira/browse/JS2-1068
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: LDAP
>    Affects Versions: 2.2.0
>         Environment: Linux with the Fedora Directory Server
>            Reporter: Christopher Marshall
>            Assignee: Ate Douma
>            Priority: Minor
>             Fix For: 2.2.1
>
>
> When using the Jetspeed admin interface with Jetspeed configured to use LDAP and the last user is disassociated or removed from a role Jetspeed does not remove the uniqueMember attribute but instead changes the value to be "uid=foobar".  This seems like a strange piece of trash to leave around in a directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org