Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Active Directory pwd unlock reset - LDAP C#

Posted on 2010-01-08
3
Medium Priority
?
1,144 Views
Last Modified: 2013-12-24
after performing password reset in LDAP.. do we have to unlock also it to use it
0
Comment
Question by:gautam_reddyc
  • 2
3 Comments
 
LVL 1

Expert Comment

by:KingR
ID: 26209524
Yes, if the account has become locked in the process.
0
 

Author Comment

by:gautam_reddyc
ID: 26209607
This is my code.. will it work fine..
or do i need to move the lockout to after setpassword...

de.Properties["LockOutTime"].Value = 0x0000;

 de.Invoke("SetPassword", new object[] { newPassword });
0
 
LVL 1

Accepted Solution

by:
KingR earned 2000 total points
ID: 26209642
That should work fine in that order.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
Scripts are great for performing batch jobs against users, however sometimes the GUI is all you need.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question