summaryrefslogtreecommitdiff
path: root/source4/param
AgeCommit message (Collapse)AuthorFilesLines
2011-08-07pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij1-2/+2
2011-07-28s4-param: Fix object names for python objects PyLoadparm and PyLoadparmContextAmitay Isaacs1-2/+2
Use the object names <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-26shares: Remove dependencies on share modules.Jelmer Vernooij1-1/+1
The build system will already pull these in - if necessary.
2011-07-26libsamba-util: Build in libbitmap.Jelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jul 26 14:45:27 CEST 2011 on sn-devel-104
2011-07-21s4-param: use "state directory" and "cache directory" optionsBjörn Baumbach1-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>
2011-07-20s4-param Handle P_CHAR and P_BOOLREV in pyparamAndrew Bartlett1-0/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-14s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett1-2/+26
2011-07-14s4-param cope with parameters of type charAndrew Bartlett1-0/+12
2011-07-12s4:param: add "state dir" and "cache dir" optionsStefan Metzmacher2-0/+76
metze
2011-07-08lib/param: Merge struct loadparm_service into commonAndrew Bartlett2-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
2011-07-08param: Move per-share parameters into a seperate file, to share with s3Andrew Bartlett2-37/+5
This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett
2011-07-08s4-param Remove offset != -1 checksAndrew Bartlett1-7/+2
No offset values are set to -1 in the parameter table Andrew Bartlett
2011-07-08s4-param change to struct bitmap to match s3-paramAndrew Bartlett2-16/+17
2011-07-08s4-param Also check the p_class matches when comparing offsetAndrew Bartlett1-1/+3
2011-07-08param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett3-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
2011-07-02s4-param Remove unused 'announce version'Andrew Bartlett1-10/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jul 2 05:42:37 CEST 2011 on sn-devel-104
2011-07-02s3-param Generate parameter tablesAndrew Bartlett1-2/+2
2011-07-02param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett1-1/+1
Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett
2011-06-29s4-param Handle BOOLREV parametersAndrew Bartlett1-0/+16
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 08:57:27 CEST 2011 on sn-devel-104
2011-06-29param: Merge param headers into lib/param/loadparm.hAndrew Bartlett1-101/+0
This defines a common table format, so we can in future define a common table. Andrew Bartlett
2011-06-29s4-param Match source3's param: use C99 initialisersAndrew Bartlett1-159/+1090
This makes it much easier to compare the parameter sets. Andrew Bartlett
2011-06-29s4-param Merge struct parm_struct with version from source3/Andrew Bartlett3-14/+15
2011-06-29param: Merge struct parm_struct definitionsAndrew Bartlett2-12/+13
This will allow the parameter tables to be shared between source3 and source4. Andrew Bartlett
2011-06-24param: Remove remaining references to announce as and announce versionAndrew Bartlett1-5/+0
2011-06-23param: Remove "announce as" parameterAndrew Bartlett2-18/+0
2011-06-23lib/util/charset: Remove 'display charset'Andrew Bartlett2-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
2011-06-21s4-param Autogenerate the loadparm_globals and loadparm_service tablesAndrew Bartlett2-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
2011-06-21lib/util: Use common d_printf() in the whole codebaseAndrew Bartlett1-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
2011-06-09s4-param add const to loadparm_init_s3 s3_fnsAndrew Bartlett1-2/+2
2011-06-07s4-auth Move default auth methods back into auth.cAndrew Bartlett1-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
2011-06-06s3-s4-param: Add hooks for parametric options in the s3/s4 glue layerAndrew Bartlett1-0/+5
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 6 10:48:53 CEST 2011 on sn-devel-104
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2-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
2011-06-06s4-param Remove 'modules dir'Andrew Bartlett2-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
2011-06-06lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett1-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
2011-06-06s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett3-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
2011-06-06s4-param make lpcfg_sam_name() cope with PDC and BDC rolesAndrew Bartlett1-1/+2
These roles (ROLE_DOMAIN_CONTROLLER is ROLE_DOMAIN_BDC) will come in from the s3 loadparm. Andrew Bartlett
2011-06-06s4-param Remove 'sid generator'Andrew Bartlett2-15/+0
This was only used by the Fedora DS backend for Samba4. We agreed to no longer support external LDAP backends. Andrew Bartlett
2011-06-06s4-param Remove 'idmap database'Andrew Bartlett1-4/+0
This is now just idmap.ldb in the private dir, which remains.
2011-06-06s4-param Remove 'secrets database' parameterAndrew Bartlett2-5/+1
This is now just secrets.ldb in the private dir, which remains.
2011-06-06s4-param Remove 'sam database' parameterAndrew Bartlett2-4/+9
This now just relies on the private dir parameter, which remains. Andrew Bartlett
2011-06-06s4-ipv6: changed the default "socket address"Andrew Tridgell1-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.
2011-05-31libcli/util Remove ntstatus_check_dos_mappingAndrew Bartlett1-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
2011-05-08s4-param cope with doulbe-parsing of -foo and +foo listsAndrew Bartlett1-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
2011-05-08s4-param Don't set variables such as the debuglevel unless globalAndrew Bartlett1-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
2011-05-08libds: moved enum security_types to a common headerAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett1-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
2011-05-03s4-param Rename secrets_init() -> randseed_init()Andrew Bartlett2-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
2011-05-03Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett1-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
2011-05-03s4-param: use new roles.hAndrew Tridgell1-5/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett2-2/+2
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett