summaryrefslogtreecommitdiff
path: root/source4/param
Commit message (Collapse)AuthorAgeFilesLines
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-171-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 (cherry picked from commit 14750139639b3531e57a3ca3f9e481d6e458dc06) (cherry picked from commit a7f39847ebf29b821aab2570a2f2bd841a28e836)
* 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
|
* s4-provision: removed an incorrect debug messageAndrew Tridgell2010-12-211-2/+0
| | | | this is now used as part of the main join
* ldb:pyldb.h - revert to the previous header behaviourMatthias Dieter Wallnöfer2010-12-121-1/+3
| | | | "ldb_private.h" is private and therefore might not always be available.
* s4:param/provision.c - optimise includesMatthias Dieter Wallnöfer2010-12-121-9/+1
|
* s4:param/loadparm.c - fix a warning by introducing a "const" castMatthias Dieter Wallnöfer2010-12-121-1/+1
|
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-112-2/+2
| | | | | | | | This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
* s4-client Use NTLMv2 by default in the Samba4 client.Andrew Bartlett2010-12-091-0/+1
|
* s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell2010-12-081-1/+1
| | | | | | | | this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
* s4-param Allow +foo syntax in smb.conf list parsingAndrew Bartlett2010-12-083-11/+51
| | | | | | | | | | The idea here is to allow an smb.conf file to work from the defaults, rather than override them. For example, 'server services = +openchange'. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 8 09:39:06 CET 2010 on sn-devel-104
* pyparam: Use talloc.Object.Jelmer Vernooij2010-12-011-2/+6
|
* s4:param/pyparam_util.c - remove unused includeMatthias Dieter Wallnöfer2010-11-291-1/+0
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 29 12:56:12 CET 2010 on sn-devel-104
* s4-loadparm: use loadparm_init_global() instead of loadparm_init()Andrew Tridgell2010-11-292-22/+15
| | | | | | | this prevents us having two lp_ctx contexts in these tools which leads to bizarre behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-loadparm: added loadparm_init_global()Andrew Tridgell2010-11-292-0/+28
| | | | | | | This ensures we use the same loadparm_context in all our command line tools. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:param/secrets.h - fix "enum netr_SchannelType" include correctlyMatthias Dieter Wallnöfer2010-11-271-1/+2
|
* s4-dynconfig: override more paths when running from the build directoryAndrew Tridgell2010-11-241-3/+3
| | | | | this ensures consistency between binaries and scripts when testing as a developer
* Avoid the use of PyAPI_DATA, which is for internal Python API's.Arnaud Faucher2010-11-221-2/+2
| | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
* s4-loadparm: set debuglevel and logfile in tablesAndrew Tridgell2010-11-171-0/+5
| | | | | | this allows the debug level and logfile to be queried from python using lp.get(). Otheriwse they are set only in the globals, and not in the tables.
* s4-loadparm: fixed a memory leak in handle_realm()Andrew Tridgell2010-11-171-0/+3
| | | | we need to free the lowercase and uppercase varients
* s4-loadparm: fix the FLAG_DEFAULT settings on specially handled parametersAndrew Tridgell2010-11-111-3/+8
| | | | | | | | | | parameters with special handlers also need to clear the FLAG_DEFAULT flag when set Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 11 03:39:23 UTC 2010 on sn-devel-104
* s4-loadparm: fixed dumping of non-default parms with testparmAndrew Tridgell2010-11-111-13/+33
| | | | | | | | | when using testparm without -v we should only dump non-default parameters. This patch fixes up the handling of the FLAG_DEFAULT flag in loadparm to correctly mark parameters as default or not, including parametric options Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-server: move the creation of the IPC$ share into ntvfsAndrew Tridgell2010-11-111-36/+0
| | | | | | | | | | | | | | | the IPC$ share is only used by the ntvfs backends, and doesn't need to be created on every load of smb.conf. This fixes a problem with testparm showing the ipc$ share when it isn't defined in smb.conf. This also removes the admin$ share, which really shouldn't be on by default. The admin$ share is used for remote software installation, and normally exposes the c:\windows directory on a windows server. That makes no sense on Samba. If for some reason a admin$ share is needed, then the admin can create one as usual. Exposing /tmp via admin$ by default seems like a bad idea. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldbsamba: Lowercase library name.Jelmer Vernooij2010-11-071-1/+1
|
* s4-modules: get rid of the remaining static prototypes for modulesAndrew Tridgell2010-11-011-2/+2
| | | | the waf build now generates the prototype declarations for us
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-69/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* s4-build: removed some unnecessary dependenciesAndrew Tridgell2010-10-301-1/+1
| | | | based on running waf --symbol-check
* s4-tdb: make tdb-wrap into a private libraryAndrew Tridgell2010-10-301-1/+1
| | | | this prevents double linking of the tdb wrap code
* s4-ldbwrap: split ldb-wrap out from the LDBSAMBA subsystemAndrew Tridgell2010-10-301-2/+2
| | | | | | | ldb-wrap and the ldif-handlers are not really related, and this allows us to remove another dependency loop Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-modules: remove LD_SAMBA_MODULE_PATHAndrew Tridgell2010-10-301-2/+1
| | | | | | | this isn't needed now that we automatically get the module path right in our build and install trees Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* talloc: change pytalloc-util to be a public library.Jelmer Vernooij2010-10-261-2/+2
|
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-6/+6
|
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-6/+6
|
* s4-param: added a libshares grouping libraryAndrew Tridgell2010-10-211-0/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4 param: change messaging directory name from messaging to msgMatthieu Patou2010-10-151-1/+1
| | | | | | | | | | | | This saves 6 chars and as in some installation users tends to install samba in directory with very long name they have a problem with the sockets. It will also ease the pain on buildfarms as we tend to have very long environnement name (ie. vampire_dc) in path that are already quite long leading also to errors on unix socket manipulation. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Oct 15 08:15:56 UTC 2010 on sn-devel-104
* s4-param Refactor secrets code to not require an event context.Andrew Bartlett2010-10-113-7/+4
| | | | | | | | A new event context is constructed by LDB when required for secrets.ldb This will be essentially unused, as LDB on TDB will only trigger 'fake' events, and blocks on transactions and lock operations anyway. Andrew Bartlett
* wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij2010-10-101-2/+2
|
* ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not ↵Jelmer Vernooij2010-10-101-1/+1
| | | | samdb-specific.
* secrets: Add missing dependency on ldbsamba.Jelmer Vernooij2010-10-101-1/+1
|
* wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij2010-10-101-2/+2
| | | | | | | | | applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104