summaryrefslogtreecommitdiffstats
path: root/source4/param
Commit message (Collapse)AuthorAgeFilesLines
* 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
* s4-param Remove 'idmap database'Andrew Bartlett2011-06-061-4/+0
| | | | This is now just idmap.ldb in the private dir, which remains.
* s4-param Remove 'secrets database' parameterAndrew Bartlett2011-06-062-5/+1
| | | | This is now just secrets.ldb in the private dir, which remains.
* s4-param Remove 'sam database' parameterAndrew Bartlett2011-06-062-4/+9
| | | | | | This now just relies on the private dir parameter, which remains. Andrew Bartlett
* s4-ipv6: changed the default "socket address"Andrew Tridgell2011-06-061-1/+1
| | | | | | this changes the default socket address to the empty string. This allows uses to specify 0.0.0.0 meaning to listen only on the IPv4 wildcard address.
* libcli/util Remove ntstatus_check_dos_mappingAndrew Bartlett2011-05-311-2/+0
| | | | | | | This has been set to true since the global loadparm was removed in 2008, and removes an #ifdef SAMBA_BUILD == 4 Andrew Bartlett
* s4-param cope with doulbe-parsing of -foo and +foo listsAndrew Bartlett2011-05-081-3/+9
| | | | | | | For some reason these lists are parsed twice, and so any -foo was failing as it was already removed the first time. Andrew Bartlett
* s4-param Don't set variables such as the debuglevel unless globalAndrew Bartlett2011-05-081-2/+18
| | | | | | | | | | This ensures that when a second lp_ctx is created, that it does not set global variables such as the debug level, log file etc, potentially overriding the settings created by another context. In particular this matters when loading Samba4 modules into Samba3. Andrew Bartlett
* libds: moved enum security_types to a common headerAndrew Tridgell2011-05-081-0/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-061-1/+1
| | | | | | | | | This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
* s4-param Rename secrets_init() -> randseed_init()Andrew Bartlett2011-05-032-6/+7
| | | | | | | | | 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
* Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett2011-05-031-18/+37
| | | | | | | | | This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett
* s4-param: use new roles.hAndrew Tridgell2011-05-031-5/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-032-2/+2
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* lib/util Rename conv_str_size() -> conv_str_size_error()Andrew Bartlett2011-04-301-2/+2
|
* s4-param Rename lp_destructor() -> lpcfg_destructor() for consistencyAndrew Bartlett2011-04-291-2/+2
|
* s4-param Rename unused lp_ functions to match param.hAndrew Bartlett2011-04-291-5/+5
|
* s4-param Rename volume_label() -> lpcfg_volume_label()Andrew Bartlett2011-04-293-3/+3
|
* s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett2011-04-296-11/+11
| | | | | | This is consistent with lock_path() Andrew Bartlett
* s4-param Remove config_path() -> lpcfg_config_path()Andrew Bartlett2011-04-292-2/+2
| | | | | | This is consistent with lock_path() Andrew Bartlett
* s4-param Rename lock_path() -> lpcfg_lock_path()Andrew Bartlett2011-04-292-2/+2
| | | | This avoids a conflict with the source3/ lock_path()
* s4-loadparm: be a bit less verbose about smb.conf processingAndrew Tridgell2011-04-041-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-param: set a default logfileAndrew Tridgell2011-03-291-0/+5
| | | | | | setup a logfile for when one is not specified in smb.conf Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett2011-03-253-14/+14
| | | | | | This better reflects what this structure is Andrew Bartlett
* s4:python bindings - handle NULL returns from "loadparm_init_global"Matthias Dieter Wallnöfer2011-03-222-0/+7
| | | | | | | Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Mar 22 19:52:57 CET 2011 on sn-devel-104
* s4:param/loadparm.c - check for OOMMatthias Dieter Wallnöfer2011-03-221-0/+3
| | | | | | Return NULL if the loadparm context hasn't been allocated Reviewed-by: Jelmer
* source4/param: Fix prototypes for all functions.Jelmer Vernooij2011-03-194-1/+8
|
* lib/util: new merged debug systemAndrew Bartlett2011-03-011-12/+18
| | | | | | | | | | | | This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
* Make lpcfg_server_role public.Jelmer Vernooij2011-02-231-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Feb 23 00:44:16 CET 2011 on sn-devel-104
* s4-waf: rename 'param' to 'pyparam'Andrew Tridgell2011-02-221-1/+1
| | | | | | we will use 'param' for the s3 libparam.so Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib/util/charcnv Move iconv handle setup in commonAndrew Bartlett2011-02-182-5/+2
| | | | | | | | We now use the struct smb_iconv_convenience at the core of all our iconv code, and use global_iconv_convenience for the callers that don't specify one. Andrew Bartlett
* s4: load the backupkey endpointMatthieu Patou2011-02-141-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-102-3/+3
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* provision: Add missing dependency on pyldb-util.Jelmer Vernooij2011-02-091-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Feb 9 13:55:10 CET 2011 on sn-devel-104
* s4-python Don't force "bin" into the python sys.pathAndrew Bartlett2011-02-071-3/+3
| | | | | | | | | This patch uses the fact that dyn_PYTHONDIR and dyn_PYTHONARCHDIR is now set properly at all times, incluidng for installed and build-directory binaries. So we don't need to make assumptions about bin being magic any more. Andrew Bartlett
* s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett2011-02-072-4/+8
| | | | | | | | | | | | | | We now have a reliable way to know the current location of the templates: dyn_SETUPDIR, which is updated for both the in-build and installed binaries. This replaces the function arguments and the distributed resolution of the setup directory with one 'global' function (imported as required). This also removes the ability to specify an alternate setup directory on the command line, as this was rarely if ever used and never tested. Andrew Bartlett
* s4-loadparm: removed "setup directory" optionAndrew Tridgell2011-02-072-16/+3
| | | | | | | the correct setup directory is known at both build time and install time using dyn_SETUPDIR, so we no longer have any need to override it Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* param: Load web service by default.Jelmer Vernooij2011-01-171-1/+1
|