use ldap_init. ldap_open is deprecated in openldap 2.x.
2001-09-13 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): use ldap_init. ldap_open is deprecated in openldap 2.x. svn path=/trunk/; revision=12820
This commit is contained in:
committed by
Chris Toshok
parent
0676d2890e
commit
1ec654cc56
@ -1,3 +1,8 @@
|
||||
2001-09-13 Chris Toshok <toshok@ximian.com>
|
||||
|
||||
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): use
|
||||
ldap_init. ldap_open is deprecated in openldap 2.x.
|
||||
|
||||
2001-09-12 Iain Holmes <iain@ximian.com>
|
||||
|
||||
* backends/ebook/evolution-vcard-importer.c (check_file_is_vcard):
|
||||
|
||||
@ -387,7 +387,7 @@ pas_backend_ldap_connect (PASBackendLDAP *bl)
|
||||
if (blpriv->ldap)
|
||||
ldap_unbind (blpriv->ldap);
|
||||
|
||||
blpriv->ldap = ldap_open (blpriv->ldap_host, blpriv->ldap_port);
|
||||
blpriv->ldap = ldap_init (blpriv->ldap_host, blpriv->ldap_port);
|
||||
#ifdef DEBUG
|
||||
{
|
||||
int debug_level = ~0;
|
||||
|
||||
Reference in New Issue
Block a user