Thanks for the clarification. That's what I needed to know. -- Andrew Clark
On Friday, December 17, 2010 03:41:12 pm Heikki Vatiainen wrote: > On 12/17/2010 11:06 PM, Andrew Clark wrote: > > I've just got a simple question about a PostSearchHook when an AuthBy > > LDAP2 experiences a server timeout. I know that AuthBy will return an > > IGNORE, but is the PostSearchHook skipped or does it still execute? > > It does not execute. When the search terminates due to a timeout, you > should see something like this in the log: > > ERR, "ldap search for $filter failed with error LDAP Timeout. > ERR, "Disconnecting from LDAP server (server $server:$port) > > After the disconnect ERR, the search returns and the hook is not run. > > In other words: the hook is only run if the results were received > without an error. MaxRecords controls how many results are examined, if > there are multiple results, and the hook runs for each result. > > Does this sound like what you were expecting? > > Thanks! _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator