summaryrefslogtreecommitdiffstats
path: root/source4/param/provision.c
Commit message (Collapse)AuthorAgeFilesLines
* pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij2011-08-071-2/+2
|
* 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-071-4/+0
| | | | | | | | | | | | | | 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-071-10/+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>
* 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 Refactor secrets code to not require an event context.Andrew Bartlett2010-10-111-1/+1
| | | | | | | | 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
* s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij2010-09-221-1/+1
|
* s4-param: Check type when converting python object to lp_ctx, fix someJelmer Vernooij2010-09-221-2/+7
| | | | memory leaks.
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-3/+3
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-161-1/+0
| | | | | | | | | This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
* s4:provision Allow a specific prefix map to be loaded into a new schema ↵Andrew Bartlett2010-06-151-1/+7
| | | | | | | | | | | | provision This allows the prefixMap from a DRS server to be used when loading the schema from the local files. This helps us then import other schema with this map in place. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
* s4-python: Remove cruft to deal with static python modules, which are noJelmer Vernooij2010-05-311-3/+0
| | | | longer supported.
* s4-provision: set "setup_dir" to the right pathAndrew Tridgell2010-04-211-2/+8
| | | | | | | | This needs to cope with both running from the build tree or running from the install tree. We use the provision.smb.conf.dc as a sentinal to detect if we are in the build tree. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: fix a typoKamen Mazdrashki2010-04-121-1/+1
|
* pynet: Create a net class.Jelmer Vernooij2010-04-081-1/+1
|
* s4:provision.c - "provsion_store_self_join" - don't set the realm if it's NULLMatthias Dieter Wallnöfer2010-02-151-2/+4
| | | | | | The realm can be NULL when this function is called by "libnet_Join_primary_domain". This seems to be a valid value since "libnet_JoinDomain" is allowed to return an empty realm if we are not in a ADS domain.
* s4: Fix a few warnings.Jelmer Vernooij2010-01-211-1/+1
|
* provision/pyldb: Avoid linking in static python ldb module.Jelmer Vernooij2009-12-211-3/+28
|
* s4:provision Add C binding to get at the generate schemaAndrew Bartlett2009-11-121-0/+61
| | | | This will allow us to do local tests against that schema
* s4-python: we need to include Python.h firstAndrew Tridgell2009-10-231-1/+1
| | | | | If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes.
* s4:param Remove duplicate argument to python provisionAndrew Bartlett2009-10-061-2/+0
|
* Check for PyString_FromString being NULL.Jelmer Vernooij2009-09-231-4/+10
|
* provision: Avoid linking in multiple copies of security python module.Jelmer Vernooij2009-09-231-8/+29
|
* s4:provision Use code to store domain join in 'net join' as wellAndrew Bartlett2009-09-201-1/+130
| | | | | | | | This ensures we only have one codepath to store the secret, and therefore that we have a single choke point for setting the saltPrincipal, which we were previously skipping. Andrew Bartlett
* allow setting of the debug level in python from CAndrew Tridgell2009-09-031-1/+4
|
* Allow 'net vampire' to work without an existing smb.confAndrew Bartlett2009-03-041-2/+6
| | | | | | | Now the provision can generate one based on the detected settings from the target domain. Andrew Bartlett
* Add header for pyparam.Jelmer Vernooij2008-12-221-1/+1
|
* Fix more tests.Jelmer Vernooij2008-12-191-2/+2
|
* Include the smbconf parameter to the provisionAndrew Bartlett2008-04-141-1/+3
| | | | | | | Otherwise this fails, if the targetdir is not specified Andrew Bartlett (This used to be commit cd2d3d1c7a0aad7beb167459276c012c7a6d2e88)
* Don't specify the ntds_guid to the C -> python provision interfaceAndrew Bartlett2008-04-111-2/+0
| | | | | | | This paramter was not used anyway. Andrew Bartlett (This used to be commit 6875e6823f7a1fe9066bff4dffcab658a17d3b8c)
* Fix merge errors on C provision interface after jelmer's good work.Andrew Bartlett2008-04-111-4/+14
|\ | | | | | | | | | | | | | | | | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet Conflicts: source/torture/local/torture.c (This used to be commit 5bf1c89cf8af08fbcf4f5089079920840daad7b8)
| * Return SAM ldb context and loadparm context as part of C provisionJelmer Vernooij2008-04-111-0/+7
| | | | | | | | | | result. (This used to be commit a3e1b835656470f1a80f0fa69f53a9df849baee3)
| * Add infrastructure for returning ProvisionResult in C provision code.Jelmer Vernooij2008-04-101-4/+7
| | | | | | | | (This used to be commit 98c3d34eb233be284e8c8994cca337be25c72968)
* | Remove dns_name elementAndrew Bartlett2008-04-091-2/+2
|/ | | | | | | This is only used in the DEBUG() message, so let's remove it. Andrew Bartlett (This used to be commit 5ebb64bdad7e80ee81d6b9d84d77c03fb9237eee)
* Move provision C bindings to param/.Jelmer Vernooij2008-04-091-0/+129
(This used to be commit 7d45ed0c3ebc57f7131603f768f8e022d7139530)