Active Directory/Documentation/phpAD

From WolfTech
Jump to navigation Jump to search

The phpAD Project is a PHP library and supporting code designed to simplify Active Directory scripting and automation using PHP and LDAP. phpAD provides simple functions for many common tasks such as creating, deleting, modifying and searching for Active Directory objects.

Why Use PHP?

  • Multi-platform support allows organizations to make use of existing Unix/Linux resources.
  • Suitable for both scripts and web interfaces.
  • Scripts can be ran as cronjobs (instead of using the Windows Task Scheduler).
  • Low learning curve, with syntax based on C, Java and Perl.
  • More flexible and widely used than Microsoft scripting languages.
  • Simplifies database connectivity (especially with MySQL).

Download

Coming soon...

Current Functions

  • addToGroup
  • arrayContains
  • bind
  • changePassword
  • cnExists
  • computerExists
  • createGroup
  • createOU
  • createUser
  • deleteObjectCN
  • deleteObjectDN
  • disableUser
  • dn2cn
  • dnExists
  • enableUser
  • getACLs
  • getChildren
  • getComputerNames
  • getComputers
  • getDN
  • getGroupMembers
  • getGroupNames
  • getGroups
  • getObjectClass
  • getOUNames
  • getUser
  • getUserDN
  • getUserIDs
  • getUsers
  • groupExists
  • isPasswordSyncd
  • memberOfGroup
  • ouExists
  • query
  • removeFromGroup
  • renameCN
  • userExists
  • win_filetime_to_timestamp
  • z_to_date

Support

Please report bugs/suggestions to ecehelp@ncsu.edu.

Useful Links