PC Review


Reply
Thread Tools Rate Thread

badPwdCount and old user passwords

 
 
Carsten Siemon
Guest
Posts: n/a
 
      28th Nov 2005
Hello,

trying to authenticate my users against active directory in an
webservice. Webservice is on an Win2K3 Domaincontroller for testing
purposes. Therefore I have checked two methods:

1. I use the system.directoryservice method, with "LDAP" search path,
username, userpass.
2. I use the LogonUser function in lib advapi32.dll.

My domain policy says, that the useraccount will be locked after three
wrong passwords. Also I set, that the users password may not repeated
in 24 password cycles.

With both methods i can check username and password. Both Methods
working well for me.
Supplying a wrong password will increase badPwdCount property in active
directory and after the third wrong password the account is locked.

But, I tested this behavior also with old, previous used user
passwords. If I send an old user password the counter badPwdCount will
not increased and so, the user will never be locked.

Is this by design or a bug? I'am asking, because I expected if a user
takes a wrong password, he will take one of his old passwords and not
an totally different, wrong password.

BTW: It seemed, that the badPwdCounter is readonly. I can't set it
manually.

Thanks ahead,
Carsten

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"users & passwords" allows you to create user with no passwords? =?Utf-8?B?aG90YWlyZ3V5?= Windows XP Security 2 20th Dec 2005 10:15 PM
User Passwords tim Microsoft Windows 2000 Security 2 13th Feb 2004 10:04 AM
USER'S PASSWORDS JUSTJAS Microsoft Windows 2000 New Users 1 31st Jan 2004 03:09 AM
user passwords and supervisor passwords aaron Windows XP Security 1 2nd Nov 2003 04:29 PM
XP Pro won't save passwords, even using User Accounts/Advanced/Manage Passwords Brandon Brown Windows XP Networking 1 29th Oct 2003 10:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:50 AM.