Commit 92eb657c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use autoconf headers.

parent ae21b1ee
/* ldapdelete.c - simple program to delete an entry using LDAP */
#define DISABLE_BRIDGE
#include "portable.h"
#include <stdio.h>
#include <string.h>
#include <ac/string.h>
#include <stdlib.h>
#include <ctype.h>
#include <ac/time.h>
#include <lber.h>
#include <ldap.h>
#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;
......
......@@ -11,9 +11,8 @@
#include <sys/stat.h>
#include <sys/file.h>
#include <fcntl.h>
#ifndef VMS
#include <unistd.h>
#endif /* VMS */
#include <ac/unistd.h>
#include <lber.h>
#include <ldap.h>
......
/* ldapmodrdn.c - generic program to modify an entry's RDN using LDAP */
#define DISABLE_BRIDGE
#include "portable.h"
#include <stdio.h>
#include <string.h>
#include <ac/string.h>
#include <stdlib.h>
#include <ctype.h>
#include <ac/time.h>
#include <lber.h>
#include <ldap.h>
#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;
......
#define DISABLE_BRIDGE
#include "portable.h"
#include <stdio.h>
#include <string.h>
#include <ac/string.h>
#include <ctype.h>
#include <ac/time.h>
#include <lber.h>
#include <ldap.h>
#include <ldif.h>
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment