summaryrefslogtreecommitdiffstats
path: root/source4/param
Commit message (Collapse)AuthorAgeFilesLines
* s4-build: use @PACKAGE_VERSION@ in s4 pc.in filesAndrew Tridgell2010-08-091-1/+1
| | | | this gets replaced by vnum from the build rule
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-1610-129/+129
| | | | | | | 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-loadparm: change lp_*() to lpcfg_*() and provide s3 compatibility lp_*()Andrew Tridgell2010-07-162-553/+623
| | | | | | | | | | | | | | | This patch changes all Samba4 loadparm functions that take a loadparm_context or a loadparm_service structure to use a lpcfg_*() prefix. It then creates lp_*() functions which are wrappers around the lpcfg_*() functions. This should allow us to mix Samba3 and Samba4 code which uses loadparm calls. This first patch just makes the manual changes to the core loadparm code. The tree will not build with just this patch. The next patch replaces all of the callers, and was generated automatically with a perl script. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:secrets Ensure secrets.ldb uses the same hooks as the rest of SambaAndrew Bartlett2010-06-291-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
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-241-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>
* testparm: Check netbios name and workgroup characters and length.Jelmer Vernooij2010-06-201-2/+2
|
* pyparam: Support Loadparm.get(p, "global")Jelmer Vernooij2010-06-201-52/+52
|
* pyparam: Allow specifying None as section name to LoadparmContext.get()Jelmer Vernooij2010-06-201-1/+1
| | | | to mean default section.
* s4-python: Add LoadparmService.dump()Jelmer Vernooij2010-06-201-0/+40
|
* s4-python: Implement LoadParm.dump().Jelmer Vernooij2010-06-201-0/+23
|
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-191-2/+3
| | | | setUp methods are called, fix formatting.
* pyglue: Trim dependencies.Jelmer Vernooij2010-06-191-1/+1
|
* s4-waf: Don't include pytalloc when embedding python.Jelmer Vernooij2010-06-181-1/+1
|
* s4: Build more python convenience files as subsystems rather than as python ↵Jelmer Vernooij2010-06-181-4/+6
| | | | modules.
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-162-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>
* s4:provision Allow a specific prefix map to be loaded into a new schema ↵Andrew Bartlett2010-06-152-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>
* param/share: Use static prototypes.Jelmer Vernooij2010-06-132-2/+15
|
* s4-python: Remove cruft to deal with static python modules, which are noJelmer Vernooij2010-05-311-3/+0
| | | | longer supported.
* s4:param/loadparm.c - fix "asprintf" callMatthias Dieter Wallnöfer2010-05-281-2/+3
|
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-182-3/+2
|
* s4:provision Remove unused 'account_name' parameterAndrew Bartlett2010-05-181-1/+0
| | | | | | | The python glue code didn't even de-reference this element in the structure. Andrew Bartlett
* s4: remove unused references to swatStefan Metzmacher2010-04-292-5/+0
| | | | metze
* s4-param: added a "spn update command" optionAndrew Tridgell2010-04-272-0/+5
| | | | used by SPN update code
* 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-param: set SMB_CONF_PATH when we load a smb.confAndrew Tridgell2010-04-191-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>
* lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf ↵Stefan Metzmacher2010-04-121-1/+1
| | | | | | system does metze
* s4:param/wscript_build: 'dl' is provides via 'replace'Stefan Metzmacher2010-04-121-1/+1
| | | | metze
* s4: fix a typoKamen Mazdrashki2010-04-121-1/+1
|
* pynet: Create a net class.Jelmer Vernooij2010-04-083-5/+5
|
* s4:param/secrets.c - add some "char *" castsMatthias Dieter Wallnöfer2010-04-061-3/+3
| | | | Also this quiets some warnings.
* Add C-based Samba-specific subclass of Ldb.Jelmer Vernooij2010-04-061-0/+2
|
* s4-waf: fixed some deps now we don't auto-include tevent and replaceAndrew Tridgell2010-04-061-1/+1
| | | | | this is preparation for being able to use system versions of these libraries
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* s4-waf: enable the pc_files in the build rulesAndrew Tridgell2010-04-061-1/+1
|
* build: waf quicktest nearly worksAndrew Tridgell2010-04-061-5/+1
| | | | | Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-061-0/+62
|
* pytalloc: allow for using a system libtalloc-dev with pytallocAndrew Tridgell2010-03-292-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
* charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell2010-03-183-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.
* s4-dns: use a loadparm list for samba_runcmd() commandsAndrew Tridgell2010-02-262-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)
* s4-param: added 'nsupdate command' option, default to /usr/bin/nsupdate -gAndrew Tridgell2010-02-261-0/+4
|
* s4-param: added "dns update command" smb.conf optionAndrew Tridgell2010-02-232-0/+5
| | | | | | defaults to SBINDIR/samba_dnsupdate This command will do periodic dynamic DNS updates using TSIG-GSS
* Various source4 spelling fixes.Brad Hards2010-02-221-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4:winbind Make the 'no SID found' message even more detailedAndrew Bartlett2010-02-191-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
* s4:param Modify secrets_get_domain_sid to give more useful errorsAndrew Bartlett2010-02-182-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
* s4-param: added "rndc command" smb.conf optionAndrew Tridgell2010-02-172-0/+5
|
* 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:loadparm.c - prevent memory leaksMatthias Dieter Wallnöfer2010-02-131-0/+3
| | | | | If a "logfile" was already set, free the content up before setting a new location. This can happen on a loadparm reload.
* s4:loadparm.c - the logfile parameter value needs to be duplicatedMatthias Dieter Wallnöfer2010-02-131-1/+1
| | | | | Otherwise the "logfile" pointer tracks all changes of "pszParmValue" which content is only temporal. This was the cause of bug #6212.
* s4-dns: added a dns update taskAndrew Tridgell2010-02-111-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>
* s4:Remove "Py_RETURN_NONE" compatibility codeMatthias Dieter Wallnöfer2010-02-091-4/+0
| | | | This was needed only by Python 2.3 which we no longer support.