summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2010-08-15s3: Increase debug level for shutdown_other_smbdsVolker Lendecke1-3/+3
2010-08-15s3: Add debugs to shutdown_other_smbdsVolker Lendecke1-0/+6
2010-08-14s3: Remove a conn NULL check from claim_connectionVolker Lendecke1-4/+1
We've already dereferenced conn before
2010-08-13s3: Fix some error messagesVolker Lendecke3-7/+9
2010-08-13s3-smbd: Publish nt printers.Andreas Schneider2-5/+15
Reloading of the printers requires rpc services up and running! The first call in reload_services will be skipped. Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-13s3-smbd: Move rpc services init to smbd parent.Andreas Schneider2-42/+46
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-13s3-smbd: Regroup some init functions.Andreas Schneider1-12/+12
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-13s3-smbd: Fixed indent.Andreas Schneider1-2/+3
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-13s3-smbd: Cleanup the order of the init functions.Andreas Schneider1-5/+6
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-13s3-smbd: Make sure the event context is initialized.Andreas Schneider1-0/+3
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-12s3: Reduce the load on the echo handlerVolker Lendecke1-0/+2
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-12s3: Slightly simplify the logic in smbd_server_echo_handlerVolker Lendecke1-1/+4
2010-08-12s3: Slightly simplify the logic in smbd_server_connection_handlerVolker Lendecke1-1/+4
2010-08-12s3: ?true:false is a *bit* pointless :-)Volker Lendecke1-1/+1
2010-08-09Fix bug #7608 - Win7 SMB2 authentication causes smbd panicJeremy Allison1-2/+4
We need to call setup_ntlmssp_server_info() if status==NT_STATUS_OK, or if status is anything except NT_STATUS_MORE_PROCESSING_REQUIRED, as this can trigger map to guest. Jeremy.
2010-08-08s3: Remove the smbd_messaging_context from load_printersVolker Lendecke1-1/+1
2010-08-08s3: Remove the smbd_messaging_context from pcap_cache_reloadVolker Lendecke1-1/+1
2010-08-08s3: Remove the smbd_messaging_context from smb_conf_updatedVolker Lendecke1-1/+1
2010-08-08s3: Remove the smbd_messaging_context from spoolss_init_cbVolker Lendecke1-2/+4
2010-08-08s3: Remove some smbd_messaging_context references from smbd_processVolker Lendecke1-7/+7
2010-08-08s3: Pass sconn to smbd_processVolker Lendecke2-31/+31
2010-08-08s3: Lift the server_messaging_context from housekeeping_fnVolker Lendecke1-3/+6
2010-08-08s3: Lift the server_messaging_context from check_reloadVolker Lendecke1-4/+4
2010-08-08s3: Make check_reload() staticVolker Lendecke1-1/+1
2010-08-08s3: Lift the server_messaging_context from update_monitored_printq_cacheVolker Lendecke1-1/+1
2010-08-08s3: Lift the smbd_messaging_context from start_background_queueVolker Lendecke1-1/+2
2010-08-08s3: Lift the smbd_messaging_context from smbd_setup_sig_hup_handlerVolker Lendecke2-8/+8
2010-08-08s3: Lift the smbd_messaging_context from smbd_sig_hup_handlerVolker Lendecke1-2/+4
2010-08-08s3: Lift the smbd_messaging_context from reload_servicesVolker Lendecke7-17/+17
2010-08-08s3: Lift the smbd_messaging_context from reload_printersVolker Lendecke2-7/+7
2010-08-08s3: Lift the smbd_messaging_context from is_printer_publishedVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from nt_printer_publishVolker Lendecke1-1/+3
2010-08-08s3: Lift the smbd_messaging_context from nt_printer_removeVolker Lendecke1-1/+2
2010-08-08s3: Lift the smbd_messaging_context from nt_printing_tdb_migrateVolker Lendecke1-1/+1
2010-08-08s3: Lift the smbd_messaging_context from rpc_pipe_open_internalVolker Lendecke1-3/+8
2010-08-08s3: Lift the smbd_messaging_context from np_openVolker Lendecke1-1/+3
2010-08-08s3: Remove a direct reference to smbd_server_connVolker Lendecke1-1/+1
2010-08-08s3:smbd: fix valgrind warning, sizeof(16) != 16...Stefan Metzmacher1-1/+1
metze
2010-08-07s3: Remove some references to smbd_messaging_context()Volker Lendecke1-5/+6
2010-08-07s3: Remove smbd_messaging_context() from send_stat_cache_delete_message()Volker Lendecke2-3/+5
2010-08-07s3: Remove a pointless "else"Volker Lendecke1-1/+3
2010-08-06s3-netlogon: remove global include of netlogon.h.Günther Deschner3-0/+3
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
2010-08-06s3-krb5: include krb5pac.h where needed.Günther Deschner2-0/+2
Guenther
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner1-0/+1
Guenther
2010-08-05s3: avoid global include of ads.h.Günther Deschner2-0/+2
Guenther
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner2-0/+2
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
2010-07-29s3: Do the ftruncate write cache optimization in one placeVolker Lendecke1-0/+31
Instead of hand-tuning all the cases that are below this piece of code, this is a general case that we can catch upfront.
2010-07-29Revert "s3: Avoid pwrite calls for the 1-byte writes with zero content"Volker Lendecke1-50/+4
This reverts commit 6763730304627a58139450fd3e03a0ce48e31bb9.
2010-07-29s3: Avoid an unnecessary ftruncate callVolker Lendecke1-1/+1
If we just created the file, it has length 0 by definition. This is still done while holding the share mode lock, so no race around wrt other cifs clients.