summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-18charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell1-4/+8
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-26s4-dns: use a loadparm list for samba_runcmd() commandsAndrew Tridgell1-6/+6
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-26s4-param: added 'nsupdate command' option, default to /usr/bin/nsupdate -gAndrew Tridgell1-0/+4
2010-02-23s4-param: added "dns update command" smb.conf optionAndrew Tridgell1-0/+4
defaults to SBINDIR/samba_dnsupdate This command will do periodic dynamic DNS updates using TSIG-GSS
2010-02-17s4-param: added "rndc command" smb.conf optionAndrew Tridgell1-0/+4
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>
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 Hards1-0/+1
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-02s4 - SID allocation using FDS DNA pluginEndi S. Dewata1-0/+8
2009-10-24s4:loadparm: don't leak the names of all shares in each lp_service() callStefan Metzmacher1-1/+4
metze
2009-10-14s4:loadparm - adapt "realm" handlingMatthias Dieter Wallnöfer1-3/+23
Change "lp_realm" behaviour to return the realm always upcased and add a function "lp_dnsdomain" which returns it always lowcased.
2009-09-27parmlist: Add more tests.Jelmer Vernooij1-12/+12
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-07-02s4:param use talloc_unlink() to free iconv context holding referencesAndrew Bartlett1-1/+1
2009-05-26Don't use crossRef records to find our own domainAndrew Bartlett1-0/+1
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-02-13Replace get_myname() with the talloc version from v3-3-testVolker Lendecke1-2/+2
2009-02-02s4:loadparm: s/class/pclassStefan Metzmacher1-9/+9
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 Vernooij1-4/+10
command-line.
2009-01-06When loading the default configuration, allow the configuration file to beJelmer Vernooij1-2/+11
missing.
2008-12-06s4:loadparm: start 'browser' rpc_serverStefan Metzmacher1-1/+1
metze
2008-11-03Fix memory leak.Jelmer Vernooij1-1/+1
2008-11-02Fix the build.Jelmer Vernooij1-2/+3
2008-11-02Remove global_loadparm.Jelmer Vernooij1-2/+0
2008-11-02Use environment variable rather than loadparm parameter when testingJelmer Vernooij1-0/+8
nonblocking sockets.
2008-11-02Remove use of global_loadparm when comparing nt status error - useJelmer Vernooij1-0/+2
global variable instead.
2008-11-02Move check of SMB_CONF_PATH to loadparm code.Jelmer Vernooij1-1/+4
2008-11-02Fix the build.Jelmer Vernooij1-2/+0
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij1-0/+12
should in the future only contain some settings required for gensec.
2008-11-02Use a separate global for nonblocking socket testing rather than ↵Jelmer Vernooij1-0/+3
global_loadparm.
2008-11-01Rename param_opt.flags to priority.Jelmer Vernooij1-4/+16
2008-10-31Disable lanman authentication by default in Samba 4.Jelmer Vernooij1-2/+2
2008-10-24Remove dependency of charset code on loadparm.Jelmer Vernooij1-1/+1
2008-10-24Remove const so return value can be freed.Jelmer Vernooij1-5/+5
2008-10-23Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-1/+2
2008-10-23Make lp_tls_* return absolute paths.Jelmer Vernooij1-5/+26
2008-10-23Remove unused constants from local.h.Jelmer Vernooij1-1/+2
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij1-3/+3
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-09-30Pass options struct into session initialization functions rather thanJelmer Vernooij1-0/+8
using global_loadparm.
2008-09-18Remove jsdir.Jelmer Vernooij1-5/+0
2008-06-28Use a configure-specified directory for the winbind priv pipeAndrew Bartlett1-0/+4
This makes it easier for RPMs to specify an group for access to that directory. Andrew Bartlett (This used to be commit fa361354433fb9a5c09c84997a7c51f3052c294e)
2008-05-29Allow the ntp_signd socket to be set from configure.Andrew Bartlett1-0/+7
This will allow distributions to hard-code this path, particularly for selinux, and matches how we handle the winbind socket dir. Andrew Bartlett (This used to be commit c8b441650400ed1b24c89991f5752dad3c87795f)
2008-05-28Bring up the ntp signing deamonAndrew Bartlett1-1/+1
This starts ntp_signd at startup, and fixes some build issues. Andrew Bartlett (This used to be commit cb0dcd5c3dfe2a46755270a4594b7289f555d814)
2008-05-27Use new dynconfig.h location.Jelmer Vernooij1-1/+1
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-03-28Fix 'oplocks' in loadparm.Andrew Bartlett1-0/+1
I forgot one more place where I must specify the new config option. I wish this was more templated... Andrew Bartlett (This used to be commit 5a740f4daa79cf1b5fc9f24e424ae50e10932f4b)