svn commit: samba r5102 - in branches/SAMBA_4_0/source:
build/smb_build include ldap_server lib/messaging ntvfs/cifs
ntvfs/common ntvfs/ipc ntvfs/posix passdb rpc_server
rpc_server/epmapper smb_server smbd torture/local
tridge at samba.org
tridge at samba.org
Sun Jan 30 00:54:57 GMT 2005
Author: tridge
Date: 2005-01-30 00:54:57 +0000 (Sun, 30 Jan 2005)
New Revision: 5102
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5102
Log:
This is a major simplification of the logic for controlling top level
servers in smbd. The old code still contained a fairly bit of legacy
from the time when smbd was only handling SMB connection. The new code
gets rid of all of the smb_server specific code in smbd/, and creates
a much simpler infrastructures for new server code.
Major changes include:
- simplified the process model code a lot.
- got rid of the top level server and service structures
completely. The top level context is now the event_context. This
got rid of service.h and server.h completely (they were the most
confusing parts of the old code)
- added service_stream.[ch] for the helper functions that are
specific to stream type services (services that handle streams, and
use a logically separate process per connection)
- got rid of the builtin idle_handler code in the service logic, as
none of the servers were using it, and it can easily be handled by
a server in future by adding its own timed_event to the event
context.
- fixed some major memory leaks in the rpc server code.
- added registration of servers, rather than hard coding our list of
possible servers. This allows for servers as modules in the future.
- temporarily disabled the winbind code until I add the helper
functions for that type of server
- added error checking on service startup. If a configured server
fails to startup then smbd doesn't startup.
- cleaned up the command line handling in smbd, removing unused options
Removed:
branches/SAMBA_4_0/source/smbd/rewrite.c
branches/SAMBA_4_0/source/smbd/server.h
branches/SAMBA_4_0/source/smbd/service.h
Modified:
branches/SAMBA_4_0/source/build/smb_build/main.pm
branches/SAMBA_4_0/source/include/includes.h
branches/SAMBA_4_0/source/include/structs.h
branches/SAMBA_4_0/source/ldap_server/ldap_server.c
branches/SAMBA_4_0/source/ldap_server/ldap_server.h
branches/SAMBA_4_0/source/lib/messaging/messaging.c
branches/SAMBA_4_0/source/ntvfs/cifs/vfs_cifs.c
branches/SAMBA_4_0/source/ntvfs/common/brlock.c
branches/SAMBA_4_0/source/ntvfs/common/opendb.c
branches/SAMBA_4_0/source/ntvfs/ipc/vfs_ipc.c
branches/SAMBA_4_0/source/ntvfs/posix/pvfs_wait.c
branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c
branches/SAMBA_4_0/source/passdb/secrets.c
branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c
branches/SAMBA_4_0/source/rpc_server/dcerpc_server.h
branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c
branches/SAMBA_4_0/source/rpc_server/epmapper/rpc_epmapper.c
branches/SAMBA_4_0/source/smb_server/conn.c
branches/SAMBA_4_0/source/smb_server/negprot.c
branches/SAMBA_4_0/source/smb_server/request.c
branches/SAMBA_4_0/source/smb_server/service.c
branches/SAMBA_4_0/source/smb_server/sesssetup.c
branches/SAMBA_4_0/source/smb_server/smb_server.c
branches/SAMBA_4_0/source/smb_server/smb_server.h
branches/SAMBA_4_0/source/smbd/config.mk
branches/SAMBA_4_0/source/smbd/process_model.c
branches/SAMBA_4_0/source/smbd/process_model.h
branches/SAMBA_4_0/source/smbd/process_single.c
branches/SAMBA_4_0/source/smbd/process_standard.c
branches/SAMBA_4_0/source/smbd/process_thread.c
branches/SAMBA_4_0/source/smbd/server.c
branches/SAMBA_4_0/source/smbd/service.c
branches/SAMBA_4_0/source/torture/local/messaging.c
Changeset:
Sorry, the patch is too large (3355 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5102
More information about the samba-cvs
mailing list