Hi There,
My apologies if this has been covered before. Consider me a n00b
I'm currently trying to learn the PHP LDAP calls in a test environment consisting of.:
- Windows Server 2003
- Active Directory
- IIS
- PHP (using ISAPI)
I'm currently learning the calls with sample code found on the net. Everything appears to be working fine. The AD User Account is created and shown in AD. The only problem is it is listed as disabled. I've tried to set the "userAccountControl" identifier/variable with the code "512" and even "66048", however when I try and execute the code with this identifier/variable specified, my error feedback in the script reports an error "53:Server is unwilling to perform".
None of the searches I've done on the net seem to explain exactly why this is occurring or how to solve it. I have seen info though that would suggest I need SSL enabled (through IIS?) in order to set this identifier/variable.
Is anyone able to give me an idea on why this error is happenning, why all my AD User Accounts are created in a disabled state, and how I can go about fixing my test environment so my AD User Accounts are created enabled ?
A big thanks in advance to anyone who can explain this one to me. . .