Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#75 closed defect (fixed)

invalid base dn handling

Reported by: wichert Owned by: eblot
Priority: normal Component: LdapPlugin
Severity: major Keywords:
Cc: eblot Trac Release:


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 11 years ago.
simple suboptimal fix using new user and group basedn options

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by wichert

simple suboptimal fix using new user and group basedn options

comment:1 Changed 11 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 11 years ago by eblot

  • Cc eblot added; anonymous removed
  • Status changed from new to assigned

comment:3 Changed 10 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

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

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

Note: See TracTickets for help on using tickets.