summaryrefslogtreecommitdiff
path: root/source4/smbd
AgeCommit message (Collapse)AuthorFilesLines
2010-11-15s4-server: make server sockets a child of the task contextAndrew Tridgell2-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>
2010-11-07credentials: Lowercase library name,Jelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
2010-11-07ldbsamba: Lowercase library name.Jelmer Vernooij1-3/+3
2010-11-03s4-server: cleanup allocation of process modelsAndrew Tridgell2-10/+6
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 10:40:52 UTC 2010 on sn-devel-104
2010-11-02s4-process_model Fix valgrind-found use of un-initialised variableAndrew Bartlett1-0/+1
The relloc didn't zero the structure for the new process modal, and so m->initialised wasn't initialised. Andrew Bartlett
2010-11-01s4-modules: get rid of the remaining static prototypes for modulesAndrew Tridgell1-17/+2
the waf build now generates the prototype declarations for us
2010-11-01s4-process_model: use the static module prototypingAndrew Tridgell1-15/+14
remove the manual prototyping of static init functions
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij3-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
2010-10-30s4-smbd: initialise process models in smbtorture before useAndrew Tridgell1-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
2010-10-30s4-smbd: leave the single process model as internalAndrew Tridgell1-1/+1
This helps with the static smbtorture for samba3, and the spoolss tests which start a server
2010-10-30s4-cluster: make cluster a private shared libAndrew Tridgell1-6/+6
2010-10-30s4-smbd: make our process models into real modulesAndrew Tridgell1-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>
2010-10-30s4-smbd: don't initialise process models more than onceAndrew Tridgell8-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>
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij1-2/+2
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij1-4/+4
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij1-2/+2
2010-10-23s4: Rename LIBEVENTS to libevents.Jelmer Vernooij1-4/+4
2010-10-23s4 dns: Add a boilerplate DNS server implementationKai Blin1-0/+1
2010-10-21s4-waf: removed dependencies on missing subsystemsAndrew Tridgell1-3/+3
these were left over from the old config.mk system
2010-10-14s4: show samba version in bin/samba -bAndrew Tridgell1-0/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 14 02:24:47 UTC 2010 on sn-devel-104
2010-10-12libcli/security Use common security.hAndrew Bartlett1-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
2010-10-11s4-smbd Remove event_context_set_default()Andrew Bartlett2-9/+0
The last callers to event_context_find() have been removed so this is no longer required. Andrew Bartlett
2010-10-11s4-credentials Add explicit event context handling to Kerberos calls (only)Andrew Bartlett1-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
2010-10-11credentials: Split up into several subsystems.Jelmer Vernooij1-1/+1
2010-10-10server: Add missing dependency on schannel database.Jelmer Vernooij1-1/+1
2010-10-10service: Add missing dependency on process_model.Jelmer Vernooij1-1/+1
2010-10-11torture: Link against rpc server itself, not service module. (against which ↵Jelmer Vernooij1-0/+2
we can't link).
2010-10-10ldb-samba: Add ldb_wrap_add, remove last schema reference from ldb_wrap.Jelmer Vernooij1-1/+1
2010-10-10wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij1-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
2010-10-05heimdal: Fix library name of gssapi.Jelmer Vernooij1-1/+1
2010-10-02s4-server: exit with status 127 on SIGTERMAndrew Tridgell1-1/+1
this ensures that make test detects a failure if samba is killed by SIGTERM
2010-09-15s4-server: check the return of irpc_binding_handle_by_nameAndrew Tridgell1-3/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-07s4-process: fixed the thread process model so it compilesAndrew Tridgell1-1/+2
it doesn't actually work, but at least it now compiles
2010-09-03s4:smbd/service_task: use irpc_binding_handle_by_name()Stefan Metzmacher2-7/+6
metze
2010-08-31s4:process_thread: use monotonic time for time deltasBjörn Jacke1-9/+10
2010-08-22Avoid use of Samba DTD, which requires net access.Jelmer Vernooij1-1/+1
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell9-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>
2010-06-25s4:schannel Open the schannel_store.tdb at startupAndrew Bartlett1-0/+8
This will allow TDB_CLEAR_IF_FIRST behaviour in future Signed-off-by: Jeremy Allison <jra@samba.org>
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher4-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>
2010-06-15wafsamba: Fix building of modules as shared libraries.Jelmer Vernooij1-1/+1
2010-05-28s4:smbd/pidfile.c - fix "asprintf" callsMatthias Dieter Wallnöfer1-2/+7
2010-05-26s4:smbd: Use tstream_npa_accept_existing to accept named pipe connectionsSimo Sorce1-532/+161
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
2010-05-26s4:smbd: Add tstream to the stream_connection structureSimo Sorce1-0/+1
2010-05-20s4:auth Change auth_generate_session_info to take flagsAndrew Bartlett1-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
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij4-9/+2
2010-05-14s4:process_model Fix process_standard and process_onefork not to useAndrew Bartlett2-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
2010-05-14s4:process_modals Add another process modal - 'onefork'Andrew Bartlett3-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
2010-05-14Revert "s4: remove unused references to swat"Andrew Bartlett1-0/+1
This reverts most of commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c. The s3compat build needs the SWAT location to be compatible with Samba3.
2010-04-29s4: remove unused references to swatStefan Metzmacher1-1/+0
metze
2010-04-27s4:service_named_pipe: use the passed client and server addressesStefan Metzmacher1-1/+38
This gives the rpc server code the correct client and server ip addresses for ncacn_np. metze