[Tickets #8091] Re: Perms_UI is storing Auth::listUsers() "Display Name"
bugs at horde.org
bugs at horde.org
Tue Mar 17 14:32:16 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8091
------------------------------------------------------------------------------
Ticket | 8091
Updated By | thomas at gelf.net
Summary | Perms_UI is storing Auth::listUsers() "Display Name"
Queue | Horde Framework Packages
Version | HEAD
Type | Bug
State | Not A Bug
Priority | 1. Low
Milestone |
Patch | 1
Owners |
------------------------------------------------------------------------------
thomas at gelf.net (2009-03-17 10:32) wrote:
Hi Michael,
thank you for your quick response! As written below in the meantime I
realized that listUsers is not doing what I expected it to do. So I've
probably been a little bit too fast in posting this ;-) I'm using a
custom LDAP Auth backend, based on the upcoming Zend_Ldap component
(the one from "incubator", not the stable one). And: no, I'm not
supposing it to be "better", I have other reasons for using it ;-)
As fair as I understood now, there is no kind of enumUsers() to be
found, wouldn't that be a good addition? For compatibility reasons
Auth.php could provide it's own enumUsers() function, wrapping
listUsers() into an array with appropriate keys for Auth backends not
providing their own enumUsers() function.
It's just an idea, it could avoid identity hooks in some cases
(Whups?) - in my case it helps making permission assignment easier.
Our AD-users are in the form "uabcd" (u + 4 chars) for historical
reasons, showing "real" names makes managing permissions a lot easier.
I'll for sure not be offended it you see no sense in this, so please
feel free to close this ticket. If otherwise you would like me to
provide additional patches showing how this could look like, please
let me know.
Regards,
Thomas
More information about the bugs
mailing list