I'm writing a PHP client that would allow access to any LDAP server.
For various reasons I'd like to be able to access both LDAP 2 and 3 servers.
If I don't make use of any LDAP 3 specific functionality, would it be a reasonable thing to use an LDAP 3 client to access both LDAP 2 and 3 servers?
This would allow me to use the same client implementation for any LDAP server. Is there any better way to go about this?