summaryrefslogtreecommitdiff
path: root/source3/param/loadparm_ctx.c
AgeCommit message (Collapse)AuthorFilesLines
2013-10-16param: Autogenerate s3 lp_ctx glue tableAndrew Bartlett1-63/+1
This allows us to use more lpcfg_ functions without adding them manually. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-02-20param: 'use ntdb' flag (off by default).Rusty Russell1-0/+1
For simplicity, we use this in the caller to choose between filenames. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2012-07-24lib/param: Merge handling of security/domain master/domain logons/server roleAndrew Bartlett1-2/+4
This ensures that the same input parameters always gives the same output values in both loadparm systems. Andrew Bartlett
2012-06-27s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett1-2/+2
This helps clarify the role of this structure and wrapper function. The purpose here is to provide helper functions to the lib/param loadparm_context that point back at the s3 lp_ functions. This allows a struct loadparm_context to be passed to any point in the code, and always refer to the correct loadparm system. If this has not been set, the variables loaded in the lib/param code will be returned. As requested by Michael Adam. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 27 17:11:16 CEST 2012 on sn-devel-104
2012-05-30lib/param: Harmonise 'password server' parameter between s3 and s4Andrew Bartlett1-0/+2
2012-02-27s3-param: Align lp_{max,min}protocol with lib/param namesAndrew Bartlett1-0/+3
This adds an alisas to ensure that both our loadparm systems know all the names. I would like to move to the 'server ..' name as canonical, and this will be raised on the list. Andrew Bartlett
2012-01-31s3-libsmb: Use gensec_spnego in smb seal clientAndrew Bartlett1-0/+1
This is intead of the inline, manual spnego code currently in use. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-17param: Connect lp_security to the lib/param code to allow testsAndrew Bartlett1-0/+1
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: calculate server role from security, and security from server roleAndrew Bartlett1-1/+0
This allows smb.conf files from either the samba3 or samba4 tradition to come to the same value of server role, using the information in the smb.conf file. This is important so that tools like 'net getlocalsid' work against a Samba4 AD installation (yes, users have tried this). Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17s3-param remove lp_domain_logons(), always use IS_DCAndrew Bartlett1-1/+0
This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: Add "domain logons" and "domain master" parametersAmitay Isaacs1-0/+2
This makes parsing of config files with s3 loadparm code and s4 loadparm code consistent.
2011-10-13lib/param Add 'use mmap' parameter to control tdb use of mmapAndrew Bartlett1-0/+3
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett1-1/+1
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
2011-10-08s3:param: add lp_host_msdfs to loadparm_s3_contextStefan Metzmacher1-1/+3
metze
2011-08-26s3-param: Allocate talloc stackframe before calling s3 param routinesAmitay Isaacs1-2/+26
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-26s3-param: Add a dump() method to output parametersAmitay Isaacs1-0/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-22s4-provision set passdb backend to 'samba4' in template smb.conf filesAndrew Bartlett1-1/+3
This will allow smbpasswd, net sam and pdbedit to 'just work' against the newly created databases. Andrew Bartlett
2011-08-13s3-param: Make sure we have talloc stack frame before calling in s3 codeAmitay Isaacs1-1/+8
When loading parameters as s4 context in s3 code, ensure we have a talloc stack frame. This is required for python wrapping s3 params.
2011-08-13param: Add smb.conf loading support to s3/s4 loadparm bridgeAndrew Bartlett1-0/+6
2011-07-14s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett1-0/+4
2011-07-14s3-param Plug 'netbios aliases' via the parameter bridgeAndrew Bartlett1-0/+1
2011-07-08param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett1-6/+4
This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett
2011-06-23lib/util/charset: Remove 'display charset'Andrew Bartlett1-1/+0
As discussed in 'CH_DISPLAY and gettext' on the samba-technical list: http://lists.samba.org/archive/samba-technical/2011-June/078190.html Setting this to a value other than 'unix charset' does not make sense, as any system where the filesytem charset does not equal the terminal charset will already have problems with programs as simple as 'ls'. It also means that our output could not be pasted as our input in interactive programs or onto our command line, as we never did translate in the DISPLAY -> UNIX direction. The d_printf() calls are retained in case we need to revisit this, and to support display_set_stderr(). Andrew Bartlett
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-09s3-param Remove special case for global_scope()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system. (Past reasons were that we didn't have lp_set_cmdline()) Andrew Bartlett
2011-06-06s3-s4-param: Add hooks for parametric options in the s3/s4 glue layerAndrew Bartlett1-0/+26
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 6 10:48:53 CEST 2011 on sn-devel-104
2011-06-06s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett1-0/+43
In the top level build, this allows calls to code that requires a lpcfg_ style loadparm_context, while using the global parameters loaded from the source3 loadparm code. Andrew Bartlett