Re: PDC maintains the last two (2) user passwords in AD



I think you may be seeing replication latency... Please see the following


[Thu 04/06/2006 15:51:00.65]
C:\WINDOWS\ADAM>netdom query pdc
Primary domain controller for the domain:

2K3DC01
The command completed successfully.

[Thu 04/06/2006 15:51:21.98]
C:\WINDOWS\ADAM>admod -b cn=someuser,ou=testou,dc=joe,dc=com -add objectclass::user samaccountname::someuser unicodepwd::MyPassword1 useraccountcontrol::512 -kerbenc

AdMod V01.06.00cpp Joe Richards (joe@xxxxxxxxxxx) June 2005

DN Count: 1
Using server: 2k3dc01.joe.com
Adding specified objects...
DN: cn=someuser,ou=testou,dc=joe,dc=com...

The command completed successfully


[Thu 04/06/2006 15:51:30.86]
C:\WINDOWS\ADAM>adfind -b cn=someuser,ou=testou,dc=joe,dc=com -s base -u cn=someuser,ou=testou,dc=joe,dc=com -up MyPassword1 -simple name

AdFind V01.31.00cpp Joe Richards (joe@xxxxxxxxxxx) March 2006

Using server: 2k3dc01.joe.com:389
Directory: Windows Server 2003

dn:cn=someuser,ou=testou,dc=joe,dc=com
>name: someuser


1 Objects returned

[Thu 04/06/2006 15:51:35.20]
C:\WINDOWS\ADAM>admod -b cn=someuser,ou=testou,dc=joe,dc=com unicodepwd::MyPassword2 -kerbenc

AdMod V01.06.00cpp Joe Richards (joe@xxxxxxxxxxx) June 2005

DN Count: 1
Using server: 2k3dc01.joe.com
Modifying specified objects...
DN: cn=someuser,ou=testou,dc=joe,dc=com...

The command completed successfully


[Thu 04/06/2006 15:51:52.73]
C:\WINDOWS\ADAM>adfind -b cn=someuser,ou=testou,dc=joe,dc=com -s base -u cn=someuser,ou=testou,dc=joe,dc=com -up MyPassword1 -simple name

AdFind V01.31.00cpp Joe Richards (joe@xxxxxxxxxxx) March 2006

LDAP_BIND: [] Error 0x31 (49) - Invalid Credentials
Terminating program.

[Thu 04/06/2006 15:51:55.68]
C:\WINDOWS\ADAM>adfind -b cn=someuser,ou=testou,dc=joe,dc=com -s base -u cn=someuser,ou=testou,dc=joe,dc=com -up MyPassword2 -simple name

AdFind V01.31.00cpp Joe Richards (joe@xxxxxxxxxxx) March 2006

Using server: 2k3dc01.joe.com:389
Directory: Windows Server 2003

dn:cn=someuser,ou=testou,dc=joe,dc=com
>name: someuser


1 Objects returned




--
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



Rajev wrote:
I found out that the PDC maintains the last two (2) user passwords in an active state for some period of time! what that duration is? Maybe you can tell me what it is. (By the way, this is not related to any replication delays.)

During that interval - where the two user passwords are active in AD - a user can, unknowingly, make either one of those passwords his/her Sun ONE Directory password by logging on to a web-based application authenticated by the Sun ONE during that "period of time".

Once a user has changed his/her password in AD, the Identity Synchronization for Windows (ISW) invalidates the users' Sun ONE account, forcing a validation of his/her password against AD the next time the user logs on to Sun ONE. So, if that happens during the yet-to-be-identified "period of time," either one of the last two passwords - let's say password-#1 and password-#2 - will pass validation and ISW will set the supplied one on the Sun ONE user's account. I have done this couple of times.

This will be confusing to some, if it happens, and will create problems for us. Can this feature be removed in AD if the "period of time" is deemed to be too long? What would we consider as being "too long?" Couple of hours? A day? Or what?

.



Relevant Pages

  • RE: PES service missing ?
    ... I suggest you refer to the following article to migrate user passwords. ... passwords from a Windows NT 4.0 domain to a Windows Server 2003 domain ...
    (microsoft.public.windows.server.migration)
  • Re: PDC maintains the last two (2) user passwords in AD
    ... Using server: 2k3dc01.joe.com ... Directory: Windows Server 2003 ... user can, unknowingly, make either one of those passwords his/her Sun ONE ...
    (microsoft.public.windows.server.active_directory)
  • RE: Password Migration Wizzard, w2003 to w2003, ADMT v3
    ... The problem is the first migration between the old AAA to the BBB domain. ... the second migration of users (and the passwords) from ... Windows 2000 to Windows Server 2003 ... "Unable to establish a session with the password export server. ...
    (microsoft.public.windows.server.migration)
  • copy password hash to new server?
    ... I'm setting up a new server, and wold like to copy the passwords from ... the old without the users having to reenter them. ... windows server 2003. ... I just need the passwords, the rest I can do by hand, it aint that much ...
    (microsoft.public.windows.server.security)
  • RE: VmWare and Pen-test Learning
    ... Setup a tftp server on your client machine. ... Use John the Ripper to crack the passwords. ... (dictionary attacks, brute force, single mode). ... Download FREE whitepaper on how a managed service can help ...
    (Pen-Test)

Loading