Modify

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#75 closed defect (fixed)

invalid base dn handling

Reported by: Wichert Akkerman Owned by: Emmanuel Blot
Priority: normal Component: LdapPlugin
Severity: major Keywords:
Cc: Emmanuel 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 Akkerman 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 Akkerman

Attachment: ptc added

simple suboptimal fix using new user and group basedn options

comment:1 Changed 11 years ago by Wichert Akkerman

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 Emmanuel Blot

Cc: Emmanuel Blot added; anonymous removed
Status: newassigned

comment:3 Changed 11 years ago by Emmanuel Blot

Resolution: fixed
Status: assignedclosed

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.

Modify Ticket

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.