Re: Cached Logon Count problem
From: Steven L Umbach (n9rou_at_n0-spam-for-me-comcast.net)
Date: 10/29/04
- Previous message: Steven L Umbach: "Re: Password"
- In reply to: Cameron Epp: "Re: Cached Logon Count problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 29 Oct 2004 03:49:35 GMT
Glad to hear you got it worked out and thanks for letting me know how you
did it! --- Steve
"Cameron Epp" <camepp@gmail.com> wrote in message
news:1098989460.147857.50970@z14g2000cwz.googlegroups.com...
> Hi Steve, thanks for the note.
>
> I tried your suggestion already - but all that the GPO setting does is
> change the value of the registry key I mentioned before.
>
> I think I found the reason for this behaviour though... Once I set the
> value (of cachedlogonscount) to 0, it wipes out the cache information
> in HKLM\security\cache. This prevents people from logging on with
> cached credentials. However, when I reset the value of
> cachedlogonscount, it does not restore the previous values into
> HKLM\security\cached - all it does is allow new values to be placed in
> there. So in my scenario the user has to log on twice - once to change
> the value of cachedlogonscount, then a second time (after reboot) to
> re-cache their credentials.
>
> For the project I am working on, I got around this by editing the
> values in HKLM\security\cache directly. To prevent them from continuing
> to use cached credentials, I delete all the values under that key
> (effectively wiping out the credential information). The next time they
> log on successfully (which now means they have to authenticate with the
> domain because they have no cached credentails), the credentials can be
> recached without a problem, since I never changed the cachedlogonscount
> in the first place.
>
> So - this has allowed me to design a service that can track how long
> users have been 'off' the domain, and if they have been away too long,
> the service can force them to reauthenticate by preventing them from
> using the cached credentials.
>
> // Cam
>
- Previous message: Steven L Umbach: "Re: Password"
- In reply to: Cameron Epp: "Re: Cached Logon Count problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|