diff options
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-ldap.c | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 3a70eb7862..ba1802dad5 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,10 @@ 2001-05-11 Chris Toshok <toshok@ximian.com> + * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): only + check schema support if we've connected. + +2001-05-11 Chris Toshok <toshok@ximian.com> + * contact-editor/e-contact-editor.c (enable_writable_fields): don't leak the ECard or ECardSimple. diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c index c8cd900f87..cab9f96f54 100644 --- a/addressbook/backend/pas/pas-backend-ldap.c +++ b/addressbook/backend/pas/pas-backend-ldap.c @@ -402,6 +402,11 @@ pas_backend_ldap_connect (PASBackendLDAP *bl) ldap_simple_bind_s(blpriv->ldap, NULL /*binddn*/, NULL /*passwd*/); blpriv->connected = TRUE; + + /* check to see if evolutionPerson is supported, if we can (me + might not be able to if we can't authenticate. if we + can't, try again in auth_user.) */ + check_schema_support (bl); } else { g_warning ("pas_backend_ldap_connect failed for " @@ -412,10 +417,6 @@ pas_backend_ldap_connect (PASBackendLDAP *bl) blpriv->connected = FALSE; } - /* check to see if evolutionPerson is supported, if we can (me - might not be able to if we can't authenticate. if we - can't, try again in auth_user.) */ - check_schema_support (bl); } static void |