summaryrefslogtreecommitdiff
path: root/source4/param
AgeCommit message (Collapse)AuthorFilesLines
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
2009-12-21Fix initialisation of TypeObject samba.param.LoadparmService.Jelmer Vernooij2-3/+10
Found by Ricardo Jorge <rvelhote@gmail.com>.
2009-12-14s4-loadparm: call reload_charcnv() also for a missing smb.confAndrew Tridgell1-0/+4
bin/net vampire with a missing smb.conf would segfault as the iconv convenience pointer had not been setup.
2009-11-24s4:param remove reference to private header from source4/param/param.hBrad Hards3-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>
2009-11-12s4:provision Add C binding to get at the generate schemaAndrew Bartlett2-0/+63
This will allow us to do local tests against that schema
2009-11-02s4 - SID allocation using FDS DNA pluginEndi S. Dewata2-0/+14
2009-10-24s4:loadparm: don't leak the names of all shares in each lp_service() callStefan Metzmacher1-1/+4
metze
2009-10-23s4-python: we need to include Python.h firstAndrew Tridgell3-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.
2009-10-23s4:secrets Look for LDAP secret with a name that is indexedAndrew Bartlett1-1/+1
This avoids a very common unindexed lookup
2009-10-23s4-dsdb: create a static system_session contextAndrew Tridgell1-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
2009-10-14s4:loadparm - adapt "realm" handlingMatthias Dieter Wallnöfer2-3/+24
Change "lp_realm" behaviour to return the realm always upcased and add a function "lp_dnsdomain" which returns it always lowcased.
2009-10-06s4:param Remove duplicate argument to python provisionAndrew Bartlett1-2/+0
2009-09-27parmlist: Add more tests.Jelmer Vernooij2-18/+16
2009-09-26libutil: Add separate utility code for dealing with settings as aJelmer Vernooij2-59/+37
collection of key/value pairs.
2009-09-23Check for PyString_FromString being NULL.Jelmer Vernooij1-4/+10
2009-09-23provision: Avoid linking in multiple copies of security python module.Jelmer Vernooij2-9/+30
2009-09-20s4:provision Use code to store domain join in 'net join' as wellAndrew Bartlett3-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
2009-09-11s4-kcc: add a very simple KCCAndrew Tridgell1-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 :-)
2009-09-07s4: the secrets.ldb module needs the loadparm opaque setupAndrew Tridgell1-0/+7
2009-09-03allow setting of the debug level in python from CAndrew Tridgell1-1/+4
2009-09-03support config files in the current directoryAndrew Tridgell1-2/+7
2009-08-04param/pyparam: Cope with string list parameters being empty.Ricardo Jorge1-1/+7
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-08-04python/loadparm: Get shares listing working.Ricardo Jorge1-5/+6
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-07-02s4:param use talloc_unlink() to free iconv context holding referencesAndrew Bartlett1-1/+1
2009-07-01use py_talloc_reference instead of py_talloc_importAndrew Tridgell1-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
2009-06-17param/python: Fix memory leak of LoadParm objects.Jelmer Vernooij1-1/+12
2009-06-16python: Provide way to iterate over available shares.Jelmer Vernooij1-0/+16
2009-06-02Fix unresolved symbol in python messaging module.Jelmer Vernooij3-9/+12
2009-06-02Fix more unresolved symbols.Jelmer Vernooij1-1/+6
2009-06-02python: Move helper functions for using param into a separate file ratherJelmer Vernooij2-24/+54
than linking against the python module.
2009-05-26Don't use crossRef records to find our own domainAndrew Bartlett3-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
2009-05-08s4:loadparm: fix a comment typo. and line wrapping.Michael Adam1-1/+2
Michael
2009-05-08s4:loadparm: fix brace indentation and add brace for clarityMichael Adam1-2/+4
Michael
2009-03-04Allow 'net vampire' to work without an existing smb.confAndrew Bartlett2-3/+7
Now the provision can generate one based on the detected settings from the target domain. Andrew Bartlett
2009-02-13Replace get_myname() with the talloc version from v3-3-testVolker Lendecke1-2/+2
2009-02-05s4:pyparam: fix compiler warningsStefan Metzmacher1-15/+15
metze
2009-02-02s4:param: swig_ldb was renamed to pyldb in ↵Stefan Metzmacher1-1/+1
d965ff05c9923c8a0e440e905d0d9fe662cc5db0 metze
2009-02-02s4:param: we should not silence warnings on handwritten python bindingsStefan Metzmacher1-2/+0
metze
2009-02-02s4:loadparm: s/class/pclassStefan Metzmacher3-11/+11
metze
2009-01-16loadparm: Make sure various state variables get initialized even when weJelmer Vernooij1-29/+40
couldn't load a default smb.conf file.
2009-01-16Find default smb.conf path correctly, when it was not specified on theJelmer Vernooij3-5/+23
command-line.