summaryrefslogtreecommitdiffstats
path: root/source4/param
Commit message (Collapse)AuthorAgeFilesLines
* s4: Fix a few warnings.Jelmer Vernooij2010-01-211-1/+1
|
* param: Fix build on systems without ldb installed.Jelmer Vernooij2009-12-221-1/+1
|
* provision/pyldb: Avoid linking in static python ldb module.Jelmer Vernooij2009-12-212-4/+29
|
* Fix initialisation of TypeObject samba.param.LoadparmService.Jelmer Vernooij2009-12-212-3/+10
| | | | Found by Ricardo Jorge <rvelhote@gmail.com>.
* s4-loadparm: call reload_charcnv() also for a missing smb.confAndrew Tridgell2009-12-141-0/+4
| | | | | bin/net vampire with a missing smb.conf would segfault as the iconv convenience pointer had not been setup.
* s4:param remove reference to private header from source4/param/param.hBrad Hards2009-11-243-1/+3
| | | | | | | | | | | source4/param/param.h has a param.h is a public header (and parmlist isn't, even if the relative path could work), so I suggest making it a forward declaration in the header, and including parmlist.h in the implementation. (commit message included from e-mail by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:provision Add C binding to get at the generate schemaAndrew Bartlett2009-11-122-0/+63
| | | | This will allow us to do local tests against that schema
* s4 - SID allocation using FDS DNA pluginEndi S. Dewata2009-11-022-0/+14
|
* s4:loadparm: don't leak the names of all shares in each lp_service() callStefan Metzmacher2009-10-241-1/+4
| | | | metze
* s4-python: we need to include Python.h firstAndrew Tridgell2009-10-233-9/+3
| | | | | 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.
* s4:secrets Look for LDAP secret with a name that is indexedAndrew Bartlett2009-10-231-1/+1
| | | | This avoids a very common unindexed lookup
* s4-dsdb: create a static system_session contextAndrew Tridgell2009-10-231-2/+2
| | | | | | This patch adds a system_session cache, preventing us from having to recreate it on every ldb open, and allowing us to detect when the same session is being used in ldb_wrap
* s4:loadparm - adapt "realm" handlingMatthias Dieter Wallnöfer2009-10-142-3/+24
| | | | | Change "lp_realm" behaviour to return the realm always upcased and add a function "lp_dnsdomain" which returns it always lowcased.
* s4:param Remove duplicate argument to python provisionAndrew Bartlett2009-10-061-2/+0
|
* parmlist: Add more tests.Jelmer Vernooij2009-09-272-18/+16
|
* libutil: Add separate utility code for dealing with settings as aJelmer Vernooij2009-09-262-59/+37
| | | | collection of key/value pairs.
* Check for PyString_FromString being NULL.Jelmer Vernooij2009-09-231-4/+10
|
* provision: Avoid linking in multiple copies of security python module.Jelmer Vernooij2009-09-232-9/+30
|
* s4:provision Use code to store domain join in 'net join' as wellAndrew Bartlett2009-09-203-2/+147
| | | | | | | | 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
* s4-kcc: add a very simple KCCAndrew Tridgell2009-09-111-1/+1
| | | | | | | A KCC is a 'Knowledge Consistency Checker', a fancy name for a daemon that works out who will replicate with who in a AD domain. This implements an extremely simple KCC task that just wants to replicate with everyone :-)
* s4: the secrets.ldb module needs the loadparm opaque setupAndrew Tridgell2009-09-071-0/+7
|
* allow setting of the debug level in python from CAndrew Tridgell2009-09-031-1/+4
|
* support config files in the current directoryAndrew Tridgell2009-09-031-2/+7
|
* param/pyparam: Cope with string list parameters being empty.Ricardo Jorge2009-08-041-1/+7
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* python/loadparm: Get shares listing working.Ricardo Jorge2009-08-041-5/+6
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4:param use talloc_unlink() to free iconv context holding referencesAndrew Bartlett2009-07-021-1/+1
|
* use py_talloc_reference instead of py_talloc_importAndrew Tridgell2009-07-011-1/+1
| | | | | This is one of the few cases where we want the object to be owned by both the python object and C code
* param/python: Fix memory leak of LoadParm objects.Jelmer Vernooij2009-06-171-1/+12
|
* python: Provide way to iterate over available shares.Jelmer Vernooij2009-06-161-0/+16
|
* Fix unresolved symbol in python messaging module.Jelmer Vernooij2009-06-023-9/+12
|
* Fix more unresolved symbols.Jelmer Vernooij2009-06-021-1/+6
|
* python: Move helper functions for using param into a separate file ratherJelmer Vernooij2009-06-022-24/+54
| | | | than linking against the python module.
* Don't use crossRef records to find our own domainAndrew Bartlett2009-05-263-0/+23
| | | | | | | | A single AD server can only host a single domain, so don't stuff about with looking up our crossRef record in the cn=Partitions container. We instead trust that lp_realm() and lp_workgroup() works correctly. Andrew Bartlett
* s4:loadparm: fix a comment typo. and line wrapping.Michael Adam2009-05-081-1/+2
| | | | Michael
* s4:loadparm: fix brace indentation and add brace for clarityMichael Adam2009-05-081-2/+4
| | | | Michael
* Allow 'net vampire' to work without an existing smb.confAndrew Bartlett2009-03-042-3/+7
| | | | | | | Now the provision can generate one based on the detected settings from the target domain. Andrew Bartlett
* Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2009-02-131-2/+2
|
* s4:pyparam: fix compiler warningsStefan Metzmacher2009-02-051-15/+15
| | | | metze
* s4:param: swig_ldb was renamed to pyldb in ↵Stefan Metzmacher2009-02-021-1/+1
| | | | | | d965ff05c9923c8a0e440e905d0d9fe662cc5db0 metze
* s4:param: we should not silence warnings on handwritten python bindingsStefan Metzmacher2009-02-021-2/+0
| | | | metze
* s4:loadparm: s/class/pclassStefan Metzmacher2009-02-023-11/+11
| | | | metze
* loadparm: Make sure various state variables get initialized even when weJelmer Vernooij2009-01-161-29/+40
| | | | couldn't load a default smb.conf file.
* Find default smb.conf path correctly, when it was not specified on theJelmer Vernooij2009-01-163-5/+23
| | | | command-line.
* python/param: Cope with lp configfile being NULL.Jelmer Vernooij2009-01-151-1/+5
|
* Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij2009-01-081-1/+5
| | | | since this will not be shipped with talloc/tdb/tevent/etc.
* s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty2009-01-071-0/+1
|
* When loading the default configuration, allow the configuration file to beJelmer Vernooij2009-01-061-2/+11
| | | | missing.
* py: Properly increase the reference counter of Py_None.Jelmer Vernooij2009-01-061-4/+4
|
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-296-10/+10
| | | | | | | | | | | | | | | | | | | | list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
* python: Define Py_ssize_t if the Python library doesn't.Jelmer Vernooij2008-12-231-0/+6
|