#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)
Change History (4)
Changed 19 years ago by
comment:1 Changed 19 years ago by
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 19 years ago by
Cc: | Emmanuel Blot added; anonymous removed |
---|---|
Status: | new → assigned |
comment:3 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → 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.
simple suboptimal fix using new user and group basedn options