.Net Framework 1.1 Service Pack 1 - Active Directory

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We have an application in manged C++ that resets userpasswords in Active
Directory with a new temporary password and then sets the user must change at
next login with the following code:

if(user->Properties->Contains("pwdLastSet"))
{
Object* pwdSet = __box(0);
user->Properties->get_Item("pwdLastSet")->set_Item(0, pwdSet);
}

where user is a directoryEntry object. After applying .Net Framework 1.1
Service pack 1 the previous code gets a "Specified methos not supported
error". It is clearly the Service Pack causing this because I have run the
app on other boxes without the SP and removed the SP from this box. All, of
the other Active Directory calls in the application (reset password, remove
account lock out) work. Any ideas?
 
Back
Top