Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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


Comment on Re: Disable an AD Account via LDAP
Download Code

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 imbibing at the Monastery: (8)
As of 2014-12-28 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls