summaryrefslogtreecommitdiff
path: root/source4/param/param.h
AgeCommit message (Collapse)AuthorFilesLines
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-1/+1
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-06-06s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett1-0/+2
In the top level build, this allows calls to code that requires a lpcfg_ style loadparm_context, while using the global parameters loaded from the source3 loadparm code. Andrew Bartlett
2011-06-06s4-param Remove 'sid generator'Andrew Bartlett1-5/+0
This was only used by the Fedora DS backend for Samba4. We agreed to no longer support external LDAP backends. Andrew Bartlett
2011-05-03s4-param: use new roles.hAndrew Tridgell1-5/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett1-1/+1
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-04-29s4-param Rename volume_label() -> lpcfg_volume_label()Andrew Bartlett1-1/+1
2011-04-29s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett1-1/+1
This is consistent with lock_path() Andrew Bartlett
2011-04-29s4-param Remove config_path() -> lpcfg_config_path()Andrew Bartlett1-1/+1
This is consistent with lock_path() Andrew Bartlett
2011-04-29s4-param Rename lock_path() -> lpcfg_lock_path()Andrew Bartlett1-1/+1
This avoids a conflict with the source3/ lock_path()
2011-03-25lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett1-3/+3
This better reflects what this structure is Andrew Bartlett
2011-02-23Make lpcfg_server_role public.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Feb 23 00:44:16 CET 2011 on sn-devel-104
2010-11-29s4-loadparm: added loadparm_init_global()Andrew Tridgell1-0/+1
This ensures we use the same loadparm_context in all our command line tools. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-14param: Add prototype for lpcfg_private_dir(), used by openchange.Jelmer Vernooij1-0/+1
2010-09-13param: Only include param_proto.h for Samba builds, provide thoseJelmer Vernooij1-0/+6
prototypes necessary for external users (OpenChange) manually.
2010-09-11s4-param: move back to auto-generation of loadparm prototypesAndrew Tridgell1-157/+2
2010-07-16s4-loadparm: change lp_*() to lpcfg_*() and provide s3 compatibility lp_*()Andrew Tridgell1-173/+215
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>
2010-04-29s4: remove unused references to swatStefan Metzmacher1-1/+0
metze
2010-04-27s4-param: added a "spn update command" optionAndrew Tridgell1-0/+1
used by SPN update code
2010-03-18charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell1-2/+3
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-2/+2
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-23s4-param: added "dns update command" smb.conf optionAndrew Tridgell1-0/+1
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/+1
2009-11-24s4:param remove reference to private header from source4/param/param.hBrad Hards1-1/+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/+6
2009-10-14s4:loadparm - adapt "realm" handlingMatthias Dieter Wallnöfer1-0/+1
Change "lp_realm" behaviour to return the realm always upcased and add a function "lp_dnsdomain" which returns it always lowcased.
2009-09-26libutil: Add separate utility code for dealing with settings as aJelmer Vernooij1-10/+5
collection of key/value pairs.
2009-05-26Don't use crossRef records to find our own domainAndrew Bartlett1-0/+5
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-01-16Find default smb.conf path correctly, when it was not specified on theJelmer Vernooij1-0/+1
command-line.
2008-11-02Remove global_loadparm.Jelmer Vernooij1-2/+0
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij1-1/+2
should in the future only contain some settings required for gensec.
2008-11-01Rename param_opt.flags to priority.Jelmer Vernooij1-1/+4
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-0/+6
2008-10-24Mark global_loadparm as deprecated.Jelmer Vernooij1-1/+1
2008-10-24Remove const so return value can be freed.Jelmer Vernooij1-5/+5
2008-10-23Make lp_tls_* return absolute paths.Jelmer Vernooij1-5/+5
2008-09-30Pass options struct into session initialization functions rather thanJelmer Vernooij1-0/+3
using global_loadparm.
2008-06-28Use a configure-specified directory for the winbind priv pipeAndrew Bartlett1-0/+1
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/+2
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-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-1/+360
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-28Remove sDefault as static variable.Jelmer Vernooij1-1/+0
(This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
2008-01-03r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij1-0/+1
options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2007-12-21r26316: Use contexts for conversion functions.Jelmer Vernooij1-1/+0
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21r26315: Avoid using lp_ functions in libcharset.Jelmer Vernooij1-0/+1
(This used to be commit db6dd425e3526c04e96d778a736dbb5cf14ddc56)
2007-12-21r26095: Add function for import a generic configuration file in a loadparm ↵Jelmer Vernooij1-0/+1
context. (This used to be commit d74018d05542582515a4d3cc995820667200b301)
2007-10-10r25460: use common structure in param/generic.cJelmer Vernooij1-8/+8
(This used to be commit 01ce5448f44ddda7ec864d812fe23f0fa68d1561)
2007-10-10r25379: Use loadparm context parameter in a lot more places.Jelmer Vernooij1-0/+2
(This used to be commit 091961b13be665061c7e88ab4e2808c015bc403e)
2007-10-10r25039: Rename service -> loadparm_service, use context more.Jelmer Vernooij1-1/+1
(This used to be commit ab417cb32bd348c05b20707e73297df05c920079)
2007-10-10r25037: Start passing the context around.Jelmer Vernooij1-0/+1
(This used to be commit 88c72ac75fed673f7bfb65bf633f352f231c90a3)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r24816: Move the rest of the contents of core.h to more appropriate places.Jelmer Vernooij1-0/+15
include/ now only contains build system related headers, all other headers are now near the source code they're related to. (This used to be commit 6890a01dbfc6d8041a88ef5c6be52dfcd046fe80)