aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c2
1 files changed, 1 insertions, 1 deletions
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;