×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

vb.net AD2003 DirectoryEntry error 80072035

vb.net AD2003 DirectoryEntry error 80072035

vb.net AD2003 DirectoryEntry error 80072035

(OP)
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

RE: vb.net AD2003 DirectoryEntry error 80072035

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close