summaryrefslogtreecommitdiffstats
path: root/lib/param
Commit message (Collapse)AuthorAgeFilesLines
* s4-dns: Added DCERPC dns server for DNS managementAmitay Isaacs2011-10-201-1/+1
| | | | | | | | | | dnsserver.h - typedefs and prototypes dnsserver.c - RPC API and implementation methods dnsdb.c - samdb operations dnsdata.c - functions to manipulate dns structures dnsutils.c - function for serverinfo and zoneinfo structures Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/param: Remove parameters for wins and spoolss databasesAndrew Bartlett2011-10-181-30/+0
| | | | | | | | | | | | | | | | | This removes the smb.conf parameters per-database, replacing these with hard-coded database names in well known (and configurable) directories. The wins.ldb is now always in the "state dir", rather than being in both state and lock dir (ie, a bug). Less smb.conf parameters means less parameters to try and sync up between the loadparm subsystems. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 18 05:39:54 CEST 2011 on sn-devel-104
* credentials: Prioritise command-line specified options above defaults from ↵Andrew Bartlett2011-10-182-0/+22
| | | | | | | | | | | | | | smb.conf If a user specified -W or --realm on the command line, then this is of level SPECIFIED, not UNINITIALISED, despite it going via the loadparm system. This helps us to ensure that -W server -Ulocaluser is parsed the same as -Userver\localuser. This matters as otherwise we might instead attempt to use kerberos to the realm from the smb.conf. Andrew Bartlett
* lib/param reduce the cost of loadparm_init_s3()Andrew Bartlett2011-10-131-1/+1
| | | | | | The parameter redirection covers most things now, so this should be safe. Andrew Bartlett
* lib/param Print error when mkdir of lock path failsAndrew Bartlett2011-10-131-1/+3
| | | | | | This matches the s3 code for lock_path(). Andrew Bartlett
* lib/param Add 'use mmap' parameter to control tdb use of mmapAndrew Bartlett2011-10-131-0/+12
|
* s4/param: Expose lpcfg_smb_ports and lpcfg_socket_options, which are both ↵Jelmer Vernooij2011-10-111-0/+1
| | | | required by winexe.
* param: Expose lpcfg_smb_ports, required by winexe.Jelmer Vernooij2011-10-111-0/+1
|
* lib/param: fix typo _SAMBA_BUILD => _SAMBA_BUILD_ causing segfaultsStefan Metzmacher2011-10-111-1/+1
| | | | | | | | | If lpcfg_dns_update_command() returns NULL 'samba' segfaults on startup. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 11 17:25:19 CEST 2011 on sn-devel-104
* lib/param Avoid dyn_ defines that are not provided by the autoconf buildAndrew Bartlett2011-10-111-3/+5
| | | | | | | The autoconf build will never use these parameters or load the smb.conf with these defaults, so the defaults are not important. Andrew Bartlett
* lib/param Use strcasecmp_m rather than strcasecmp as this is banned in the ↵Andrew Bartlett2011-10-111-2/+2
| | | | s3 includes.h
* lib/param Use talloc_strdup rather than strdup as strdup is banned in the s3 ↵Andrew Bartlett2011-10-111-3/+3
| | | | includes.h
* lib/param Avoid the name string_set as this is already used in the s3 param codeAndrew Bartlett2011-10-111-14/+14
|
* lib/param Avoid the use of the name service_ok() which is used in the s3 ↵Andrew Bartlett2011-10-111-4/+4
| | | | param code
* lib/param: Remove unused #include of lib/socket/socket.hAndrew Bartlett2011-10-111-1/+0
|
* libcli/smb Move CSC_POLICY_* definition to smb_constants.hAndrew Bartlett2011-10-111-6/+0
| | | | | | | This removes the duplicate definition between smb.h and lib/param/loadparm.c which in turn allows this file to be compiled with the s3 includes.h Andrew Bartlett
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-116-0/+4652
| | | | | | | | | | | | This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
* lib/param: Merge struct loadparm_service into commonAndrew Bartlett2011-07-084-16/+160
| | | | | | | | | | | | | | | | | This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
* s3-param use common struct parmlist_entry to hold parametric optionsAndrew Bartlett2011-07-081-1/+2
| | | | | | This will allow struct loadparm_service to be shared in future. Andrew Bartlett
* param: Move per-share parameters into a seperate file, to share with s3Andrew Bartlett2011-07-082-0/+36
| | | | | | | This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett
* param: Merge param headers into lib/param/loadparm.hAndrew Bartlett2011-06-291-0/+117
This defines a common table format, so we can in future define a common table. Andrew Bartlett