Modify

Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#75 closed defect (fixed)

invalid base dn handling

Reported by: wichert@… Owned by: eblot
Priority: normal Component: LdapPlugin
Severity: major Keywords:
Cc: manu.blot@… Trac Release:

Description

LDAP group support not work for me. Some poking around revealed that instead of using
the dn's for users and groups as found with an LDAP search ldapplugin will always use
attribute=value,basedn . This does not work of users and groups are in seperate ou's,
for example in the very common ou=People,dc=base and ou=Groups,dc=base .

Attachments (1)

ptc (2.3 KB) - added by wichert@… 9 years ago.
simple suboptimal fix using new user and group basedn options

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by wichert@…

simple suboptimal fix using new user and group basedn options

comment:1 Changed 9 years ago by wichert@…

I've attached a trivial patch that gets things working for me. A proper fix would be to reuse the discovered group and user dn's instead of reassembling them at various points.

comment:2 Changed 9 years ago by eblot

  • Cc manu.blot@… added
  • Status changed from new to assigned

comment:3 Changed 9 years ago by eblot

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

Fixed up in [174].

However, tests have not been updated, please let me know if it works.
I've slightly changed the patch so that the previous behaviour keeps working.

Feel free to update the wiki page.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from eblot. Next status will be 'closed'.
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.