diff options
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-ldap.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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): 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; |