From 58734631b4233ec08b7a262587e400792f31f185 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 31 May 1996 15:13:29 +0000 Subject: Lots of changes! - add faq info on NT printer handling - add "delete readonly" option to help rcs users - add stuff to man pages on new printer options - add "proxy name resolution" option - add "command string" -c option to smbclient (thanks Ken) - split time functions into time.c - rearrange the quotas stuff a bit and fix some bugs - complete rehash of the time handling code thanks to Paul Eggert - fix nmblookup output a bit - add plp print queue parsing from Bertrand Wallrich (This used to be commit 635b56f19c817527c52e9bbde31faa6a8a47777b) --- source3/nameserv.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/nameserv.c') diff --git a/source3/nameserv.c b/source3/nameserv.c index 802b98ec0a..b64a934572 100644 --- a/source3/nameserv.c +++ b/source3/nameserv.c @@ -1798,6 +1798,11 @@ static void reply_name_query(struct packet_struct *p) return; } + if (!lp_proxy_name_resolution() && n->source != SELF) { + DEBUG(3,("no proxy resolution\n")); + return; + } + /* don't respond to bcast queries for addresses on the same net as the machine doing the querying unless its our IP */ if (bcast && -- cgit