Modify

Opened 9 years ago

Closed 8 years ago

#581 closed enhancement (fixed)

Patch proposal to handle group member attribute that is not a DN

Reported by: tonio Owned by: eblot
Priority: normal Component: LdapPlugin
Severity: normal Keywords: ldap group DN
Cc: nguyen.antoine@… Trac Release: 0.10

Description

Hi,

I hope this is the right place to submit this patch :)

Here is a modification of the LDAP plugin that allows group attribute to be specified like this :

dn: cn=developers,ou=groups,dc=test
cn: developers
objectClass: posixGroup
memberUid: toto

In this case, members are not specified by a DN but only by a login name. This is the configuration I use, it explains why I needed this modification of the plugin :)

I attach a diff file of model.py. I used the latest version of LdapPlugin, available from the svn repository (0.4.3).

I hope this will help other people :)

Antoine Nguyen

Attachments (1)

model_py.patch (1.3 KB) - added by tonio 9 years ago.
model.py patch

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by tonio

model.py patch

comment:1 Changed 8 years ago by eblot

  • Resolution set to fixed
  • Status changed from new to closed

Patch modified a little bit and applied in [1418]. Thanks a lot.

Add Comment

Modify Ticket

Action
as closed The owner will remain eblot.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.