From: Kurt Zeilenga Date: Mon, 28 Sep 1998 20:28:22 +0000 (+0000) Subject: Use autoconf headers. X-Git-Tag: PHP3_TOOL_0_0~18^2~63 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=92eb657cd06b8e4fd92326e5e7f75b1ad5812206;p=openldap Use autoconf headers. --- diff --git a/clients/tools/ldapdelete.c b/clients/tools/ldapdelete.c index 3054cfb54f..8ce9adf7f1 100644 --- a/clients/tools/ldapdelete.c +++ b/clients/tools/ldapdelete.c @@ -1,17 +1,22 @@ /* ldapdelete.c - simple program to delete an entry using LDAP */ +#define DISABLE_BRIDGE +#include "portable.h" + #include -#include +#include #include #include +#include + #include #include #include "ldapconfig.h" static char *binddn = LDAPDELETE_BINDDN; +static char *passwd = LDAPDELETE_BIND_CRED; static char *base = LDAPDELETE_BASE; -static char *passwd = NULL; static char *ldaphost = LDAPHOST; static int ldapport = LDAP_PORT; static int not, verbose, contoper; diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 056eb2e331..a6e3c0ab9e 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -11,9 +11,8 @@ #include #include #include -#ifndef VMS -#include -#endif /* VMS */ + +#include #include #include diff --git a/clients/tools/ldapmodrdn.c b/clients/tools/ldapmodrdn.c index 69d99e7f5a..d5f578f594 100644 --- a/clients/tools/ldapmodrdn.c +++ b/clients/tools/ldapmodrdn.c @@ -1,17 +1,22 @@ /* ldapmodrdn.c - generic program to modify an entry's RDN using LDAP */ +#define DISABLE_BRIDGE +#include "portable.h" + #include -#include +#include #include #include +#include + #include #include #include "ldapconfig.h" static char *binddn = LDAPMODRDN_BINDDN; +static char *passwd = LDAPMODRDN_BIND_CRED; static char *base = LDAPMODRDN_BASE; -static char *passwd = NULL; static char *ldaphost = LDAPHOST; static int ldapport = LDAP_PORT; static int not, verbose, contoper; diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index d96aff1317..3423aba941 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1,6 +1,11 @@ +#define DISABLE_BRIDGE +#include "portable.h" + #include -#include +#include #include +#include + #include #include #include @@ -52,7 +57,7 @@ char *s; } static char *binddn = LDAPSEARCH_BINDDN; -static char *passwd = NULL; +static char *passwd = LDAPSEARCH_BIND_CRED; static char *base = LDAPSEARCH_BASE; static char *ldaphost = LDAPHOST; static int ldapport = LDAP_PORT;