Ticket #581 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

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

Reported by: tonio Assigned to: eblot
Priority: normal Component: LdapPlugin
Severity: normal Keywords: ldap group DN
Cc: nguyen.antoine@wanadoo.fr 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

model_py.patch (1.3 kB) - added by tonio on 08/08/06 14:03:20.
model.py patch

Change History

08/08/06 14:03:20 changed by tonio

  • attachment model_py.patch added.

model.py patch

10/22/06 01:32:08 changed by eblot

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #581 (Patch proposal to handle group member attribute that is not a DN)




Change Properties
Action