On Tue, Nov 3, 2015 at 11:00 PM, Côme Chilliet <c...@opensides.be> wrote:
> What should be clear in the documentation : > - The LDAP URI scheme is the recommended way to call ldap_connect > - The ldap:// or ldaps:// is required > - People can use host, port if they do not need SSL > Agreed. > - Second parameter is not used if the first one is an LDAP scheme, so > calling ldap_connect('ldap://localhost', 456) will use default port 389. > I'd prefer this raise a notice, like "Second argument ignored when using URI syntax. Port will default to 389. Did you mean 'ldap://localhost:456' instead?" bishop