From 1ec654cc565ad4495700d323c032d3f4bcde2bf2 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 14 Sep 2001 01:46:05 +0000 Subject: use ldap_init. ldap_open is deprecated in openldap 2.x. 2001-09-13 Chris Toshok * 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 --- addressbook/ChangeLog | 5 +++++ addressbook/backend/pas/pas-backend-ldap.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 3e264f66e4..959ebfe279 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2001-09-13 Chris Toshok + + * 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 * backends/ebook/evolution-vcard-importer.c (check_file_is_vcard): diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c index 7e1634da64..5cc587f8bd 100644 --- a/addressbook/backend/pas/pas-backend-ldap.c +++ b/addressbook/backend/pas/pas-backend-ldap.c @@ -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; -- cgit