Re: Replication of password resets/unlocks



There are two aspects to your question.

The first is about password changes. Assuming that the reg key AvoidPDCOnWan isn't set (which is handled via the policy setting previously mentioned) passwords will be sent immediately out of band to the PDC when changed on a local machine. When a user tries to log on with the new password to a machine which doesn't have the new password again assuming to AvoidPDCOnWan setting, it will do what is called a PDC-Chain to send a request to the PDC to ask if the password is correct. If the password is correct, the PDC will ok the authentication and assuming you are on 2KSP4 or better will send a special replication down to the local DC to update that object - this is called ReplSingleObj in repadmin.

The second is about lockouts. Unlocks changes are not immediately sent to the PDC, they replicate normally. Also if a user tries to logon to a locked account, it will not necessarily chain that request to the PDC. I haven't dug into the specifics but I believe that occasionally it will check with the PDC to see if the account has been unlocked but not for every auth attempt, this is so a PDC will not be overwhelmed by attempts to auth a locked account (I have seen machines sending upwards of 100+ auth attempts a second for locked accounts).

The thing is, that lockouts really shouldn't be for a very long period of time. I feel that most companies incorrectly implement lockouts. It is very common to see a policy of 5 bads that lock the user for an hour. This is silly because a single bad auth could cause 3 bad authentication attempts, possibly more if you use custom authentication providers. Also what is the point of a 60 minute lockout? It is to really cause serious pain for your users. The idea behind auto lockout is to prevent brute force systems from sending thousands of passwords an hour to crack a password, if that is the case, then setting the lockout policy to 25 bad attempts and locking the account out for say 5 minutes is just as good from a security perspective; it will seriously impact the ability for a brute force attack. From the usability standpoint, it will only lockout users who have really screwed up with their password and give them just enough time to realize they really screwed up but take less time than a call to the helpdesk for an unlock and replication of the unlock meaning that if they call the helpdesk for a rest, the only mechanism that comes into play is the one in the first paragraph above which works fine.

joe

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm



Rajneel wrote:
Hi all,

Please excuse me if the query is a little trivial but I've been informed our Windows 2003 AD structure has been configured to replicate between DCs every 15 mins and even this will be subject to network traffic factors.

Will this mean that those users on different DCs to the Helpdesk will potentially have to wait 15mins or longer to be able to login once a password has been reset or account unlocked?

Thanks in advance!
.



Relevant Pages

  • Re: lockaccount flag in userAccountControl does not change
    ... Neither has explicit support for dealing with lockout though. ... The IADsUser interface in ADSI attempts to support it, ... checks to see if lockoutTime has a value or not and assumes the account is ... For more information on unlock, ...
    (microsoft.public.windows.server.active_directory)
  • Re: How to allow a user to unlock user accts from XP box?
    ... I have lockout set to 10 and I've never had a user get locked out from ... don't have lockout automatically unlock because I want to know what locked ... AFAIK there's no way to unlock an account other than in AD, ... alternative to letting someone log in at the server is RDP. ...
    (microsoft.public.windows.server.sbs)
  • Re: ss2000 account lockout
    ... Either wait for the lockout duration or have an admin unlock ... Once the AD account is unlocked you can authenticate to ... automatic lockout of a login after too many failed login attempts. ...
    (microsoft.public.sqlserver.security)
  • Re: How to allow a user to unlock user accts from XP box?
    ... You can set lockout to automatically ... >don't have lockout automatically unlock because I want to know what locked ... > AFAIK there's no way to unlock an account other than in AD, ... > alternative to letting someone log in at the server is RDP. ...
    (microsoft.public.windows.server.sbs)
  • Fw: Setting Account Lockout Policies with a NT PDC
    ... I have already configured the account ... account) to specific lockout policies (account lockout duration, ... > Subject: Re: Setting Account Lockout Policies with a NT PDC ...
    (Focus-Microsoft)