Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Disable an AD Account via LDAP

by NetWallah (Abbot)
on Oct 08, 2012 at 15:34 UTC ( #997840=note: print w/ replies, xml ) Need Help??


in reply to Disable an AD Account via LDAP

The LDAP attribute you need to use is:
useraccountcontrol:1.2.840.113556.1.4.803
I do not have actual code to SET/RESET that, but you can start with: this StackOverflow article.

             I hope life isn't a big joke, because I don't get it.
                   -SNL

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2016-06-30 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (389 votes). Check out past polls.