Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:20084
More Search Options
RSS Available
Matching Posts
Re: Reset Password in Active Directory
Well, speaking from experience, an extra component that requires registering with COM+ is a major pain so I think we'd be more interested in manipulating the ASPNET account. If you could further explain what it is we need to do I would be much appreciative. Thanks again for all your help, Josh
Posted to
Security
(Forum)
by
jring
on 1/16/2003
Re: Reset Password in Active Directory
SetPassword is failing
Posted to
Security
(Forum)
by
jring
on 1/16/2003
Re: Reset Password in Active Directory
That seems to be the error I'm getting. You mentioned target invocation and indeed when it kicks out an error to me, it's System.TargetInvocationException. I'm really stumped as to what I'm doing wrong. I'm not specifying a server in my domainPath, just the domain name. Any other words of advice would be much appreciated. Thanks again, Josh
Posted to
Security
(Forum)
by
jring
on 1/16/2003
Re: Reset Password in Active Directory
Thank you so much for your help so far, here is my DirectoryEntry call: DirectoryEntry myEntry = new DirectoryEntry(domainPath, userID, password, AuthenticationTypes.Secure); DirectoryEntries myEntries = myEntry.Children; I'm assuming that this is the correct authentication type since it does mention Kerberos in its' description but please feel free to correct me if necessary. Thanks again!
Posted to
Security
(Forum)
by
jring
on 1/3/2003
Reset Password in Active Directory
Okay, I have been trying for months to find the correct code to reset a user's password in Active Directory. We're trying to do this using ASP.net and C#. Here is what I have so far: ActiveDs.IADsUser User = (ActiveDs.IADsUser)myEntry.NativeObject; User.SetPassword(newPassword); User.SetInfo(); user.CommitChanges(); We've also tried this: user.Invoke("SetPassword", new object[] {newPassword}); user.CommitChanges(); Both work (sometimes) from my machine (inside our firewall), but once we
Posted to
Security
(Forum)
by
jring
on 12/19/2002
Page 1 of 1 (5 items)
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online