Refactored hard-coded people DN references with call to
getLdapPeopleDn() method in Ldap class.
Extended getLdapUserDn() method in Ldap class to allow uid to be
specified to override current uid.
Refactored getMemberships() method in Ldap class to use getLdapUserDn()
method instead of getLdapPeopleDn() method for matching members.
Refactored groupMemberOf(), addMemberToGroup(), and delMemberFromGroup()
methods in Ldap class to use getLdapUserDn() method instead of
getLdapPeopleDn() method for matching members.
Protected uses of userAccountControl with checks against using Windows
in Ldap class.
Replaced hard-coded group and user OU references with method calls that
can differentiate based on Windows/non-Windows LDAP server in Ldap
class.
Replaced hard-coded group objectClass references with method calls that
can differentiate based on Windows/non-Windows LDAP server in Ldap
class.
Created makeMemberFilter() method in Ldap class to make different group
membership filter criteria for Windows/non-Windows LDAP server.
Modified getMemberships() method in Ldap class to call
makeMemberFilter() to determine membership filter criteria.
Modified groupMemberOf() method in Ldap class to call makeMemberFilter()
to determine membership filter criteria.
Added ldap_authenticator.php to do the authentication work behind the
hook.
Replaced hooks.php with simple version to hand off authentication work
to ldap_authenticator.php.
Replaced config_ldap.php to accommodate ldap_authenticator's method of
configuration.
Updated documentation to reflect code changes.
Merge pull request #1 from msquared-id-au/master

Extension auth_ldap updates from msquared-id-au