2004-05-24 20:02:40 +04:00
# DCERPC Server subsystem
################################################
# Start SUBSYSTEM DCERPC_COMMON
[SUBSYSTEM :: DCERPC_COMMON ]
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
common/server_info.o \
common/share_info.o
2004-05-24 20:02:40 +04:00
#
# End SUBSYSTEM DCERPC_COMMON
################################################
2004-09-27 20:37:41 +04:00
################################################
2004-11-19 23:21:13 +03:00
# Start MODULE dcerpc_dcom
2004-11-09 03:30:44 +03:00
[MODULE :: dcerpc_dcom ]
2005-02-21 16:13:21 +03:00
ENABLE = NO
2004-11-09 03:30:44 +03:00
INIT_FUNCTION = dcerpc_server_dcom_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
dcom/oxidresolver.o \
dcom/rot.o \
dcom/rodb.o \
dcom/remact.o \
2004-11-20 21:51:58 +03:00
librpc/gen_ndr/ndr_dcom_d.o
2004-11-02 17:52:45 +03:00
REQUIRED_SUBSYSTEMS = \
2004-11-19 23:21:13 +03:00
DCERPC_COMMON \
2005-08-03 07:09:17 +04:00
DCOM
2004-11-19 23:21:13 +03:00
# End MODULE dcerpc_dcom
2004-11-02 17:52:45 +03:00
################################################
2004-05-24 20:02:40 +04:00
################################################
# Start MODULE dcerpc_rpcecho
[MODULE :: dcerpc_rpcecho ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_rpcecho_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
echo/rpc_echo.o
2004-11-19 23:21:13 +03:00
REQUIRED_SUBSYSTEMS = NDR_ECHO
2004-05-24 20:02:40 +04:00
# End MODULE dcerpc_rpcecho
################################################
################################################
# Start MODULE dcerpc_epmapper
[MODULE :: dcerpc_epmapper ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_epmapper_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
epmapper/rpc_epmapper.o
2004-11-19 23:21:13 +03:00
REQUIRED_SUBSYSTEMS = NDR_EPMAPPER
2004-05-24 20:02:40 +04:00
# End MODULE dcerpc_epmapper
################################################
################################################
# Start MODULE dcerpc_remote
[MODULE :: dcerpc_remote ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_remote_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
remote/dcesrv_remote.o
2004-05-24 20:02:40 +04:00
REQUIRED_SUBSYSTEMS = \
2004-11-19 23:21:13 +03:00
LIBSMB NDR_ALL
2004-05-24 20:02:40 +04:00
# End MODULE dcerpc_remote
################################################
################################################
# Start MODULE dcerpc_srvsvc
[MODULE :: dcerpc_srvsvc ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_srvsvc_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
srvsvc/dcesrv_srvsvc.o
2004-05-24 20:02:40 +04:00
REQUIRED_SUBSYSTEMS = \
2004-11-19 23:21:13 +03:00
DCERPC_COMMON NDR_SRVSVC
2004-05-24 20:02:40 +04:00
# End MODULE dcerpc_srvsvc
################################################
################################################
# Start MODULE dcerpc_wkssvc
[MODULE :: dcerpc_wkssvc ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_wkssvc_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
wkssvc/dcesrv_wkssvc.o
2004-05-24 20:02:40 +04:00
REQUIRED_SUBSYSTEMS = \
2004-11-19 23:21:13 +03:00
DCERPC_COMMON NDR_WKSSVC
2004-05-24 20:02:40 +04:00
# End MODULE dcerpc_wkssvc
################################################
2005-05-19 19:45:25 +04:00
################################################
# Start MODULE dcerpc_unixinfo
[MODULE :: dcerpc_unixinfo ]
INIT_FUNCTION = dcerpc_server_unixinfo_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
unixinfo/dcesrv_unixinfo.o
2005-05-19 19:45:25 +04:00
REQUIRED_SUBSYSTEMS = \
DCERPC_COMMON \
NDR_UNIXINFO
# End MODULE dcerpc_unixinfo
################################################
2004-05-24 20:02:40 +04:00
################################################
# Start MODULE dcerpc_samr
[MODULE :: dcerpc_samr ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_samr_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
samr/dcesrv_samr.o \
2005-10-21 20:29:54 +04:00
samr/samr_password.o
2004-05-24 20:02:40 +04:00
REQUIRED_SUBSYSTEMS = \
SAMDB \
2004-11-19 23:21:13 +03:00
DCERPC_COMMON \
NDR_SAMR
2004-05-24 20:02:40 +04:00
# End MODULE dcerpc_samr
################################################
################################################
# Start MODULE dcerpc_winreg
[MODULE :: dcerpc_winreg ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_winreg_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2006-01-02 03:16:08 +03:00
OUTPUT_TYPE = MERGEDOBJ
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
winreg/rpc_winreg.o
2004-05-24 20:02:40 +04:00
REQUIRED_SUBSYSTEMS = \
2004-11-19 23:21:13 +03:00
REGISTRY NDR_WINREG
2004-05-24 20:02:40 +04:00
# End MODULE dcerpc_winreg
################################################
################################################
# Start MODULE dcerpc_netlogon
[MODULE :: dcerpc_netlogon ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_netlogon_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
netlogon/dcerpc_netlogon.o
2004-05-24 20:02:40 +04:00
REQUIRED_SUBSYSTEMS = \
r1294: A nice, large, commit...
This implements gensec for Samba's server side, and brings gensec up
to the standards of a full subsystem.
This means that use of the subsystem is by gensec_* functions, not
function pointers in structures (this is internal). This causes
changes in all the existing gensec users.
Our RPC server no longer contains it's own generalised security
scheme, and now calls gensec directly.
Gensec has also taken over the role of auth/auth_ntlmssp.c
An important part of gensec, is the output of the 'session_info'
struct. This is now reference counted, so that we can correctly free
it when a pipe is closed, no matter if it was inherited, or created by
per-pipe authentication.
The schannel code is reworked, to be in the same file for client and
server.
ntlm_auth is reworked to use gensec.
The major problem with this code is the way it relies on subsystem
auto-initialisation. The primary reason for this commit now.is to
allow these problems to be looked at, and fixed.
There are problems with the new code:
- I've tested it with smbtorture, but currently don't have VMware and
valgrind working (this I'll fix soon).
- The SPNEGO code is client-only at this point.
- We still do not do kerberos.
Andrew Bartlett
(This used to be commit 07fd885fd488fd1051eacc905a2d4962f8a018ec)
2004-06-29 13:40:10 +04:00
DCERPC_COMMON \
2004-11-19 23:21:13 +03:00
SCHANNELDB \
NDR_NETLOGON
2004-05-24 20:02:40 +04:00
# End MODULE dcerpc_netlogon
################################################
2004-05-27 08:13:58 +04:00
################################################
# Start MODULE dcerpc_lsa
[MODULE :: dcerpc_lsarpc ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_lsarpc_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
lsa/dcesrv_lsa.o
2004-05-27 08:13:58 +04:00
REQUIRED_SUBSYSTEMS = \
SAMDB \
2004-11-19 23:21:13 +03:00
DCERPC_COMMON \
NDR_LSA
2004-05-27 08:13:58 +04:00
# End MODULE dcerpc_lsa
################################################
2004-06-18 11:34:28 +04:00
################################################
# Start MODULE dcerpc_spoolss
[MODULE :: dcerpc_spoolss ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_spoolss_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2006-01-02 03:16:08 +03:00
OUTPUT_TYPE = MERGEDOBJ
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
spoolss/dcesrv_spoolss.o
2004-06-18 11:34:28 +04:00
REQUIRED_SUBSYSTEMS = \
2004-11-19 23:21:13 +03:00
DCERPC_COMMON \
r7643: This patch adds a new NTPTR subsystem:
- this is an abstraction layer for print services,
like out NTVFS subsystem for file services
- all protocol specific details are still in rpc_server/spoolss/
- like the stupid in and out Buffer handling
- checking of the r->in.server_name
- ...
- this subsystem can have multiple implementation
selected by the "ntptr providor" global-section parameter
- I currently added a "simple_ldb" backend,
that stores Printers, Forms, Ports, Monitors, ...
in the spoolss.db, and does no real printing
this backend is basicly for testing, how the spoolss protocol
works
- the interface is just a prototype and will be changed a bit
the next days or weeks, till the simple_ldb backend can
handle all calls that are used by normal w2k3/xp clients
- I'll also make the api async, as the ntvfs api
this will make things like the RemoteFindFirstPrinterChangeNotifyEx(),
that opens a connection back to the client, easier to implement,
as we should not block the whole smbd for that
- the idea is to later implement a "unix" backend
that works like the current samba3 code
- and maybe some embedded print server vendors can write there own
backend that can directly talk to a printer without having cups or something like this
- the default settings are (it currently makes no sense to change them :-):
ntptr providor = simple_ldb
spoolss database = $private_dir/spoolss.db
metze
(This used to be commit 455b5536d41bc31ebef8290812f45d4a38afa8e9)
2005-06-16 21:27:57 +04:00
NDR_SPOOLSS \
NTPTR
# End MODULE dcerpc_spoolss
2004-06-18 11:34:28 +04:00
################################################
2004-10-10 05:35:33 +04:00
################################################
# Start MODULE dcerpc_drsuapi
[MODULE :: dcerpc_drsuapi ]
2004-11-07 02:23:15 +03:00
INIT_FUNCTION = dcerpc_server_drsuapi_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
drsuapi/dcesrv_drsuapi.o
2004-10-10 05:35:33 +04:00
REQUIRED_SUBSYSTEMS = \
SAMDB \
2004-11-19 23:21:13 +03:00
DCERPC_COMMON \
NDR_DRSUAPI
2004-10-10 05:35:33 +04:00
# End MODULE dcerpc_drsuapi
################################################
2004-12-31 14:37:26 +03:00
################################################
# Start MODULE dcerpc_dssetup
[MODULE :: dcerpc_dssetup ]
INIT_FUNCTION = dcerpc_server_dssetup_init
2006-01-03 16:41:17 +03:00
SUBSYSTEM = DCERPC_SERVER
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
2005-10-21 20:29:54 +04:00
dssetup/dcesrv_dssetup.o
2004-12-31 14:37:26 +03:00
REQUIRED_SUBSYSTEMS = \
SAMDB \
DCERPC_COMMON \
NDR_DSSETUP
# End MODULE dcerpc_dssetup
################################################
2004-05-24 20:02:40 +04:00
################################################
2006-01-03 16:41:17 +03:00
# Start SUBSYSTEM DCERPC_SERVER
[SUBSYSTEM :: DCERPC_SERVER ]
2005-12-28 18:38:36 +03:00
PRIVATE_PROTO_HEADER = dcerpc_server_proto.h
2005-12-26 21:03:50 +03:00
OBJ_FILES = \
dcerpc_server.o \
2005-10-21 20:29:54 +04:00
dcerpc_sock.o \
dcesrv_auth.o \
handles.o
r1294: A nice, large, commit...
This implements gensec for Samba's server side, and brings gensec up
to the standards of a full subsystem.
This means that use of the subsystem is by gensec_* functions, not
function pointers in structures (this is internal). This causes
changes in all the existing gensec users.
Our RPC server no longer contains it's own generalised security
scheme, and now calls gensec directly.
Gensec has also taken over the role of auth/auth_ntlmssp.c
An important part of gensec, is the output of the 'session_info'
struct. This is now reference counted, so that we can correctly free
it when a pipe is closed, no matter if it was inherited, or created by
per-pipe authentication.
The schannel code is reworked, to be in the same file for client and
server.
ntlm_auth is reworked to use gensec.
The major problem with this code is the way it relies on subsystem
auto-initialisation. The primary reason for this commit now.is to
allow these problems to be looked at, and fixed.
There are problems with the new code:
- I've tested it with smbtorture, but currently don't have VMware and
valgrind working (this I'll fix soon).
- The SPNEGO code is client-only at this point.
- We still do not do kerberos.
Andrew Bartlett
(This used to be commit 07fd885fd488fd1051eacc905a2d4962f8a018ec)
2004-06-29 13:40:10 +04:00
REQUIRED_SUBSYSTEMS = \
2004-11-19 23:21:13 +03:00
LIBCLI_AUTH \
2006-01-02 03:16:08 +03:00
LIBNDR \
2006-01-03 16:41:17 +03:00
LIBDCERPC
2004-05-24 20:02:40 +04:00
#
# End SUBSYSTEM DCERPC
################################################