Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-29 | pytalloc: allow for using a system libtalloc-dev with pytalloc | Andrew Tridgell | 2 | -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 | |||||
2010-03-18 | charset: fixed a problem with the global use of the iconv_convenience structure | Andrew Tridgell | 3 | -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. | |||||
2010-02-26 | s4-dns: use a loadparm list for samba_runcmd() commands | Andrew Tridgell | 2 | -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) | |||||
2010-02-26 | s4-param: added 'nsupdate command' option, default to /usr/bin/nsupdate -g | Andrew Tridgell | 1 | -0/+4 | |
2010-02-23 | s4-param: added "dns update command" smb.conf option | Andrew Tridgell | 2 | -0/+5 | |
defaults to SBINDIR/samba_dnsupdate This command will do periodic dynamic DNS updates using TSIG-GSS | |||||
2010-02-22 | Various source4 spelling fixes. | Brad Hards | 1 | -1/+1 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-19 | s4:winbind Make the 'no SID found' message even more detailed | Andrew Bartlett | 1 | -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 | |||||
2010-02-18 | s4:param Modify secrets_get_domain_sid to give more useful errors | Andrew Bartlett | 2 | -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-17 | s4-param: added "rndc command" smb.conf option | Andrew Tridgell | 2 | -0/+5 | |
2010-02-15 | s4:provision.c - "provsion_store_self_join" - don't set the realm if it's NULL | Matthias Dieter Wallnöfer | 1 | -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-13 | s4:loadparm.c - prevent memory leaks | Matthias Dieter Wallnöfer | 1 | -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-13 | s4:loadparm.c - the logfile parameter value needs to be duplicated | Matthias Dieter Wallnöfer | 1 | -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-11 | s4-dns: added a dns update task | Andrew Tridgell | 1 | -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-09 | s4:Remove "Py_RETURN_NONE" compatibility code | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
This was needed only by Python 2.3 which we no longer support. | |||||
2010-01-21 | s4: Fix a few warnings. | Jelmer Vernooij | 1 | -1/+1 | |
2009-12-22 | param: Fix build on systems without ldb installed. | Jelmer Vernooij | 1 | -1/+1 | |
2009-12-21 | provision/pyldb: Avoid linking in static python ldb module. | Jelmer Vernooij | 2 | -4/+29 | |
2009-12-21 | Fix initialisation of TypeObject samba.param.LoadparmService. | Jelmer Vernooij | 2 | -3/+10 | |
Found by Ricardo Jorge <rvelhote@gmail.com>. | |||||
2009-12-14 | s4-loadparm: call reload_charcnv() also for a missing smb.conf | Andrew Tridgell | 1 | -0/+4 | |
bin/net vampire with a missing smb.conf would segfault as the iconv convenience pointer had not been setup. | |||||
2009-11-24 | s4:param remove reference to private header from source4/param/param.h | Brad Hards | 3 | -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-12 | s4:provision Add C binding to get at the generate schema | Andrew Bartlett | 2 | -0/+63 | |
This will allow us to do local tests against that schema | |||||
2009-11-02 | s4 - SID allocation using FDS DNA plugin | Endi S. Dewata | 2 | -0/+14 | |
2009-10-24 | s4:loadparm: don't leak the names of all shares in each lp_service() call | Stefan Metzmacher | 1 | -1/+4 | |
metze | |||||
2009-10-23 | s4-python: we need to include Python.h first | Andrew Tridgell | 3 | -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-23 | s4:secrets Look for LDAP secret with a name that is indexed | Andrew Bartlett | 1 | -1/+1 | |
This avoids a very common unindexed lookup | |||||
2009-10-23 | s4-dsdb: create a static system_session context | Andrew Tridgell | 1 | -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-14 | s4:loadparm - adapt "realm" handling | Matthias Dieter Wallnöfer | 2 | -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-06 | s4:param Remove duplicate argument to python provision | Andrew Bartlett | 1 | -2/+0 | |
2009-09-27 | parmlist: Add more tests. | Jelmer Vernooij | 2 | -18/+16 | |
2009-09-26 | libutil: Add separate utility code for dealing with settings as a | Jelmer Vernooij | 2 | -59/+37 | |
collection of key/value pairs. | |||||
2009-09-23 | Check for PyString_FromString being NULL. | Jelmer Vernooij | 1 | -4/+10 | |
2009-09-23 | provision: Avoid linking in multiple copies of security python module. | Jelmer Vernooij | 2 | -9/+30 | |
2009-09-20 | s4:provision Use code to store domain join in 'net join' as well | Andrew Bartlett | 3 | -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-11 | s4-kcc: add a very simple KCC | Andrew Tridgell | 1 | -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-07 | s4: the secrets.ldb module needs the loadparm opaque setup | Andrew Tridgell | 1 | -0/+7 | |
2009-09-03 | allow setting of the debug level in python from C | Andrew Tridgell | 1 | -1/+4 | |
2009-09-03 | support config files in the current directory | Andrew Tridgell | 1 | -2/+7 | |
2009-08-04 | param/pyparam: Cope with string list parameters being empty. | Ricardo Jorge | 1 | -1/+7 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-08-04 | python/loadparm: Get shares listing working. | Ricardo Jorge | 1 | -5/+6 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-07-02 | s4:param use talloc_unlink() to free iconv context holding references | Andrew Bartlett | 1 | -1/+1 | |
2009-07-01 | use py_talloc_reference instead of py_talloc_import | Andrew Tridgell | 1 | -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-17 | param/python: Fix memory leak of LoadParm objects. | Jelmer Vernooij | 1 | -1/+12 | |
2009-06-16 | python: Provide way to iterate over available shares. | Jelmer Vernooij | 1 | -0/+16 | |
2009-06-02 | Fix unresolved symbol in python messaging module. | Jelmer Vernooij | 3 | -9/+12 | |
2009-06-02 | Fix more unresolved symbols. | Jelmer Vernooij | 1 | -1/+6 | |
2009-06-02 | python: Move helper functions for using param into a separate file rather | Jelmer Vernooij | 2 | -24/+54 | |
than linking against the python module. | |||||
2009-05-26 | Don't use crossRef records to find our own domain | Andrew Bartlett | 3 | -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-08 | s4:loadparm: fix a comment typo. and line wrapping. | Michael Adam | 1 | -1/+2 | |
Michael | |||||
2009-05-08 | s4:loadparm: fix brace indentation and add brace for clarity | Michael Adam | 1 | -2/+4 | |
Michael | |||||
2009-03-04 | Allow 'net vampire' to work without an existing smb.conf | Andrew Bartlett | 2 | -3/+7 | |
Now the provision can generate one based on the detected settings from the target domain. Andrew Bartlett |