[Tickets #3895] Auth::get... in hooks
bugs@bugs.horde.org
bugs at bugs.horde.org
Thu May 11 09:36:52 PDT 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3895
-----------------------------------------------------------------------
Ticket | 3895
Updated By | adrieder at sbox.tugraz.at
Summary | Auth::get... in hooks
Queue | Horde Base
Version | HEAD
State | Feedback
Priority | 3. High
Type | Bug
Owners | Jan Schneider
-----------------------------------------------------------------------
adrieder at sbox.tugraz.at (2006-05-11 09:36) wrote:
I'm pretty sure that my configs are up to date.
As I discovered and tried to explain below, the hook is called before the
Auth object is filled. And there I get false from the various Auth::get...
calls.
But the hook gets recalled later on in the login process and then the
Auth::get... calls also return the desired values.
Now that I know this, I modified the hook in the way that it just returns if
Auth::get... returns false. Before I wasn't checking that and used the any
returned value for doing an ldap lookup. That was confusing me, because of
errors in the subsequent ldap lookups.
Maybe I didn't get everything, but is there a reason why the hook gets
called 4 times at login?
More information about the bugs
mailing list