1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-31 12:23:52 +03:00
Files
samba-mirror/source/lib/basic.mk
Jelmer Vernooij f8a63a843c r6088: Add the socket_wrapper library. This is a very simple library that
redirects traffic (currently just IP traffic) over unix domain sockets
if the SOCKET_WRAPPER_DIR environment variable has been set.
Aim is to use this for the Samba4 torture suite on the buildfarm.

The socket_wrapper library can only be used if Samba was compiled with
--enable-developer.

test_rpc.sh passes against a local smbd with SOCKET_WRAPPER_DIR set.
(and ethereal showed no traffic whatsoever)

Stuff that still needs to be fixed in socketwrapper:
 - Give ENETUNREACH if target is not localhost
 - A given port number can only be used for UDP /or/ TCP, not both.
 - Perhaps allow some calls to circumvent socketwrapper (do we need DNS?)
2007-10-10 13:11:18 -05:00

84 lines
1.7 KiB
Makefile

# LIB BASIC subsystem
##############################
# Start SUBSYSTEM LIBREPLACE
[SUBSYSTEM::LIBREPLACE]
INIT_OBJ_FILES = lib/replace.o
ADD_OBJ_FILES = \
lib/snprintf.o
# End SUBSYSTEM LIBREPLACE
##############################
##############################
# Start SUBSYSTEM LIBNETIF
[SUBSYSTEM::LIBNETIF]
INIT_OBJ_FILES = \
lib/netif/interface.o
ADD_OBJ_FILES = \
lib/netif/netif.o
# End SUBSYSTEM LIBNETIF
##############################
##############################
# Start SUBSYSTEM LIBCRYPTO
[SUBSYSTEM::LIBCRYPTO]
NOPROTO = YES
INIT_OBJ_FILES = \
lib/crypto/crc32.o
ADD_OBJ_FILES = \
lib/crypto/md5.o \
lib/crypto/hmacmd5.o \
lib/crypto/md4.o
# End SUBSYSTEM LIBCRYPTO
##############################
##############################
# Start SUBSYSTEM SOCKET_WRAPPER
[SUBSYSTEM::SOCKET_WRAPPER]
NOPROTO = YES
INIT_OBJ_FILES = lib/socket_wrapper.o
# End SUBSYSTEM SOCKET_WRAPPER
##############################
##############################
# Start SUBSYSTEM LIBBASIC
[SUBSYSTEM::LIBBASIC]
INIT_OBJ_FILES = lib/version.o
ADD_OBJ_FILES = \
lib/debug.o \
lib/fault.o \
lib/pidfile.o \
lib/signal.o \
lib/system.o \
lib/time.o \
lib/genrand.o \
lib/dprintf.o \
lib/xfile.o \
lib/util_str.o \
lib/util_strlist.o \
lib/util_unistr.o \
lib/util_file.o \
lib/data_blob.o \
lib/util.o \
lib/util_sock.o \
lib/substitute.o \
lib/fsusage.o \
lib/ms_fnmatch.o \
lib/select.o \
lib/pam_errors.o \
intl/lang_tdb.o \
lib/mutex.o \
lib/server_mutex.o \
lib/idtree.o \
lib/unix_privs.o \
lib/db_wrap.o \
lib/gencache.o \
lib/gendb.o \
lib/credentials.o
REQUIRED_SUBSYSTEMS = \
LIBLDB CHARSET LIBREPLACE LIBNETIF LIBCRYPTO EXT_LIB_DL LIBTALLOC \
SOCKET_WRAPPER
# End SUBSYSTEM LIBBASIC
##############################