6.0.0-beta1
8/8/25

[#1969] domain aware username
Summary domain aware username
Queue Passwd
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester worf (at) 4uchat (dot) de
Created 05/14/2005 (7391 days ago)
Due
Updated 05/15/2005 (7390 days ago)
Assigned
Resolved 05/15/2005 (7390 days ago)
Milestone
Patch No

History
05/15/2005 02:31:06 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
This is what _passwd_hook_default_username is for.
05/14/2005 10:19:31 AM worf (at) 4uchat (dot) de Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ domain aware username
Queue ⇒ Passwd
Reply to this comment
Application: Horde is running as webmail server and users should be 
able to change their password. Mail server supports multiple domains, 
Horde/IMP are used as web frontend. Authentication is done by LDAP.

Problem: Passwd changes username@domain.de to username, obviously ldap 
access fails then.



Solution: In main.php there are two locations with a line like

$userid = Auth::getBareAuth();

I changed that to

$userid = Auth::getAuth();

which solved that problem for my application. I know that is a quick'n 
dirty solution. One more line in config.php would be the correct 
solution, so admin can select the preferred way to present the 
username. Please consider that for next version of Passwd.

cheers

Christian


Saved Queries