summaryrefslogtreecommitdiff
path: root/source4/smbd
AgeCommit message (Collapse)AuthorFilesLines
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
2010-04-24s4-smbd: Fix compiler warning in prefork smbd.Tim Potter1-1/+1
My first patch in a while... Tim. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-04-21s4-server: show build host in samba -b outputAndrew Tridgell1-0/+5
2010-04-18s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell1-1/+0
This was left over from the automatic conversion of the config.mk files
2010-04-14s4:auth Change auth_generate_session_info to take an auth contextAndrew Bartlett1-14/+48
The auth context was in the past only for NTLM authentication, but we need a SAM, an event context and and loadparm context for calculating the local groups too, so re-use that infrustructure we already have in place. However, to avoid problems where we may not have an auth_context (in torture tests, for example), allow a simpler 'session_info' to be generated, by passing this via an indirection in gensec and an generate_session_info() function pointer in the struct auth_context. In the smb_server (for old-style session setups) we need to change the async context to a new 'struct sesssetup_context'. This allows us to use the auth_context in processing the authentication reply . Andrew Bartlett
2010-04-06s4-waf: removed the AUTOGENERATED markersAndrew Tridgell1-8/+0
we won't be using the mk -> wscript generator again
2010-04-06s4-waf: more dependencies on tallocAndrew Tridgell1-0/+1
these are needed so we can support a system talloc without using the bundled talloc.h
2010-04-06s4-waf: cleanup use of LIBPOPT vs popt dependencyAndrew Tridgell1-1/+1
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: install samba in sbinAndrew Tridgell1-1/+2
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-4/+6
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+71
2010-03-29s4: added a simple implementation of bin/samba -bAndrew Tridgell1-1/+44
this shows the config paths. Useful for debugging --enable-fhs
2010-03-26s3-smbd: Don't close stdout if we want to log to stdout.Andreas Schneider1-1/+1
2010-03-26s4-smbd: use tevent_re_initialise()Andrew Tridgell1-2/+6
This fixes a crash bug on startup
2010-03-07s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue ↵Stefan Metzmacher1-11/+2
and tstream_context metze
2010-02-26s4-smb: Migrate named_pipe_server to tsocket.Andreas Schneider2-209/+312
This is an improved version of commit 69d5cea2e59162f19460e7ce4b6382fc5fdd6ca0, which was reverted by commit 71c20f703b0c603d6aada63ed5634070a26df052. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-26s4-krb5: propogate errors from a lot more kerberos functionsAndrew Tridgell1-1/+3
We need to be able to give sensible error messages when a kerberos calls fails. This propogates the kerberos error up the stack to the caller. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-24Revert "s4-smb: Migrate named_pipe_server to tsocket."Simo Sorce2-279/+211
This reverts commit 69d5cea2e59162f19460e7ce4b6382fc5fdd6ca0. This commit causes issues with the RPC server, revert it until we find the exact issue and possibly have a torture test to avoid it happening again. Found playing with w2k8r2 and forest trusts.
2010-02-23s4:schannel merge code with s3Simo Sorce1-2/+0
After looking at the s4 side of the (s)channel :) I found out that it makes more sense to simply make it use the tdb based code than redo the same changes done to s3 to simplify the interface. Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet that does not solve the lookup speed, with ldb it is always going to be slower. Looking through the history it is evident that the schannel database doesn't really need greate expanadability. And lookups are always done with a single Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated. The schannel database is not really a persistent one. It can be discared during an upgrade without causing any real issue. all it contains is temproary session data.
2010-02-23s4-smb: Migrate named_pipe_server to tsocket.Andreas Schneider2-211/+279
2010-02-23s4-smbd: Remove obsolete singal type cast from the thread process model.Andreas Schneider1-3/+3
2010-02-22More spelling fixes across source4/Brad Hards3-3/+3
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>