summaryrefslogtreecommitdiffstats
path: root/source4/param
Commit message (Collapse)AuthorAgeFilesLines
* s4 param: change messaging directory name from messaging to msgMatthieu Patou2010-10-151-1/+1
| | | | | | | | | | | | This saves 6 chars and as in some installation users tends to install samba in directory with very long name they have a problem with the sockets. It will also ease the pain on buildfarms as we tend to have very long environnement name (ie. vampire_dc) in path that are already quite long leading also to errors on unix socket manipulation. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Oct 15 08:15:56 UTC 2010 on sn-devel-104
* s4-param Refactor secrets code to not require an event context.Andrew Bartlett2010-10-113-7/+4
| | | | | | | | 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
* wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij2010-10-101-2/+2
|
* ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not ↵Jelmer Vernooij2010-10-101-1/+1
| | | | samdb-specific.
* secrets: Add missing dependency on ldbsamba.Jelmer Vernooij2010-10-101-1/+1
|
* wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij2010-10-101-2/+2
| | | | | | | | | applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
* s4-kerberos Move 'set key into keytab' code out of credentials.Andrew Bartlett2010-09-242-0/+29
| | | | | | | | This code never really belonged in the credentials layer, and is easier done with direct access to the ldb_message that is in secrets.ldb. Andrew Bartlett
* s4/eventlog6: Build and hook EventLog6 RPC endpont mapper and idlAnatoliy Atanasov2010-09-231-1/+1
|
* 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-222-3/+30
| | | | memory leaks.
* s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2010-09-211-57/+0
|
* s4-secrets: fixed shadowed variable warningAndrew Tridgell2010-09-151-4/+4
| | | | we already have a 'v' in scope
* s4-secrets: fetch secure channel type with domain SIDAndrew Tridgell2010-09-152-1/+17
| | | | | | The secure channel type is needed to work out what DC to connect to Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth: when we are a DC enable winbind authAndrew Tridgell2010-09-151-1/+3
| | | | | | As a RODC we need to forward some auth requests to a writable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* param: Add prototype for lpcfg_private_dir(), used by openchange.Jelmer Vernooij2010-09-141-0/+1
|
* param: Only include param_proto.h for Samba builds, provide thoseJelmer Vernooij2010-09-132-1/+7
| | | | prototypes necessary for external users (OpenChange) manually.
* s4:param/secrets.c - reorganise importsMatthias Dieter Wallnöfer2010-09-111-4/+0
|
* s4-param: removed the lp_ varients of the functionsAndrew Tridgell2010-09-111-18/+9
| | | | | these made debugging much harder. We should replace these with generated macros
* s4-param: move back to auto-generation of loadparm prototypesAndrew Tridgell2010-09-112-158/+4
|
* 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
|