summaryrefslogtreecommitdiff
path: root/source4/param/provision.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-14Use public pytalloc header file.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 14 17:18:46 CEST 2011 on sn-devel-104
2011-08-10pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij1-1/+1
2011-08-07pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij1-2/+2
2011-02-07s4-python Don't force "bin" into the python sys.pathAndrew Bartlett1-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
2011-02-07s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett1-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
2011-02-07s4-loadparm: removed "setup directory" optionAndrew Tridgell1-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>
2010-12-21s4-provision: removed an incorrect debug messageAndrew Tridgell1-2/+0
this is now used as part of the main join
2010-12-12ldb:pyldb.h - revert to the previous header behaviourMatthias Dieter Wallnöfer1-1/+3
"ldb_private.h" is private and therefore might not always be available.
2010-12-12s4:param/provision.c - optimise includesMatthias Dieter Wallnöfer1-9/+1
2010-10-11s4-param Refactor secrets code to not require an event context.Andrew Bartlett1-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
2010-09-22s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij1-1/+1
2010-09-22s4-param: Check type when converting python object to lp_ctx, fix someJelmer Vernooij1-2/+7
memory leaks.
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-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>
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher1-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>
2010-06-15s4:provision Allow a specific prefix map to be loaded into a new schema ↵Andrew Bartlett1-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>
2010-05-31s4-python: Remove cruft to deal with static python modules, which are noJelmer Vernooij1-3/+0
longer supported.
2010-04-21s4-provision: set "setup_dir" to the right pathAndrew Tridgell1-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>
2010-04-12s4: fix a typoKamen Mazdrashki1-1/+1
2010-04-08pynet: Create a net class.Jelmer Vernooij1-1/+1
2010-02-15s4:provision.c - "provsion_store_self_join" - don't set the realm if it's NULLMatthias Dieter Wallnöfer1-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.
2010-01-21s4: Fix a few warnings.Jelmer Vernooij1-1/+1
2009-12-21provision/pyldb: Avoid linking in static python ldb module.Jelmer Vernooij1-3/+28
2009-11-12s4:provision Add C binding to get at the generate schemaAndrew Bartlett1-0/+61
This will allow us to do local tests against that schema
2009-10-23s4-python: we need to include Python.h firstAndrew Tridgell1-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.
2009-10-06s4:param Remove duplicate argument to python provisionAndrew Bartlett1-2/+0
2009-09-23Check for PyString_FromString being NULL.Jelmer Vernooij1-4/+10
2009-09-23provision: Avoid linking in multiple copies of security python module.Jelmer Vernooij1-8/+29
2009-09-20s4:provision Use code to store domain join in 'net join' as wellAndrew Bartlett1-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
2009-09-03allow setting of the debug level in python from CAndrew Tridgell1-1/+4
2009-03-04Allow 'net vampire' to work without an existing smb.confAndrew Bartlett1-2/+6
Now the provision can generate one based on the detected settings from the target domain. Andrew Bartlett
2008-12-22Add header for pyparam.Jelmer Vernooij1-1/+1
2008-12-19Fix more tests.Jelmer Vernooij1-2/+2
2008-04-14Include the smbconf parameter to the provisionAndrew Bartlett1-1/+3
Otherwise this fails, if the targetdir is not specified Andrew Bartlett (This used to be commit cd2d3d1c7a0aad7beb167459276c012c7a6d2e88)
2008-04-11Don't specify the ntds_guid to the C -> python provision interfaceAndrew Bartlett1-2/+0
This paramter was not used anyway. Andrew Bartlett (This used to be commit 6875e6823f7a1fe9066bff4dffcab658a17d3b8c)
2008-04-11Fix merge errors on C provision interface after jelmer's good work.Andrew Bartlett1-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)
2008-04-11Return SAM ldb context and loadparm context as part of C provisionJelmer Vernooij1-0/+7
result. (This used to be commit a3e1b835656470f1a80f0fa69f53a9df849baee3)
2008-04-10Add infrastructure for returning ProvisionResult in C provision code.Jelmer Vernooij1-4/+7
(This used to be commit 98c3d34eb233be284e8c8994cca337be25c72968)
2008-04-09Remove dns_name elementAndrew Bartlett1-2/+2
This is only used in the DEBUG() message, so let's remove it. Andrew Bartlett (This used to be commit 5ebb64bdad7e80ee81d6b9d84d77c03fb9237eee)
2008-04-09Move provision C bindings to param/.Jelmer Vernooij1-0/+129
(This used to be commit 7d45ed0c3ebc57f7131603f768f8e022d7139530)