--- ./libseahorse/seahorse-ldap-source.c.orig	2007-07-21 06:08:27.000000000 +0400
+++ ./libseahorse/seahorse-ldap-source.c	2007-07-21 06:10:14.000000000 +0400
@@ -23,6 +23,8 @@
 #include <stdlib.h>
 #include <libintl.h>
 #include <gnome.h>
+
+#define LDAP_DEPRECATED 1
 #include <ldap.h>
 
 #ifdef WITH_SOUP
