Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-12-03 20:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (59 votes). Check out past polls.