[Date Prev][Date Next] [Chronological] [Thread] [Top]

SLAPD_RLOOKUPS & HAVE_TCPD interaction (ITS#419)



Full_Name: Wesley Craig
Version: 1.2.8
OS: Solaris 2.6
URL: 
Submission from: (NULL) (141.211.164.29)


The DNS lookup code in slapd/daemon.c is surrounded by

#if defined(SLAPD_RLOOKUPS) || defined( HAVE_TCPD )
This makes it impossible to disable DNS reverse lookups (a generally bad thing
to leave turned on), but keep the ability to TCP-wrap against unfriendly sites.
At Michigan, I've simply removed the "|| defined( HAVE_TCPD )" portion of
the expression.  TCP-wrappers work just fine without hostnames.