summaryrefslogtreecommitdiffstats
path: root/source4/param
Commit message (Collapse)AuthorAgeFilesLines
...
* param: Use a bool to hold boolean parametersAndrew Bartlett2011-10-071-7/+7
| | | | | | | All three-state parameters invoking Auto (2) are already declared as integers, not booleans. Andrew Bartlett
* lib/util: consolidate module loading into common codeAndrew Bartlett2011-10-064-137/+2
| | | | | | This creates a samba-modules private libary that handles the details. Andrew Bartlett
* s4:param/pyparam.c - suppress "P_SEP" compilation warningMatthias Dieter Wallnöfer2011-09-201-2/+2
| | | | Reviewed-by: Jelmer
* lib/util/charset: remove charset module loadingAndrew Bartlett2011-09-201-3/+3
| | | | | | | | | | | | | Now that the 'table' modules are gone, there is no reason for there to be charset modules at all. This builds the macosxfs and weird modules into the binary at the appropriate times, and changes the tests to test instead the difference between the remaining internal handlers and iconv(). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Sep 20 06:27:06 CEST 2011 on sn-devel-104
* s4-param void function cannot return valueAndrew Bartlett2011-09-081-1/+2
| | | | | | | | | This is even if the returned function is void, on Solaris. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Sep 8 16:38:30 CEST 2011 on sn-devel-104
* s4:param: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-051-1/+2
| | | | metze
* s4-services: disable the web server by defaultAndrew Tridgell2011-09-011-1/+1
| | | | | | | | the web server is not being actively maintained, and is causing problems with memory errors (as shown by valgrind). It is better to disable this until it can get some TLC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-param: Use s3 dump method if s3 context is definedAmitay Isaacs2011-08-261-0/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision set passdb backend to 'samba4' in template smb.conf filesAndrew Bartlett2011-08-221-0/+9
| | | | | | | This will allow smbpasswd, net sam and pdbedit to 'just work' against the newly created databases. Andrew Bartlett
* Use public pytalloc header file.Jelmer Vernooij2011-08-143-3/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 14 17:18:46 CEST 2011 on sn-devel-104
* s4-param Set szConfigFile even for s3 loadparm contextsAndrew Bartlett2011-08-131-4/+4
|
* param: Add smb.conf loading support to s3/s4 loadparm bridgeAndrew Bartlett2011-08-131-0/+4
|
* pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij2011-08-103-21/+21
|
* pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij2011-08-071-2/+2
|
* s4-param: Fix object names for python objects PyLoadparm and PyLoadparmContextAmitay Isaacs2011-07-281-2/+2
| | | | | | | Use the object names <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* shares: Remove dependencies on share modules.Jelmer Vernooij2011-07-261-1/+1
| | | | The build system will already pull these in - if necessary.
* libsamba-util: Build in libbitmap.Jelmer Vernooij2011-07-261-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jul 26 14:45:27 CEST 2011 on sn-devel-104
* s4-param: use "state directory" and "cache directory" optionsBjörn Baumbach2011-07-211-4/+4
| | | | | | | instead of "state dir" and "cache dir" in order be compatible with the source3 code. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-param Handle P_CHAR and P_BOOLREV in pyparamAndrew Bartlett2011-07-201-0/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett2011-07-141-2/+26
|
* s4-param cope with parameters of type charAndrew Bartlett2011-07-141-0/+12
|
* s4:param: add "state dir" and "cache dir" optionsStefan Metzmacher2011-07-122-0/+76
| | | | metze
* lib/param: Merge struct loadparm_service into commonAndrew Bartlett2011-07-082-12/+19
| | | | | | | | | | | | | | | | | 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
* param: Move per-share parameters into a seperate file, to share with s3Andrew Bartlett2011-07-082-37/+5
| | | | | | | This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett
* s4-param Remove offset != -1 checksAndrew Bartlett2011-07-081-7/+2
| | | | | | No offset values are set to -1 in the parameter table Andrew Bartlett
* s4-param change to struct bitmap to match s3-paramAndrew Bartlett2011-07-082-16/+17
|
* s4-param Also check the p_class matches when comparing offsetAndrew Bartlett2011-07-081-1/+3
|
* param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett2011-07-083-17/+21
| | | | | | | | 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
* s4-param Remove unused 'announce version'Andrew Bartlett2011-07-021-10/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jul 2 05:42:37 CEST 2011 on sn-devel-104
* s3-param Generate parameter tablesAndrew Bartlett2011-07-021-2/+2
|
* param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett2011-07-021-1/+1
| | | | | | | | | Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett
* s4-param Handle BOOLREV parametersAndrew Bartlett2011-06-291-0/+16
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 08:57:27 CEST 2011 on sn-devel-104
* param: Merge param headers into lib/param/loadparm.hAndrew Bartlett2011-06-291-101/+0
| | | | | | | This defines a common table format, so we can in future define a common table. Andrew Bartlett
* s4-param Match source3's param: use C99 initialisersAndrew Bartlett2011-06-291-159/+1090
| | | | | | This makes it much easier to compare the parameter sets. Andrew Bartlett
* s4-param Merge struct parm_struct with version from source3/Andrew Bartlett2011-06-293-14/+15
|
* param: Merge struct parm_struct definitionsAndrew Bartlett2011-06-292-12/+13
| | | | | | | This will allow the parameter tables to be shared between source3 and source4. Andrew Bartlett
* param: Remove remaining references to announce as and announce versionAndrew Bartlett2011-06-241-5/+0
|
* param: Remove "announce as" parameterAndrew Bartlett2011-06-232-18/+0
|
* lib/util/charset: Remove 'display charset'Andrew Bartlett2011-06-232-3/+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
* s4-param Autogenerate the loadparm_globals and loadparm_service tablesAndrew Bartlett2011-06-212-153/+34
| | | | | | | | | | This makes it much easier and less error prone to add new parameters as we merge the s3 and s4 loadparm systems. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jun 21 04:41:54 CEST 2011 on sn-devel-104
* lib/util: Use common d_printf() in the whole codebaseAndrew Bartlett2011-06-211-6/+0
| | | | | | | | | This removes the lang_tdb based varient, the only user of the lang_tdb code is SWAT, which calls that directly. 'net' and 'pam_winbind' are internationalised using gettext. Andrew Bartlett
* s4-param add const to loadparm_init_s3 s3_fnsAndrew Bartlett2011-06-091-2/+2
|
* s4-auth Move default auth methods back into auth.cAndrew Bartlett2011-06-071-3/+0
| | | | | | | | | This changes auth_methods_from_lp to no longer use the parametric options, and to cope with ROLE_DOMAIN_BDC and ROLE_DOMAIN_PDC. This will assist in calling the source4 auth subsystem with a source3 derived lp_ctx. Andrew Bartlett
* s3-s4-param: Add hooks for parametric options in the s3/s4 glue layerAndrew Bartlett2011-06-061-0/+5
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 6 10:48:53 CEST 2011 on sn-devel-104
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-062-2/+2
| | | | | | | | 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-param Remove 'modules dir'Andrew Bartlett2011-06-062-4/+7
| | | | | | | | The Samba waf build ensures that dyn_MODULESDIR is always correct (even for in-tree binaries), so we don't need to allow the user to configure this at run time. Andrew Bartlett
* lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett2011-06-061-9/+1
| | | | | | | | | | This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
* s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett2011-06-063-12/+81
| | | | | | | | 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
* s4-param make lpcfg_sam_name() cope with PDC and BDC rolesAndrew Bartlett2011-06-061-1/+2
| | | | | | | These roles (ROLE_DOMAIN_CONTROLLER is ROLE_DOMAIN_BDC) will come in from the s3 loadparm. Andrew Bartlett
* s4-param Remove 'sid generator'Andrew Bartlett2011-06-062-15/+0
| | | | | | | This was only used by the Fedora DS backend for Samba4. We agreed to no longer support external LDAP backends. Andrew Bartlett