Page MenuHomePhabricator

Added support for settings the LDAP email attribute
Needs ReviewPublic

Authored by robloxianmany on Oct 7 2015, 7:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 3, 7:29 AM
Unknown Object (File)
Mar 5 2024, 5:18 AM
Unknown Object (File)
Mar 4 2024, 6:33 PM
Unknown Object (File)
Mar 4 2024, 4:37 PM
Unknown Object (File)
Mar 4 2024, 4:37 PM
Unknown Object (File)
Feb 13 2024, 2:28 PM
Unknown Object (File)
Dec 27 2023, 7:08 AM
Unknown Object (File)
Dec 27 2023, 7:08 AM
Subscribers

Details

Reviewers
None
Group Reviewers
Blessed Reviewers
Summary

Added the ability to set a different LDAP email attribute, one other than mail.

Not all LDAP servers use mail as their email attribute. My local LDAP server uses, for example, userPrincipalName.

Depends on D14244

Test Plan

Depends on D14244

Configure Phabricator to use an LDAP server for authentication, one configured with no mail attribute.

Set the email attribute in the LDAP config.

Perform an LDAP Import.

You should be able to import the LDAP account with the email attribute you configured. In the past, it would have failed due to no email.

Diff Detail

Repository
rP Phabricator
Branch
ldapemail
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 8206
Build 9383: arc lint + arc unit

Event Timeline

robloxianmany retitled this revision from to Added support for settings the LDAP email attribute.
robloxianmany updated this object.
robloxianmany edited the test plan for this revision. (Show Details)
robloxianmany set the repository for this revision to rP Phabricator.