#include <stdio.h>
#include <stdlib.h>
-#include <ctype.h>
-#include <ac/syslog.h>
+#include <ac/ctype.h>
#include <ac/string.h>
-
+#include <ac/syslog.h>
#include "ldapconfig.h"
#include "rcpt500.h"
int sizelimit = RCPT500_SIZELIMIT;
int rdncount = RCPT500_RDNCOUNT;
int ldapport = 0;
-char *ldaphost = LDAPHOST;
-char *searchbase = RCPT500_BASE;
-char *dapuser = RCPT500_BINDDN;
+char *ldaphost = NULL;
+char *searchbase = NULL;
+char *dapuser = NULL;
char *filterfile = FILTERFILE;
char *templatefile = TEMPLATEFILE;
char reply[ MAXSIZE * RCPT500_LISTLIMIT ];
p = text;
for ( s = argbuf; *p != '\0'; ++p ) {
- *s++ = tolower( *p );
+ *s++ = TOLOWER( *p );
}
*s = '\0';