X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=modules%2Fldap%2Feldap.c;h=4e89cb4fffe44fc59e72ac64496803c8b74c728b;hb=89d0505743b30e606775767f56dfde23df23eba0;hp=d902d57b62212bf67064a94113ebc21fc0e53431;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git- diff --git a/modules/ldap/eldap.c b/modules/ldap/eldap.c index d902d57..4e89cb4 100644 --- a/modules/ldap/eldap.c +++ b/modules/ldap/eldap.c @@ -28,18 +28,20 @@ Boston, MA 02111-1307, USA. */ - UMich LDAP 3.3 (http://www.umich.edu/~dirsvcs/ldap/) - Netscape's LDAP SDK 1.0 (http://developer.netscape.com) */ - - -#include +#include #if defined (HAVE_LDAP) - /* The entire file is within this conditional */ -#include "lisp.h" - #include "eldap.h" #include +/* #### NEEDS REWRITE! + Thanks to Mats Lidell for the report & patch: + <871wgnqunm.fsf@spencer.lidell.homelinux.net> + "See http://www.openldap.org/faq/data/cache/1278.html. + Temporary workaround would be use the deprecated interface. Long term + solution is a rewrite." */ +#define LDAP_DEPRECATED 1 #include #ifdef HAVE_NS_LDAP @@ -409,7 +411,7 @@ an alist of attribute/values. } void -syms_of (void) +syms_of_ldap (void) { DEFSUBR(Fldap_search_internal); @@ -440,7 +442,7 @@ syms_of (void) } void -vars_of (void) +vars_of_ldap (void) { Fprovide (intern ("ldap-internal"));