summaryrefslogtreecommitdiff
path: root/source4/param/provision.c
AgeCommit message (Collapse)AuthorFilesLines
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)