summaryrefslogtreecommitdiff
path: root/source4/smbd
Commit message (Collapse)AuthorAgeFilesLines
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-181-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* s4:smbd: use tevent_ fn names instead of leagcy event_ onesSimo Sorce2011-08-134-8/+8
|
* s4-messaging: fixed the removal of messaging sockets in child tasksAndrew Tridgell2011-07-223-7/+8
| | | | | | | | | | | | | | when a child task exits we were firing a destructor on any inherited messaging contexts, which could trigger a removal of the parents message socket and messaging database entry. This adds a new auto_remove flag to imessaging_init(), and exposes the cleanup code for use by the stream service. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jul 22 08:09:06 CEST 2011 on sn-devel-104
* s4:param: add "state dir" and "cache dir" optionsStefan Metzmacher2011-07-121-0/+2
| | | | metze
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-201-2/+2
| | | | | | | | | | | | The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
* lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett2011-06-091-1/+1
| | | | | | | This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
* server_id.idl: Bring server_id.idl in commonAndrew Bartlett2011-06-092-2/+2
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:smbd/server.c - quiet "time_t" format string warnings by castsMatthias Dieter Wallnöfer2011-06-091-2/+4
| | | | Reviewed-by: Tridge
* s4/server: simplify and replace bad portable gettimeofday by timeBjörn Jacke2011-06-061-15/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Mon Jun 6 12:58:26 CEST 2011 on sn-devel-104
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-062-4/+4
| | | | | | | | Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
* s4-ipv6: fixed binding to ipv4 addressesAndrew Tridgell2011-06-061-1/+1
|
* s4-ipv6: fixed stream_setup_socket() to handle IPv6Andrew Tridgell2011-06-061-18/+27
| | | | | for IP we now detect the address family from the address, rather than requiring the caller to specify it.
* ncalrpc: Force ncalrpc dir to be mode 755 in all usersAndrew Bartlett2011-05-081-0/+7
| | | | | | | This allows this directory to be shared between Samba3 and Samba4 in a Franky-style setup easily. Andrew Bartlett
* Improve debug messages when creating socket directoriesAndrew Bartlett2011-05-081-1/+1
| | | | | | This makes clear what the permissions error and directory name actually is Andrew Bartlett
* s4-smbd: fix randseed_init() usage.Günther Deschner2011-05-061-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 6 17:37:11 CEST 2011 on sn-devel-104
* s4-param Rename secrets_init() -> randseed_init()Andrew Bartlett2011-05-031-4/+3
| | | | | | | | | This only sets up the random number generator callback these days, so use a different database for that. (All secrets data in Samba4 is in secrets.ldb) Andrew Bartlett
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-035-12/+12
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* tstream: make npa_tstream a private libraryAndrew Tridgell2011-04-061-1/+1
| | | | | | this prevents symbol duplication of the npa_tstream symbols Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* source4/smbd: Fix prototypes for all functions.Jelmer Vernooij2011-03-195-0/+9
|
* build: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystemAndrew Tridgell2011-02-241-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-idl: rename s4 server_id.idl to server_id4.idlAndrew Tridgell2011-02-182-2/+2
| | | | | | this avoids a conflict with the new s3 server_id.idl Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli/named_pipe_auth Change from 'info3' to auth_session_info_transportAndrew Bartlett2011-02-101-125/+13
| | | | | | | | | | | | | | | This changes the structure being used to convey the current user state from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built structure that matches the internals of the Samba auth subsystem and contains the final group list, as well as the final privilege set and session key. These previously had to be re-created on the server side of the pipe each time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-auth Rework auth subsystem to remove struct auth_serversupplied_infoAndrew Bartlett2011-02-091-6/+6
| | | | | | | | | | | | | This changes auth_serversupplied_info into the IDL-defined struct auth_user_info_dc. This then in turn contains a struct auth_user_info, which is the only part of the structure that is mainted into the struct session_info. The idea here is to avoid keeping the incomplete results of the authentication (such as session keys, lists of SID memberships etc) in a namespace where it may be confused for the finalised results. Andrew Barltett
* s4-charset: use dyn_CODEPAGEDIR for location of upcase.dat/lowcase.datAndrew Tridgell2011-02-071-0/+1
| | | | | | this matches samba3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth Remove special case for account_sid from auth_serversupplied_infoAndrew Bartlett2011-01-201-1/+1
| | | | | | | | | | | | This makes everything reference a server_info->sids list, which is now a struct dom_sid *, not a struct dom_sid **. This is in keeping with the other sid lists in the security_token etc. In the process, I also tidy up the talloc tree (move more structures under their logical parents) and check for some possible overflows in situations with a pathological number of sids. Andrew Bartlett
* s4: Happy New Year 2011Stefan Metzmacher2011-01-021-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jan 2 18:42:12 CET 2011 on sn-devel-104
* s4-auth Remove event context from privilage database handlingAndrew Bartlett2010-12-211-1/+1
| | | | | | | These local TDB operations can quite safely be handled in a new/nested event context, rather than using the main event context. Andrew Bartlett
* s4:smbd/process*.c - fix PID warnings on SolarisMatthias Dieter Wallnöfer2010-12-123-5/+5
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 13:21:13 CET 2010 on sn-devel-104
* s4:param/secrets.h - fix "enum netr_SchannelType" include correctlyMatthias Dieter Wallnöfer2010-11-272-2/+0
|
* Add timestamp when running with --maximum-runtimeMatthieu Patou2010-11-271-1/+15
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Nov 27 11:51:12 CET 2010 on sn-devel-104
* nbtd: Build service as shared module.Jelmer Vernooij2010-11-151-5/+5
|
* 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