From: Kurt Zeilenga Date: Thu, 7 Jan 1999 05:47:25 +0000 (+0000) Subject: Apply fix suggested by Ben Collins X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~811 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd351c3a17a704edae15ccaa799ee7ea1efe50c4;p=openldap Apply fix suggested by Ben Collins pass STRING_UNKNOWN if !client_name pass STRING_UNKNOWN if !client_addr --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index ae28246e5f..a5531f2592 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -298,7 +298,9 @@ slapd_daemon( } #ifdef HAVE_TCPD - if(!hosts_ctl("slapd", client_name, client_addr, + if(!hosts_ctl("slapd", + client_name != NULL ? client_name : STRING_UNKNOWN, + client_addr != NULL ? client_addr : STRING_UNKNOWN, STRING_UNKNOWN)) { /* DENY ACCESS */