Opened 6 years ago

Closed 4 years ago

#1484415 closed Feature Patches (fixed)

Auth LDAP using IMAP credentials - review

Reported by: coling Owned by:
Priority: 5 Milestone: 0.2-stable
Component: PHP backend Version: 0.1-beta
Severity: normal Keywords: LDAP IMAP
Cc:

Description

Hi.

The subject says it all.

In my RC install my LDAP server requires authentication to view contact info. It is the same LDAP that authenticates the IMAP and thus the logins for it vary from user to user.

I've added %u and %p substitutions into the bind_dn and bind_pass arguments.

Works for me!

Attachments (1)

ldap_bind.diff (1.2 KB) - added by coling 6 years ago.
Patch to make the bind work with current user credentials

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by coling

Patch to make the bind work with current user credentials

comment:1 Changed 5 years ago by seansan

  • Component changed from Client to PHP backend
  • Keywords LDAP IMAP added
  • Milestone set to 0.1.1
  • Summary changed from Support authenticated LDAP based on current login credentials to Auth LDAP using IMAP credentials - review

Review if this is wanted in 1.1. Seems like a choice to make.

Usernames are already configurable in config. So no major threat here

comment:2 Changed 5 years ago by till

  • Milestone changed from 0.1.1 to 0.2-beta

comment:3 Changed 4 years ago by thomasb

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

LDAP bind_dn and base_dn both support %u and %d. %p is not needed since the current session password will be used if bind_pass is empty.

Note: See TracTickets for help on using tickets.