Jun 12, 2020

PHP example code to query LDAP for a user's affiliation:

Secure Apache Web Pages with LDAP Authentication

PHP: ldap_bind - Manual

Integrating MediaWiki with LDAP

Integrating MediaWiki with LDAP Using LDAP for authentication enables you to simplify user management so you don't have to maintain users and permissions in two or more different places. Because many PHP solutions have LDAP authentication support available, LDAP may be your choice to create a central user and group repository.