Volker Lendecke
5648c3f67e
s3: messaging_ctdbd_connection() was only called with procid_self()
...
Eventually we'll get this right...
2010-08-31 17:07:41 +02:00
Volker Lendecke
fbf3d03550
s3: Fix an uninitialized variable
2010-08-29 23:14:49 +02:00
Volker Lendecke
f687d43454
s3: Fix the build without cluster
2010-08-29 23:14:49 +02:00
Volker Lendecke
e784e160ec
s3: Remove two uses of smbd_server_fd()
...
Actually, this is a bit cheating. But those two files depend on
smbd_server_conn anyway, it does not make things worse.
2010-08-29 21:55:25 +02:00
Volker Lendecke
744cc26451
s3: Remove smbd_server_fd() from smbd_register_ips
2010-08-29 21:55:24 +02:00
Volker Lendecke
5bbc4df168
s3: Lift smbd_server_fd() from msg_release_ip()
2010-08-29 21:55:24 +02:00
Volker Lendecke
467208e9f4
s3: Lift smbd_server_fd() from release_ip()
2010-08-29 21:55:24 +02:00
Volker Lendecke
70df6fcb2a
s3: Pass sconn to check_reload
...
This removes a use of smbd_server_fd()
2010-08-29 21:55:24 +02:00
Volker Lendecke
babfe23717
s3: Pass sconn instead of msg_ctx to housekeeping_fn
2010-08-29 21:55:24 +02:00
Stefan Metzmacher
db6d1c6276
s3:smbd: s/sa_len/sa_socklen , because sa_len is a macro on IRIX
...
metze
2010-08-28 08:28:01 +02:00
Volker Lendecke
2d81721a3f
s3: Move "trans_num" to smbd_server_connection
2010-08-24 21:06:41 +02:00
Volker Lendecke
1808dd0a85
s3: Make srv_send_smb take an sconn instead of a sock fd
2010-08-24 21:06:41 +02:00
Volker Lendecke
70c5bed4b2
s3: Replace calls to check_access by allow_access
...
We already have both the name and address of the client stored now
2010-08-22 14:28:34 +02:00
Volker Lendecke
ac7b63384d
s3: Lift smbd_server_fd from reload_services()
2010-08-18 11:18:21 +02:00
Volker Lendecke
a58cea0026
s3: Lift smbd_server_fd() from receive_smb_raw_talloc
2010-08-17 22:44:03 +02:00
Volker Lendecke
1f0afe1aed
s3: Lift smbd_server_fd() from read_smb_length_return_keepalive
2010-08-17 22:44:03 +02:00
Volker Lendecke
9671547d17
s3: Lift smbd_server_fd() from read_fd_with_timeout()
2010-08-17 22:44:03 +02:00
Volker Lendecke
40ae8b74b6
s3: Remove smbd_server_fd() from write_data()
...
This completely removes the DEBUG(0, ..) error message from write_data(). I've
gone through all callers of write_data() and made sure that they have their own
equivalent error message printing.
2010-08-17 12:46:53 +02:00
Volker Lendecke
68e86969fa
s3: Remove smbd_server_fd() from smbd_process
2010-08-16 22:39:25 +02:00
Volker Lendecke
0bd39c73be
s3: Remove smbd_server_fd() from smbd_echo_loop
2010-08-16 22:39:25 +02:00
Volker Lendecke
2cd643865d
s3: Remove smbd_server_fd() from smbd_echo_reader
2010-08-16 22:39:25 +02:00
Volker Lendecke
a23483310d
s3: Remove smbd_server_fd() from smbd_echo_reply
2010-08-16 22:39:25 +02:00
Volker Lendecke
bb867df269
s3: Remove smbd_server_fd() from keepalive_fn
2010-08-16 22:39:25 +02:00
Volker Lendecke
a2bf46e9ec
s3: Remove smbd_server_fd() from smbd_server_connection_handler
2010-08-16 22:39:25 +02:00
Volker Lendecke
8e7a92bc24
s3: Remove smbd_server_fd() from smbd_server_connection_read_handler
2010-08-16 22:39:25 +02:00
Volker Lendecke
6737c3dd32
s3: Remove smbd_server_fd() from chain_reply
2010-08-16 22:39:25 +02:00
Volker Lendecke
b9d052c728
s3: Remove smbd_server_fd() from construct_reply
2010-08-16 22:39:24 +02:00
Volker Lendecke
61989a9e54
s3: Remove smbd_server_fd() from switch_message
2010-08-16 22:39:24 +02:00
Volker Lendecke
ee796255ce
s3: Remove smbd_server_fd() from smbd_server_connection_loop_once
2010-08-16 22:39:24 +02:00
Volker Lendecke
95b232a008
s3: Remove smbd_server_fd() from receive_smb_raw_talloc_partial_read
2010-08-16 22:39:24 +02:00
Volker Lendecke
96ae457023
s3: Remove get_client_fd()
2010-08-16 13:13:10 +02:00
Volker Lendecke
ad871b73a2
s3: Fix some error messages
2010-08-13 22:53:06 +02:00
Andreas Schneider
aff002e829
s3-smbd: Move rpc services init to smbd parent.
...
The move to the parent makes it possible to use an internal rpc pipe
really early and as we migrated serveral parts of samba to rpc function
this is required. This should speed up the fork of a smbd a bit cause
the rpc services are already running.
We still have several problems here which aren't solved. We don't have a
dependency tree here. For example we have to make sure that the registry
is initialized before we can use the winreg pipe. The spoolss server
requires winreg, so we have to start winreg before we can start the
spoolss server. I'm sure there are more dependencies.
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-13 12:20:10 -04:00
Volker Lendecke
f7e14a8e5e
s3: Reduce the load on the echo handler
...
If the parent is fast enough, the echo handler should not step in. When the
socket becomes readable, the echo handler goes to sleep for a second. If within
that second, the parent has picked up the SMB request from the net, the echo
handler will just go back to select().
2010-08-12 13:32:16 +02:00
Volker Lendecke
c672797a0a
s3: Slightly simplify the logic in smbd_server_echo_handler
2010-08-12 13:31:51 +02:00
Volker Lendecke
c7a2e52ef1
s3: Slightly simplify the logic in smbd_server_connection_handler
2010-08-12 13:31:51 +02:00
Volker Lendecke
277248a4a7
s3: ?true:false is a *bit* pointless :-)
2010-08-12 12:26:56 +02:00
Volker Lendecke
10a76f5d42
s3: Remove the smbd_messaging_context from spoolss_init_cb
2010-08-08 23:37:47 +02:00
Volker Lendecke
b71f2af1a6
s3: Remove some smbd_messaging_context references from smbd_process
2010-08-08 23:37:47 +02:00
Volker Lendecke
37d71a56fd
s3: Pass sconn to smbd_process
2010-08-08 23:37:47 +02:00
Volker Lendecke
1702b17494
s3: Lift the server_messaging_context from housekeeping_fn
2010-08-08 23:37:46 +02:00
Volker Lendecke
e64bd85d90
s3: Lift the server_messaging_context from check_reload
2010-08-08 23:37:46 +02:00
Volker Lendecke
53ed39de4a
s3: Make check_reload() static
2010-08-08 23:37:46 +02:00
Volker Lendecke
1b60ead64a
s3: Lift the server_messaging_context from update_monitored_printq_cache
2010-08-08 18:09:38 +02:00
Volker Lendecke
75b4dfd14d
s3: Lift the smbd_messaging_context from smbd_setup_sig_hup_handler
2010-08-08 18:09:33 +02:00
Volker Lendecke
5281e62941
s3: Lift the smbd_messaging_context from smbd_sig_hup_handler
2010-08-08 18:09:33 +02:00
Volker Lendecke
39da717fe1
s3: Lift the smbd_messaging_context from reload_services
2010-08-08 18:09:33 +02:00
Volker Lendecke
7c7ffb70fb
s3: Lift the smbd_messaging_context from reload_printers
2010-08-08 18:09:33 +02:00
Volker Lendecke
80cda2e807
s3: Lift the smbd_messaging_context from nt_printing_tdb_migrate
2010-08-08 16:03:15 +02:00
Volker Lendecke
72fd7fb49d
s3: Remove some references to smbd_messaging_context()
2010-08-07 14:36:59 +02:00