summaryrefslogtreecommitdiff
path: root/source4/param
AgeCommit message (Collapse)AuthorFilesLines
2010-06-29s4:secrets Ensure secrets.ldb uses the same hooks as the rest of SambaAndrew Bartlett1-40/+3
This ensures that, for example, the utf8 functions are the same, the GUID handler is the same and the NOSYNC flag is applied. Andrew Bartlett
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-20testparm: Check netbios name and workgroup characters and length.Jelmer Vernooij1-2/+2
2010-06-20pyparam: Support Loadparm.get(p, "global")Jelmer Vernooij1-52/+52
2010-06-20pyparam: Allow specifying None as section name to LoadparmContext.get()Jelmer Vernooij1-1/+1
to mean default section.
2010-06-20s4-python: Add LoadparmService.dump()Jelmer Vernooij1-0/+40
2010-06-20s4-python: Implement LoadParm.dump().Jelmer Vernooij1-0/+23
2010-06-19python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij1-2/+3
setUp methods are called, fix formatting.
2010-06-19pyglue: Trim dependencies.Jelmer Vernooij1-1/+1
2010-06-18s4-waf: Don't include pytalloc when embedding python.Jelmer Vernooij1-1/+1
2010-06-18s4: Build more python convenience files as subsystems rather than as python ↵Jelmer Vernooij1-4/+6
modules.
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2-2/+1
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 Bartlett2-2/+9
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-06-13param/share: Use static prototypes.Jelmer Vernooij2-2/+15
2010-05-31s4-python: Remove cruft to deal with static python modules, which are noJelmer Vernooij1-3/+0
longer supported.
2010-05-28s4:param/loadparm.c - fix "asprintf" callMatthias Dieter Wallnöfer1-2/+3
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij2-3/+2
2010-05-18s4:provision Remove unused 'account_name' parameterAndrew Bartlett1-1/+0
The python glue code didn't even de-reference this element in the structure. Andrew Bartlett
2010-04-29s4: remove unused references to swatStefan Metzmacher2-5/+0
metze
2010-04-27s4-param: added a "spn update command" optionAndrew Tridgell2-0/+5
used by SPN update code
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-19s4-param: set SMB_CONF_PATH when we load a smb.confAndrew Tridgell1-0/+6
this is inherited by child python processes, to ensure they get the right smb.conf if they don't have one specified. Fixes bug 7301 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-12lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf ↵Stefan Metzmacher1-1/+1
system does metze
2010-04-12s4:param/wscript_build: 'dl' is provides via 'replace'Stefan Metzmacher1-1/+1
metze
2010-04-12s4: fix a typoKamen Mazdrashki1-1/+1
2010-04-08pynet: Create a net class.Jelmer Vernooij3-5/+5
2010-04-06s4:param/secrets.c - add some "char *" castsMatthias Dieter Wallnöfer1-3/+3
Also this quiets some warnings.
2010-04-06Add C-based Samba-specific subclass of Ldb.Jelmer Vernooij1-0/+2
2010-04-06s4-waf: fixed some deps now we don't auto-include tevent and replaceAndrew Tridgell1-1/+1
this is preparation for being able to use system versions of these libraries
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06s4-waf: enable the pc_files in the build rulesAndrew Tridgell1-1/+1
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-5/+1
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+62
2010-03-29pytalloc: allow for using a system libtalloc-dev with pytallocAndrew Tridgell2-2/+2
When we have a system talloc library, we still need to grab pytalloc.h from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise we'll get the in-tree talloc.h which may not be compatible with the system talloc.h So we need to give the path to pytalloc.h
2010-03-18charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell3-11/+18
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values.
2010-02-26s4-dns: use a loadparm list for samba_runcmd() commandsAndrew Tridgell2-8/+8
This allows commands with multiple arguments and quoting to be used, while still avoiding running a shell (and this having shell expansion problems)
2010-02-26s4-param: added 'nsupdate command' option, default to /usr/bin/nsupdate -gAndrew Tridgell1-0/+4
2010-02-23s4-param: added "dns update command" smb.conf optionAndrew Tridgell2-0/+5
defaults to SBINDIR/samba_dnsupdate This command will do periodic dynamic DNS updates using TSIG-GSS
2010-02-22Various source4 spelling fixes.Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-19s4:winbind Make the 'no SID found' message even more detailedAndrew Bartlett1-3/+7
Now we give the user a clue as to what may be wrong, and the file path that we could not find the domain SID in. Andrew Bartlett
2010-02-18s4:param Modify secrets_get_domain_sid to give more useful errorsAndrew Bartlett2-28/+21
This also moves the calls to secrets_get_domain_sid back into winbind_task_init(), so that we can terminate with a much more detailed error message. (The previous message was simply NT_STATUS_CANT_ACCESS_DOMAIN_INFO). Andrew Bartlett
2010-02-17s4-param: added "rndc command" smb.conf optionAndrew Tridgell2-0/+5
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-02-13s4:loadparm.c - prevent memory leaksMatthias Dieter Wallnöfer1-0/+3
If a "logfile" was already set, free the content up before setting a new location. This can happen on a loadparm reload.
2010-02-13s4:loadparm.c - the logfile parameter value needs to be duplicatedMatthias Dieter Wallnöfer1-1/+1
Otherwise the "logfile" pointer tracks all changes of "pszParmValue" which content is only temporal. This was the cause of bug #6212.
2010-02-11s4-dns: added a dns update taskAndrew Tridgell1-1/+1
This task watches for changes in the list of DCs, and creates a bind9 formatted file that grants update permission to all DCs, plus to the administration, and machines update for their own names. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-09s4:Remove "Py_RETURN_NONE" compatibility codeMatthias Dieter Wallnöfer1-4/+0
This was needed only by Python 2.3 which we no longer support.
2010-01-21s4: Fix a few warnings.Jelmer Vernooij1-1/+1
2009-12-22param: Fix build on systems without ldb installed.Jelmer Vernooij1-1/+1
2009-12-21provision/pyldb: Avoid linking in static python ldb module.Jelmer Vernooij2-4/+29