summaryrefslogtreecommitdiffstats
path: root/source3/smbd/server.c
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Remove a call to procid_self()Volker Lendecke2011-12-131-1/+1
|
* s3: Remove a call to procid_self()Volker Lendecke2011-12-131-2/+3
|
* s3: Remove a bunch of calls to procid_self()Volker Lendecke2011-12-121-2/+1
| | | | All callers to messaging_[re]init only used procid_self()
* s3:smbd: also the parent smbd needs FLAG_MSG_PRINT_GENERAL (bug #8553)Stefan Metzmacher2011-10-311-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 17:37:34 CET 2011 on sn-devel-104
* libcli/auth: Provide a struct loadparm_context to schannel callsAndrew Bartlett2011-10-131-1/+4
| | | | | | This will allow us to pass this down to the tdb_wrap layer. Andrew Bartlett
* s3:smbcontrol: let smbd pass the idmap msg to its children for convenienceGregor Beck2011-10-121-2/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: factor out messaging_send_to_children()Gregor Beck2011-10-121-8/+17
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Remove a reference to smbd_server_connVolker Lendecke2011-09-131-1/+1
|
* s3: Remove a reference to smbd_server_connVolker Lendecke2011-09-131-1/+1
|
* s3: Remove a reference to smbd_server_connVolker Lendecke2011-09-131-1/+2
|
* s3-smbd: Rename reload_printers() and add documentation.Andreas Schneider2011-09-051-1/+1
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 5 17:59:47 CEST 2011 on sn-devel-104
* s3-id_cache: Use better names for id cache management opsAndreas Schneider2011-08-211-2/+2
| | | | | | | The IDMAP term is normally associated with Winbind's idmap stuff. These functions deal with id caching not id mapping. Signed-off-by: Simo Sorce <idra@samba.org>
* s3-id_cache: Move id caches mgmt out of smbdAndreas Schneider2011-08-211-0/+2
| | | | | | | | | | We must leave the MSG_IDMAP_KILL operation in SMBD as it uses smbd specific internal globals and makes sense only in the context of a smbd daemon. The rest is moved under lib/ as we need to deal with id cache cleanups in other daemons too (like lsasd). Signed-off-by: Simo Sorce <idra@samba.org>
* s3-rpc_server: Replace RPC_SERVICE_MODE_DAEMON checksSimo Sorce2011-08-211-7/+7
| | | | | | | Use rpc_daemon_type() macros where appropriate instead. Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
* s3-smbd: Start lsasd as deamon.Andreas Schneider2011-08-211-4/+15
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
* s3-smbd Avoid races creating 'ncaclrpc dir' with epmd in a child processAndrew Bartlett2011-08-131-0/+9
|
* s3-printing: Do not try to force reload.Simo Sorce2011-08-101-2/+2
| | | | | | | | | | Be more correct in load printers at startup. If async process have already started we do not need to force a reload, but we just need to load the printers. If other process have not finished initializing it makes no sense to try to force them as they are masking SIGHUP unitl init is done anyway. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-printing: Force pcap reload when all readySimo Sorce2011-08-101-1/+5
| | | | | | | This way we are sure the cache is primed properly and messages can be sent to processes if necessary as all messaging has been set up. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:spoolssd Start spoolssd from printing_subsystem_initSimo Sorce2011-08-101-22/+8
| | | | | | | Use a child for the background updater process Forward printer update messages from spoolss to background update process. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-smbd: Pass tevent context to smbd_server_connection_loop_once().Andreas Schneider2011-08-091-3/+3
| | | | Signed-off-by: Simo Sorce <idra@samba.org>
* s3:server Consolidate printing related initializationSimo Sorce2011-08-021-9/+0
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Aug 2 17:37:44 CEST 2011 on sn-devel-104
* s3:smbd - Move printing queue stuffSimo Sorce2011-08-021-37/+9
| | | | | | | | This way we can properly deal with pcap updates in the background queue process if it is enabled (on by default) and not perform these actions in the main smbd process. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_server: Use rpc_spoolss_mode().Andreas Schneider2011-08-011-5/+2
|
* s3-rpc_server: Use rpc_epmapper_mode().Andreas Schneider2011-08-011-5/+2
| | | | | Remove embedded mode cause this will not work. It was only there for testing.
* s3-rpc_server: Rename to rpc service setup.Andreas Schneider2011-08-011-1/+1
|
* debug: log early messages to stdout, and keep it openAndrew Bartlett2011-07-201-2/+8
| | | | | | | | | The --log-stdout option was compromised by the log file descriptors being closed once the file process forked. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-smbd: Pass event and messaging context to smbd_parent_housekeeping().Andreas Schneider2011-07-141-3/+5
|
* s3-smbd: Pass ev_ctx to remove_child_pid().Andreas Schneider2011-07-141-3/+5
|
* s3-smbd: Pass msg_ctx to smbd_accept_connection.Andreas Schneider2011-07-141-4/+8
|
* s3-smbd: Pass ev_ctx to smbd_setup_sig_chld_handler().Andreas Schneider2011-07-141-5/+5
|
* s3-smbd: Pass ev_ctx and msg_ctx to smbd_accept_connection().Andreas Schneider2011-07-141-3/+13
|
* s3-smbd: Pass ev_ctx and msg_ctx to open_sockets_smbd().Andreas Schneider2011-07-141-7/+9
|
* s3-smbd: Pass ev_ctx to smbd_parent_loop().Andreas Schneider2011-07-141-3/+4
|
* s3-smbd: Create ev_ctx and msg_ctx and use it.Andreas Schneider2011-07-141-26/+38
|
* s3-smbd: Remove obsolete smbd_set_server_fd().Andreas Schneider2011-07-041-7/+6
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:smbd do not panic when CTDB is unhealthy (Bug #8278)Christian Ambach2011-06-301-0/+9
| | | | | | | | when CTDB is unhealthy, log a message and exit cleanly instead of creating a core file Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Jun 30 13:18:12 CEST 2011 on sn-devel-104
* s3-param prepare for some lp_ functions to return constAndrew Bartlett2011-06-011-1/+1
|
* s3-globals Remove smbd_event_context() (use server_event_context())Andrew Bartlett2011-05-311-26/+21
| | | | | | | | This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett
* s3-smbd provide struct smbd_server_connection * to conn_snum_usedAndrew Bartlett2011-05-311-1/+1
| | | | | | | | | | | | | | | | This provides the 'sconn' parameter to this key functions, that is currently duplicated in dummysmbd.c, which causes duplicate symbol issues in the waf build. This has natrually caused a number of consequential changes across the codebase, includning not passing a messaging context into initial reload_services(): This causes problems because the global smbd_server_connection isn't yet set up, as there isn't a connection here, just the initial process. Andrew Bartlett
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-2/+2
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-smbd: expose smbd_set_server_fd()Andrew Tridgell2011-05-081-29/+0
| | | | | | | | | | this allows the fd to be setup by subsystems that want to use the s3 server core code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 8 12:01:13 CEST 2011 on sn-devel-104
* s3-build: remove some unused headers.Günther Deschner2011-04-291-1/+0
| | | | Guenther
* s3: only include smb profiling where needed.Günther Deschner2011-04-141-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
* Fix bug #8047 - mdns registration doesn't work if "interfaces" is used in ↵Marc A. Dahlhaus2011-04-011-0/+7
| | | | | | | smb.conf Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 1 23:15:34 CEST 2011 on sn-devel-104
* s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner2011-03-301-1/+0
| | | | Guenther
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-auth: smbd needs auth.hGünther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: include smbd/smbd.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-passdb: use passdb headers where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther