You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ponymail.apache.org by sebbASF <gi...@git.apache.org> on 2016/06/15 01:20:52 UTC

[GitHub] incubator-ponymail issue #93: Inefficient ldapsearch in ASF aaa.lua#getPMCs

GitHub user sebbASF opened an issue:

    https://github.com/apache/incubator-ponymail/issues/93

    Inefficient ldapsearch in ASF aaa.lua#getPMCs

    The getPMCs function uses the following search:
    
    ldapsearch -x -LLL "(|(memberUid=%s)(member=uid=%s,ou=people,dc=apache,dc=org))" cn
    
    However, memberUid is not used for LDAP committee groups.
    Also the cn attribute is not needed.
    
    The query could be simplified to:
    
    ldapsearch -x -LLL "member=uid=%s,ou=people,dc=apache,dc=org" dn
    
    Alternatively, the code could just use the Whimsy JSON file
    
    https://whimsy.apache.org/public/public_ldap_committees.json


----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #93: Inefficient ldapsearch in ASF aaa.lua#getPMCs

Posted by Humbedooh <gi...@git.apache.org>.
Github user Humbedooh closed the issue at:

    https://github.com/apache/incubator-ponymail/issues/93


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #93: Inefficient ldapsearch in ASF aaa.lua#getPMCs

Posted by Humbedooh <gi...@git.apache.org>.
Github user Humbedooh commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/93
  
    Sebastian, the AAA module bundled with Pony Mail is an example. To my knowledge, it is not in use anywhere, nor should it be.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---