summaryrefslogtreecommitdiffstats
path: root/source4/param/param.h
Commit message (Collapse)AuthorAgeFilesLines
* param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett2011-07-081-2/+1
| | | | | | | | This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett
* param: Remove "announce as" parameterAndrew Bartlett2011-06-231-7/+0
|
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-061-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
* s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett2011-06-061-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
* s4-param Remove 'sid generator'Andrew Bartlett2011-06-061-5/+0
| | | | | | | This was only used by the Fedora DS backend for Samba4. We agreed to no longer support external LDAP backends. Andrew Bartlett
* s4-param: use new roles.hAndrew Tridgell2011-05-031-5/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-031-1/+1
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* s4-param Rename volume_label() -> lpcfg_volume_label()Andrew Bartlett2011-04-291-1/+1
|
* s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett2011-04-291-1/+1
| | | | | | This is consistent with lock_path() Andrew Bartlett
* s4-param Remove config_path() -> lpcfg_config_path()Andrew Bartlett2011-04-291-1/+1
| | | | | | This is consistent with lock_path() Andrew Bartlett
* s4-param Rename lock_path() -> lpcfg_lock_path()Andrew Bartlett2011-04-291-1/+1
| | | | This avoids a conflict with the source3/ lock_path()
* lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett2011-03-251-3/+3
| | | | | | This better reflects what this structure is Andrew Bartlett
* Make lpcfg_server_role public.Jelmer Vernooij2011-02-231-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Feb 23 00:44:16 CET 2011 on sn-devel-104
* s4-loadparm: added loadparm_init_global()Andrew Tridgell2010-11-291-0/+1
| | | | | | | This ensures we use the same loadparm_context in all our command line tools. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* param: Add prototype for lpcfg_private_dir(), used by openchange.Jelmer Vernooij2010-09-141-0/+1
|
* param: Only include param_proto.h for Samba builds, provide thoseJelmer Vernooij2010-09-131-0/+6
| | | | prototypes necessary for external users (OpenChange) manually.
* s4-param: move back to auto-generation of loadparm prototypesAndrew Tridgell2010-09-111-157/+2
|
* s4-loadparm: change lp_*() to lpcfg_*() and provide s3 compatibility lp_*()Andrew Tridgell2010-07-161-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>
* s4: remove unused references to swatStefan Metzmacher2010-04-291-1/+0
| | | | metze
* s4-param: added a "spn update command" optionAndrew Tridgell2010-04-271-0/+1
| | | | used by SPN update code
* charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell2010-03-181-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.
* s4-dns: use a loadparm list for samba_runcmd() commandsAndrew Tridgell2010-02-261-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)
* s4-param: added "dns update command" smb.conf optionAndrew Tridgell2010-02-231-0/+1
| | | | | | defaults to SBINDIR/samba_dnsupdate This command will do periodic dynamic DNS updates using TSIG-GSS
* s4-param: added "rndc command" smb.conf optionAndrew Tridgell2010-02-171-0/+1
|
* s4:param remove reference to private header from source4/param/param.hBrad Hards2009-11-241-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>
* s4 - SID allocation using FDS DNA pluginEndi S. Dewata2009-11-021-0/+6
|
* s4:loadparm - adapt "realm" handlingMatthias Dieter Wallnöfer2009-10-141-0/+1
| | | | | Change "lp_realm" behaviour to return the realm always upcased and add a function "lp_dnsdomain" which returns it always lowcased.
* libutil: Add separate utility code for dealing with settings as aJelmer Vernooij2009-09-261-10/+5
| | | | collection of key/value pairs.
* Don't use crossRef records to find our own domainAndrew Bartlett2009-05-261-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
* Find default smb.conf path correctly, when it was not specified on theJelmer Vernooij2009-01-161-0/+1
| | | | command-line.
* Remove global_loadparm.Jelmer Vernooij2008-11-021-2/+0
|
* Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2008-11-021-1/+2
| | | | should in the future only contain some settings required for gensec.
* Rename param_opt.flags to priority.Jelmer Vernooij2008-11-011-1/+4
|
* Remove unused include param/param.h.Jelmer Vernooij2008-10-241-0/+6
|
* Mark global_loadparm as deprecated.Jelmer Vernooij2008-10-241-1/+1
|
* Remove const so return value can be freed.Jelmer Vernooij2008-10-241-5/+5
|
* Make lp_tls_* return absolute paths.Jelmer Vernooij2008-10-231-5/+5
|
* Pass options struct into session initialization functions rather thanJelmer Vernooij2008-09-301-0/+3
| | | | using global_loadparm.
* Use a configure-specified directory for the winbind priv pipeAndrew Bartlett2008-06-281-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)
* Allow the ntp_signd socket to be set from configure.Andrew Bartlett2008-05-291-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)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-021-1/+360
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* Remove sDefault as static variable.Jelmer Vernooij2008-02-281-1/+0
| | | | (This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
* r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij2008-01-031-0/+1
| | | | | | options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
* r26316: Use contexts for conversion functions.Jelmer Vernooij2007-12-211-1/+0
| | | | (This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
* r26315: Avoid using lp_ functions in libcharset.Jelmer Vernooij2007-12-211-0/+1
| | | | (This used to be commit db6dd425e3526c04e96d778a736dbb5cf14ddc56)
* r26095: Add function for import a generic configuration file in a loadparm ↵Jelmer Vernooij2007-12-211-0/+1
| | | | | | context. (This used to be commit d74018d05542582515a4d3cc995820667200b301)
* r25460: use common structure in param/generic.cJelmer Vernooij2007-10-101-8/+8
| | | | (This used to be commit 01ce5448f44ddda7ec864d812fe23f0fa68d1561)
* r25379: Use loadparm context parameter in a lot more places.Jelmer Vernooij2007-10-101-0/+2
| | | | (This used to be commit 091961b13be665061c7e88ab4e2808c015bc403e)
* r25039: Rename service -> loadparm_service, use context more.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit ab417cb32bd348c05b20707e73297df05c920079)
* r25037: Start passing the context around.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 88c72ac75fed673f7bfb65bf633f352f231c90a3)