From fe45888e228d1452b8301b3b074794bd443a7fa5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 24 Sep 2004 03:34:55 +0000 Subject: r2581: added "hosts allow" and "hosts deny" checking in smbd. I needed this as my box keeps getting hit by viruses spreading on my companies internal network, which screws up my debug log badly (sigh). metze, I'm not sure if you think access.c should go in the socket library or not. It is closely tied to the socket functions, but you may prefer it separate. The access.c code is a port from Samba3, but with some cleanups to make it (slighly) less ugly. (This used to be commit 058b2fd99e3957d7d2a9544fd27071f1122eab68) --- source4/lib/socket/config.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/lib/socket/config.mk') diff --git a/source4/lib/socket/config.mk b/source4/lib/socket/config.mk index 854702a6f8..320fc7f3ee 100644 --- a/source4/lib/socket/config.mk +++ b/source4/lib/socket/config.mk @@ -12,5 +12,7 @@ INIT_OBJ_FILES = \ [SUBSYSTEM::SOCKET] INIT_OBJ_FILES = \ lib/socket/socket.o +ADD_OBJ_FILES = \ + lib/socket/access.o # End SUBSYSTEM SOCKET ################################################ -- cgit