Search

You searched for the word(s): userid:20084

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)