Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0024044mantisbtldappublic2026-05-14 14:09
Reporterraspopov Assigned Tocommunity  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.11.1 
Target Version2.29.0Fixed in Version2.29.0 
Summary0024044: Getting user name and email from LDAP without LDAP authentication
Description

It'll be nice to allow getting a user real name and email from LDAP without actual LDAP authentication i.e. when authentication set to HTTP_AUTH or anything else. In that case options $g_use_ldap_realname and $g_use_ldap_email set to 'ON' but $g_login_method is not a 'LDAP'.

Additional Information

PR for this: https://github.com/mantisbt/mantisbt/pull/1308

TagsNo tags attached.

Relationships

related to 0036873 resolvedcommunity When creating or updating a user, the email address and real name are not synchronized with LDAP 

Activities

raspopov

raspopov

2024-12-11 10:24

reporter   ~0069575

Last edited: 2024-12-11 10:41

Updated PR: https://github.com/mantisbt/mantisbt/pull/1308

I would like to point out that LDAP authentication and using LDAP as a user database are quite different things. But everywhere in the MantisBT code these concepts are unreasonably mixed together. This is especially important for authentication via Active Directory. In this case, it is convenient to verify users using the web server itself (Apache or IIS), and take user data (mail, name, avatar, etc.) directly from Active Directory via the LDAP interface.

This PR will complement my new plugin nicely when used with AD: https://github.com/raspopov/MantisExtAuth

dregad

dregad

2024-12-27 09:48

developer   ~0069615

@raspopov I'm sorry, this totally fell off the radar... I just noticed it today as I filtered on Issues you reported, to check whether I had processed all of your recent contributions.

Related Changesets

MantisBT: master 3b060d7f

2018-02-18 13:52

raspopov

Committer: dregad


Details Diff
Getting user name and email from LDAP without LDAP authentication

Removed unneeded LDAP authentication checks to enable independent
retrieval of LDAP real name and email.

Fixes 0024044
Affected Issues
0024044
mod - account_page.php Diff File
mod - account_update.php Diff File
mod - core/commands/UserUpdateCommand.php Diff File
mod - core/user_api.php Diff File
mod - manage_user_create_page.php Diff File
mod - manage_user_edit_page.php Diff File

MantisBT: master 6ad19230

2026-02-09 10:21

raspopov

Committer: dregad


Details Diff
Updated docs for LDAP

The "admin.config.auth" documentation section has been split into two:
"admin.config.auth" and "admin.config.ldap". LDAP restrictions have been
removed and links have been corrected.

Issue 0024044
Affected Issues
0024044
mod - docbook/Admin_Guide/en-US/Authentication.xml Diff File
mod - docbook/Admin_Guide/en-US/Configuration.xml Diff File
mod - docbook/Admin_Guide/en-US/config/auth.xml Diff File
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File
add - docbook/Admin_Guide/en-US/config/ldap.xml Diff File