summaryrefslogtreecommitdiffstats
path: root/lib/param
Commit message (Collapse)AuthorAgeFilesLines
* lib/param: Consolidate code to enable smb signing on the server, always ↵Andrew Bartlett2013-11-221-0/+42
| | | | | | | | | | | | | | | enable on AD DC This uses the code from the source4/ SMB server (the NTVFS smb server) in common, to force SMB Signing to be on when we are an AD DC. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Nov 22 13:13:05 CET 2013 on sn-devel-104
* lib/param: Add documentation on how loadparm worksAndrew Bartlett2013-10-161-0/+69
| | | | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Oct 16 11:39:41 CEST 2013 on sn-devel-104
* param: Autogenerate s3 lp_ctx glue tableAndrew Bartlett2013-10-161-0/+1
| | | | | | | | This allows us to use more lpcfg_ functions without adding them manually. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/param: Do not attempt to access the s3 function for allocated and subbed ↵Andrew Bartlett2013-10-161-11/+10
| | | | | | | | | | | | | string parameters This allows us not to generate array entries for these, which in turn allows us to avoid initialising them. The issue is that we do not have the % macro sub context nor a talloc context handy (yet). Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/param: lp_magicchar takes a const struct share_params *p so should be ↵Andrew Bartlett2013-10-162-2/+2
| | | | | | | | | | | FN_LOCAL_PARM_CHAR This was found when trying to autogenerate prototypes for lp_ functions again. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib/param: add PROTOCOL_SMB3_02 handlingStefan Metzmacher2013-09-171-0/+1
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* loadparm: add new parameter "acl allow execute always"Michael Adam2013-09-102-0/+11
| | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* loadparm: Use the new fully featured kcc by defaultMatthieu Patou2013-08-161-0/+1
| | | | | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 16 04:44:01 CEST 2013 on sn-devel-104
* lib/param: sync debug related options with source3/paramStefan Metzmacher2013-07-091-1/+17
| | | | | | | | | | | The most important change is "debug hires timestamp = Yes" and "syslog = 1". Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Björn Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Jul 9 17:15:15 CEST 2013 on sn-devel-104
* auth: Remove "password level"Andrew Bartlett2013-06-113-11/+0
| | | | | | | | | | | We now only lowercase the password, we do not attempt to find another case combination that the password might be in. This option is already depricated, so it is now time to remove it. Andrew Bartlett Reviewed-by: Simo Sorce <idra@samba.org>
* param_table: Remove misleading allow dns updates options.Michael Wood2013-06-011-5/+0
| | | | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Jun 1 12:46:32 CEST 2013 on sn-devel-104
* param: Remove _SAMBA_BUILD_ checks from now the autoconf build is goneAndrew Bartlett2013-05-283-8/+0
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* lib/param: remove unused 'printer_admin'Stefan Metzmacher2013-05-141-1/+0
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue May 14 21:45:19 CEST 2013 on sn-devel-104
* ntdb: remove --disable-ntdb.Rusty Russell2013-04-131-2/+0
| | | | | | | | | | | Remove DISABLE_NTDB option, and --disable-ntdb from waf build. This just means that it will always get built: it isn't used by default yet. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Apr 13 02:01:02 CEST 2013 on sn-devel-104
* lib/param: lpcfg_private_db_path()Rusty Russell2013-04-122-0/+42
| | | | | | | This wrapper avoids testing lpcfg_use_ntdb() everywhere. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3: remove some dead code (for setdir command)Christian Ambach2013-03-122-10/+0
| | | | | | | | | | | set dir seems to have been a special SMB command used by Pathworks clients the supporting code for it was already removed in 2007, so just remove all remnants related to it (smb.conf parameter, documentation, ...) Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Mar 12 01:03:37 CET 2013 on sn-devel-104
* param: 'use ntdb' flag (off by default).Rusty Russell2013-02-202-0/+10
| | | | | | | | For simplicity, we use this in the caller to choose between filenames. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:param: remove unused function lp_idmap_backend()Michael Adam2013-02-052-1/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Christian Ambach <ambi@samba.org>
* lib/param: use the correct path names againStefan Metzmacher2012-12-271-5/+5
| | | | | | | | | | | This fixes a regression which was introduced by commit 5b1d95046c8ea624419d94dd7d9e2785ba86f556. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Dec 27 19:19:55 CET 2012 on sn-devel-104
* param: Correctly create directory and create common function.Andreas Schneider2012-12-211-55/+41
| | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* smbd: Remove NT4 compatability handling in posix -> NT ACL conversionAndrew Bartlett2012-11-132-20/+0
| | | | | | | | | | | | | | | | | NT4 is long dead, and we should not change which ACL we return based on what we think the client is. The reason we should not do this, is that if we are using vfs_acl_xattr then the hash will break if we do. Additionally, it would require that the python VFS interface set the global remote_arch to fake up being a modern client. This instead seems cleaner and removes untested code (the tests are updated to then handle the results of the modern codepath). The supporting 'acl compatability' parameter is also removed. Andrew Bartlett Reviewed by: Jeremy Allison <jra@samba.org>
* lib/param: fix line length of DEBUG statments touched in previous commit in ↵Michael Adam2012-10-291-2/+4
| | | | | | | | | | set_variable() Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org> Autobuild-User(master): Ira Cooper <ira@samba.org> Autobuild-Date(master): Mon Oct 29 21:55:35 CET 2012 on sn-devel-104
* lib/param: fix function name (set_variable) in debug statementsMichael Adam2012-10-291-4/+4
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
* lib/param: fix function name (lpcfg_file_list_changed) in a debug messageMichael Adam2012-10-291-1/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
* Remove the parameters:Jeremy Allison2012-10-042-40/+0
| | | | | | | | | security mask force security mode directory security mask force directory security mode and update the docs.
* panic action is defined as GLOBAL_VAR(szPanicAction) not ↵Matthieu Patou2012-09-181-1/+1
| | | | | | | | | GLOBAL_VAR(panic_action) Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 18 06:12:00 CEST 2012 on sn-devel-104
* dns_server: Remove parameter 'dns recursive queries' and base this on 'dns ↵Andrew Bartlett2012-09-123-10/+0
| | | | | | | | | | forwarder' This simplifies a very common configuration. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/param: change the default for 'allow dns updates' to 'secure only'Stefan Metzmacher2012-09-121-1/+1
| | | | metze
* lib/param: add some more alias for 'allow dns updates' options.Stefan Metzmacher2012-09-121-0/+12
| | | | metze
* loadparm: dns is now a default server serviceKai Blin2012-09-121-1/+1
|
* s3: introduce a new share config option "durable handles" defaulting to "yes"Michael Adam2012-09-082-0/+10
| | | | | | | | | | | | | | | This is in order to be able to turn durable handles off and on on a per share basis. Note: This is only used in combination with: kernel share modes = no kernel oplocks = no posix locking = no Which means CIFS/SMB2 only access. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: add an option "kernel share modes" to be able to switch off using kernel ↵Michael Adam2012-09-082-0/+10
| | | | | | flocks Signed-off-by: Stefan Metzmacher <metze@samba.org>
* loadparm: remove remnants of removed option "share modes"Michael Adam2012-09-081-1/+0
| | | | | | (This completes commit d0878b3b8179b1cf061e1058bacbe670363b51c6) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* param: remove unused define FN_LOCAL_PARM_CHAR()Michael Adam2012-09-071-2/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-printing: Restrict printing=cups to systems with cups development headers ↵Andrew Bartlett2012-09-061-0/+4
| | | | | | | | | at build time This means that instead of failing due to the default commandline values not being quite correct that we clearly fail at loadparm and testparm time when parsing the printing= line. Andrew Bartlett
* lib/param: fix usage of 'write list = +Group'Stefan Metzmacher2012-08-241-2/+8
| | | | | | | metze Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Aug 24 11:28:17 CEST 2012 on sn-devel-104
* build: Remove special case for the build farmAndrew Bartlett2012-08-212-2/+2
| | | | | | | | | | | Except in the formatting of the selftest output, this removes the special case of the build farm, so that an autobuild, a manual make test and the build farm are more similar. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 06:39:04 CEST 2012 on sn-devel-104
* lib/param: move enum dns_update_settings to lib/paramChristian Ambach2012-08-062-1/+3
|
* lib/param: Also enable vlp when --enable-selftest is specifiedAndrew Bartlett2012-08-062-2/+2
|
* lib/param: Rename "socket address" to "nbt client socket address" to clarify ↵Andrew Bartlett2012-07-273-3/+12
| | | | | | | | | | | | | role This parameter is only used in our NBT client code and in nmbd as a fallback when we fail to select a better interface from "interfaces" to use directly. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 27 12:16:25 CEST 2012 on sn-devel-104
* lib/param: Mark lpcfg_cachedir and lpcfg_statedir as const char *Andrew Bartlett2012-07-271-2/+2
| | | | | | | | | This matters as we sync up the declarations with the source3/param code. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 27 05:26:45 CEST 2012 on sn-devel-104
* lib/param: Remove unused "paranoid server security"Andrew Bartlett2012-07-273-11/+0
| | | | | | This became unused when security=server went away. Andrew Bartlett
* docs: Mark "socket address" as deprecatedAndrew Bartlett2012-07-271-1/+1
|
* param: Make socket_address common, Revert ↵Andrew Bartlett2012-07-272-1/+1
| | | | | | | | | | | | | | | | 611ef42053eb99f4c29d4efa86eaea9f1ca06286 This essentially reverts the commit 611ef42053eb99f4c29d4efa86eaea9f1ca06286 Author: Yasuma Takeda <yasuma@osstech.co.jp> Date: Fri Dec 5 13:37:51 2008 -0800 Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.conf Intead, the documentation is fixed so that the correct default is recorded. Removing the special case handling here allows this to be dealt with in the same way as all other parameters. Andrew Bartlett
* lib/param: Merge parameter tables into a common fileAndrew Bartlett2012-07-272-4123/+4126
| | | | | | | | This file is then included into both loadparm systems. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* lib/param: Merge in source3 parameters into parmeter tableAndrew Bartlett2012-07-271-15/+48
| | | | | | | | | | This finishes the series to remove the various warnings from smb.conf loading when a source3 parameter is used. Based on an earlier patch Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
* lib/param: Merge "Security Options" section from source3/paramAndrew Bartlett2012-07-271-24/+589
| | | | | | | | | This will make the merge of the whole table smoother. Based on an earlier patch Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
* lib/param: Merge "Logging Options" section from source3/paramAndrew Bartlett2012-07-271-7/+109
| | | | | | | | | This will make the merge of the whole table smoother. Based on an earlier patch Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
* lib/param: Merge "Protocol Options" section from source3/paramAndrew Bartlett2012-07-271-54/+253
| | | | | | | | | This will make the merge of the whole table smoother. Based on an earlier patch Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
* lib/param: Merge "Tuning Options" section from source3/paramAndrew Bartlett2012-07-271-4/+252
| | | | | | This will reduced the weight of the eventual merge of all of source3/param. Andrew Bartlett