summaryrefslogtreecommitdiffstats
path: root/source4/param
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-dynconfig: override more paths when running from the build directoryAndrew Tridgell2010-11-241-3/+3
| | | | | this ensures consistency between binaries and scripts when testing as a developer
* Avoid the use of PyAPI_DATA, which is for internal Python API's.Arnaud Faucher2010-11-221-2/+2
| | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
* s4-loadparm: set debuglevel and logfile in tablesAndrew Tridgell2010-11-171-0/+5
| | | | | | this allows the debug level and logfile to be queried from python using lp.get(). Otheriwse they are set only in the globals, and not in the tables.
* s4-loadparm: fixed a memory leak in handle_realm()Andrew Tridgell2010-11-171-0/+3
| | | | we need to free the lowercase and uppercase varients
* s4-loadparm: fix the FLAG_DEFAULT settings on specially handled parametersAndrew Tridgell2010-11-111-3/+8
| | | | | | | | | | parameters with special handlers also need to clear the FLAG_DEFAULT flag when set Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 11 03:39:23 UTC 2010 on sn-devel-104
* s4-loadparm: fixed dumping of non-default parms with testparmAndrew Tridgell2010-11-111-13/+33
| | | | | | | | | when using testparm without -v we should only dump non-default parameters. This patch fixes up the handling of the FLAG_DEFAULT flag in loadparm to correctly mark parameters as default or not, including parametric options Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-server: move the creation of the IPC$ share into ntvfsAndrew Tridgell2010-11-111-36/+0
| | | | | | | | | | | | | | | the IPC$ share is only used by the ntvfs backends, and doesn't need to be created on every load of smb.conf. This fixes a problem with testparm showing the ipc$ share when it isn't defined in smb.conf. This also removes the admin$ share, which really shouldn't be on by default. The admin$ share is used for remote software installation, and normally exposes the c:\windows directory on a windows server. That makes no sense on Samba. If for some reason a admin$ share is needed, then the admin can create one as usual. Exposing /tmp via admin$ by default seems like a bad idea. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldbsamba: Lowercase library name.Jelmer Vernooij2010-11-071-1/+1
|
* s4-modules: get rid of the remaining static prototypes for modulesAndrew Tridgell2010-11-011-2/+2
| | | | the waf build now generates the prototype declarations for us
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-69/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* s4-build: removed some unnecessary dependenciesAndrew Tridgell2010-10-301-1/+1
| | | | based on running waf --symbol-check
* s4-tdb: make tdb-wrap into a private libraryAndrew Tridgell2010-10-301-1/+1
| | | | this prevents double linking of the tdb wrap code
* s4-ldbwrap: split ldb-wrap out from the LDBSAMBA subsystemAndrew Tridgell2010-10-301-2/+2
| | | | | | | ldb-wrap and the ldif-handlers are not really related, and this allows us to remove another dependency loop Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-modules: remove LD_SAMBA_MODULE_PATHAndrew Tridgell2010-10-301-2/+1
| | | | | | | this isn't needed now that we automatically get the module path right in our build and install trees Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* talloc: change pytalloc-util to be a public library.Jelmer Vernooij2010-10-261-2/+2
|
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-6/+6
|
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-6/+6
|
* s4-param: added a libshares grouping libraryAndrew Tridgell2010-10-211-0/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* 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
|