Modify

Opened 18 years ago

Closed 18 years ago

#581 closed enhancement (fixed)

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

Reported by: tonio Owned by: Emmanuel Blot
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 18 years ago.
model.py patch

Download all attachments as: .zip

Change History (2)

Changed 18 years ago by tonio

Attachment: model_py.patch added

model.py patch

comment:1 Changed 18 years ago by Emmanuel Blot

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.