How I can set groups polices on Windows Server - Active Directory, using or from PHP.
I want push to Active Directory any groups polices, for example: max characters password permit, set ip authorizes to longing, so on...
Thanks in advances.
If adLDAP and PHP's native LDAP functions don't support this, you can write a PowerShell script and execute it from PHP using the exec()
function.
See PowerShell Group Policy reference to get started. Searching the net will give you some ready to use examples of how to assign policies to a group using PowerShell.
Good luck!