Topic Options
Rate This Topic
#61365 - 04/15/02 08:10 AM User Cache and LDAP
ziffy Offline
Just Signed Up

Registered: 10/15/01
Posts: 2
Has anyone figured out how to cache Users when using Ldap to authenticate?

Top
#61366 - 06/18/02 11:43 AM Re: User Cache and LDAP [Re: randolphk]
Jarl Groneng Offline
enthusiast

Registered: 03/10/05
Posts: 2371
Create a structure with loginname and time, check this when the user goping trough the AREAVerifyLoginCallback. If the user is there, drop out and send the OK code and update the time settings. If not continue autenticate, after the user are OK add the user to the structure list. In the AREANeedToSyncCallback add some kind of code to check if the time (loginname) is older than x seconds, then free this user from the structure list.

Top
#61367 - 10/11/05 03:10 AM Re: User Cache and LDAP [Re: randolphk]
gunalgiri Offline
Stealth Member

Registered: 01/23/04
Posts: 11
can you please let me know how to cache the user in the AREA plugin for External Authentication

Top