Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vb.net AD2003 DirectoryEntry error 80072035

Status
Not open for further replies.

pjlandry

Programmer
Mar 25, 2005
3
CA
HI Folks. Maybe you can help me out here.

I'm working on a Windows2003 active directory, using VB.Net.
I'm attempting to 'remove' the 'Must Change Password at next logon' bit.

Everytime, I get an error. The latest one is 80072035 (The Server is unwilling to process the requests).

I tried using the Winnt provider. Didn't work. I tried the LDAP provider, no help. Now I'm settled on the 'System.DirectoryServices.DirectoryEntry' way of doing this.

I can set the bit to on, by setting 'pwdLastSet' to zero. BUt when I try to set it to anything else, it fails. I tried using every variable types. (int, dbl, lng, str, obj) Nothing works. I tried using a value of 1, the current value as shown in ADSIEdit.msc, as well as the current time using the DateTime.ToFileTime method.

I'm bound to the object as Administrator, and I can successfully change any other data. Could this be a AD2003 security feature? Or a result of Group Policies?

Any help would help.

I'll post my code on request.

Thanks!

--------------------------
Paul Landry
 
Allright Guys.

I'm past the 80072035 error. I'm using a large integer to provide the ActiveDirectory with 2 X 32 bit parts.

HOwever, now I'm getting a 8007001F (A device attached to the system is not functionning.) Another puzzler.

As I said before, Every things works, except attemping to set the 'pwdLastSet' to anything but 0...

If anyone can help!

Thanks,

--------------------------
Paul Landry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top