ldap.open() is deprecated, use ldap.initialize() instead