summaryrefslogtreecommitdiff
path: root/source4/smbd
Commit message (Collapse)AuthorAgeFilesLines
* s4-server: make server sockets a child of the task contextAndrew Tridgell2010-11-152-5/+8
| | | | | | | | | | | | We previously allocated sockets as direct children of the event context. That led to crashes if a service called task_server_terminate(), as it left the socket open and handling events for a dead protocol. Making them a child of the task allows the task to terminate and take all its sockets with it. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* credentials: Lowercase library name,Jelmer Vernooij2010-11-071-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
* ldbsamba: Lowercase library name.Jelmer Vernooij2010-11-071-3/+3
|
* s4-server: cleanup allocation of process modelsAndrew Tridgell2010-11-032-10/+6
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 10:40:52 UTC 2010 on sn-devel-104
* s4-process_model Fix valgrind-found use of un-initialised variableAndrew Bartlett2010-11-021-0/+1
| | | | | | | The relloc didn't zero the structure for the new process modal, and so m->initialised wasn't initialised. Andrew Bartlett
* s4-modules: get rid of the remaining static prototypes for modulesAndrew Tridgell2010-11-011-17/+2
| | | | the waf build now generates the prototype declarations for us
* s4-process_model: use the static module prototypingAndrew Tridgell2010-11-011-15/+14
| | | | remove the manual prototyping of static init functions
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-313-156/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* s4-smbd: initialise process models in smbtorture before useAndrew Tridgell2010-10-301-5/+11
| | | | | | | the spoolss notify test needs to setup the process models before use Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Oct 30 13:32:09 UTC 2010 on sn-devel-104
* s4-smbd: leave the single process model as internalAndrew Tridgell2010-10-301-1/+1
| | | | | This helps with the static smbtorture for samba3, and the spoolss tests which start a server
* s4-cluster: make cluster a private shared libAndrew Tridgell2010-10-301-6/+6
|
* s4-smbd: make our process models into real modulesAndrew Tridgell2010-10-301-39/+46
| | | | | | | this simplifies some of the dependencies between bin/samba and the various services, making it easier to get a clean depenency tree Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-smbd: don't initialise process models more than onceAndrew Tridgell2010-10-308-38/+43
| | | | | | | | | this also removes the event_context parameter from process model initialisation. It isn't needed, and is confusing when a process model init can be called from more than one place, possibly with different event contexts. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-2/+2
|
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-4/+4
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-2/+2
|
* s4: Rename LIBEVENTS to libevents.Jelmer Vernooij2010-10-231-4/+4
|
* s4 dns: Add a boilerplate DNS server implementationKai Blin2010-10-231-0/+1
|
* s4-waf: removed dependencies on missing subsystemsAndrew Tridgell2010-10-211-3/+3
| | | | these were left over from the old config.mk system
* s4: show samba version in bin/samba -bAndrew Tridgell2010-10-141-0/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 14 02:24:47 UTC 2010 on sn-devel-104
* libcli/security Use common security.hAndrew Bartlett2010-10-121-1/+1
| | | | | | | | | | This includes dom_sid.h and security_token.h and will be moved to the top level shortly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 03:35:36 UTC 2010 on sn-devel-104
* s4-smbd Remove event_context_set_default()Andrew Bartlett2010-10-112-9/+0
| | | | | | | The last callers to event_context_find() have been removed so this is no longer required. Andrew Bartlett
* s4-credentials Add explicit event context handling to Kerberos calls (only)Andrew Bartlett2010-10-111-1/+0
| | | | | | | | | | | | | | By setting the event context to use for this operation (only) onto the krb5_context just before we call that operation, we can try and emulate the specification of an event context to the actual send_to_kdc() This eliminates the specification of an event context to many other cli_credentials calls, and the last use of event_context_find() Special care is taken to restore the event context in the event of nesting in the send_to_kdc function. Andrew Bartlett
* credentials: Split up into several subsystems.Jelmer Vernooij2010-10-111-1/+1
|
* server: Add missing dependency on schannel database.Jelmer Vernooij2010-10-101-1/+1
|
* service: Add missing dependency on process_model.Jelmer Vernooij2010-10-101-1/+1
|
* torture: Link against rpc server itself, not service module. (against which ↵Jelmer Vernooij2010-10-111-0/+2
| | | | we can't link).
* ldb-samba: Add ldb_wrap_add, remove last schema reference from ldb_wrap.Jelmer Vernooij2010-10-101-1/+1
|
* wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij2010-10-101-3/+3
| | | | | | | | | applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
* heimdal: Fix library name of gssapi.Jelmer Vernooij2010-10-051-1/+1
|
* s4-server: exit with status 127 on SIGTERMAndrew Tridgell2010-10-021-1/+1
| | | | | this ensures that make test detects a failure if samba is killed by SIGTERM
* s4-server: check the return of irpc_binding_handle_by_nameAndrew Tridgell2010-09-151-3/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-process: fixed the thread process model so it compilesAndrew Tridgell2010-09-071-1/+2
| | | | it doesn't actually work, but at least it now compiles
* s4:smbd/service_task: use irpc_binding_handle_by_name()Stefan Metzmacher2010-09-032-7/+6
| | | | metze
* s4:process_thread: use monotonic time for time deltasBjörn Jacke2010-08-311-9/+10
|
* Avoid use of Samba DTD, which requires net access.Jelmer Vernooij2010-08-221-1/+1
|
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-169-24/+24
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:schannel Open the schannel_store.tdb at startupAndrew Bartlett2010-06-251-0/+8
| | | | | | This will allow TDB_CLEAR_IF_FIRST behaviour in future Signed-off-by: Jeremy Allison <jra@samba.org>
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-164-4/+4
| | | | | | | | | This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
* wafsamba: Fix building of modules as shared libraries.Jelmer Vernooij2010-06-151-1/+1
|
* s4:smbd/pidfile.c - fix "asprintf" callsMatthias Dieter Wallnöfer2010-05-281-2/+7
|
* s4:smbd: Use tstream_npa_accept_existing to accept named pipe connectionsSimo Sorce2010-05-261-532/+161
| | | | Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
* s4:smbd: Add tstream to the stream_connection structureSimo Sorce2010-05-261-0/+1
|
* s4:auth Change auth_generate_session_info to take flagsAndrew Bartlett2010-05-201-0/+41
| | | | | | | | | | | | | | This allows us to control what groups should be added in what use cases, and in particular to more carefully control the introduction of the 'authenticated' group. In particular, in the 'service_named_pipe' protocol, we do not have control over the addition of the authenticated users group, so we key of 'is this user the anonymous SID'. This also takes more care to allocate the right length ptoken->sids Andrew Bartlett
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-184-9/+2
|
* s4:process_model Fix process_standard and process_onefork not to useAndrew Bartlett2010-05-142-55/+19
| | | | | | | | | | | multiple event contexts It is NEVER valid to free an event context that anybody else may have a reference to, and never normally valid to have two 'live' at once. We must instead call tevent_re_initialise() to wipe clean an existing pointer. Andrew Bartlett
* s4:process_modals Add another process modal - 'onefork'Andrew Bartlett2010-05-143-0/+183
| | | | | | | | This will fork off exactly one child to handle some task, ensuring that if it dies or changes global state, that this does not change everything. Andrew Bartlett
* Revert "s4: remove unused references to swat"Andrew Bartlett2010-05-141-0/+1
| | | | | | | This reverts most of commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c. The s3compat build needs the SWAT location to be compatible with Samba3.
* s4: remove unused references to swatStefan Metzmacher2010-04-291-1/+0
| | | | metze
* s4:service_named_pipe: use the passed client and server addressesStefan Metzmacher2010-04-271-1/+38
| | | | | | | This gives the rpc server code the correct client and server ip addresses for ncacn_np. metze