Git Product home page Git Product logo

ldapgroups's Introduction

LDAPGroups

Bugzilla extension to map Bugzilla and LDAP groups.

Installation

  1. Copy the LDAPGroups/ to the Bugzilla extensions directory and run the checksetup.pl script.
  2. You should be using 'LDAP' as one of the user_verify_class options.
  3. Create or modify an existent group and add the 'LDAP DN' for it. This will be used to map the Bugzilla Group and the LDAP Group. It will add Bugzilla users to the group if they are also member of the related LDAP group. This will happen automatically when a Bugzilla group is created or modified.
  4. The groups membership will be synced up everytime the user logs in.

Important notes

The extension does not verify if the user is indirect member of a certain group. That means, the user will be added as member only for those groups he is directly member of.

The extension has been tested using OpenLDAP with the virtual attribute 'memberOf' enabled. You have to customize the code if it does not reflect your LDIF.

Example:

> ldapsearch -x uid=jsmith memberof
# extended LDIF
#
# LDAPv3
# base <dc=ldap,dc=bugzilla> (default) with scope subtree
# filter: uid=jsmith
# requesting: memberof 
#

# John Smith, Users, ldap.bugzilla
dn: cn=John Smith,ou=Users,dc=ldap,dc=bugzilla
memberOf: cn=group2,ou=Groups,dc=ldap,dc=bugzilla

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

ldapgroups's People

Contributors

timello avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.