summaryrefslogtreecommitdiffstats
path: root/source3/param
Commit message (Collapse)AuthorAgeFilesLines
* s3: introduce a new share config option "durable handles" defaulting to "yes"Michael Adam2012-09-081-0/+1
| | | | | | | | | | | | | | | 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-081-0/+1
| | | | | | flocks Signed-off-by: Stefan Metzmacher <metze@samba.org>
* loadparm: remove remnants of removed option "share modes"Michael Adam2012-09-081-3/+0
| | | | | | (This completes commit d0878b3b8179b1cf061e1058bacbe670363b51c6) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:param: change "server max protocol" to "SMB3"Stefan Metzmacher2012-09-081-1/+1
| | | | metze
* s3-printing: Restrict printing=cups to systems with cups development headers ↵Andrew Bartlett2012-09-061-14/+0
| | | | | | | | | 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
* s3-passdb: Rename pdb_samba4 to samba_dsdb and autoconfigure when we are a AD DCAndrew Bartlett2012-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The name samba_dsdb is not ideal, but it matches the primary ldb module we use, and more importantly it avoids having '4' in the name. We should slowly avoid using the term samba4 in long-term places like the smb.conf because it is confusing to users given we are shipping Samba 4.0 as an AD DC as well as all the other supported roles (domain member/standalone server/classic DC) Additionally, samba4 will be an odd name when we eventually release Samba 5.0! samba4 remains accepted as an alias to ensure existing smb.conf files load, but to allow changes here in the future, we set the value during the smb.conf load, and not during the provision when we are an AD DC. This simplifies the default smb.conf for the vast majority of our users and reduces the number of things listed in smb.conf files that we later have to work around if we wish to change the name/implementation of the passdb glue module again. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Sep 4 04:45:16 CEST 2012 on sn-devel-104
* s3-param: Avoid assert on use of talloc_tos() without stackframeAndrew Bartlett2012-08-281-2/+3
| | | | | | This is hit during samba-tool domain classicupgrade Andrew Bartlett
* file_server: Move default VFS module settings to loadparm.cAndrew Bartlett2012-08-231-0/+13
| | | | | | | | | | This means that any utility that calls into the VFS layer will get the right modules. Because we use the fake_acls backend we need to override this whole list in Samba4.pm however. Andrew Bartlett
* build: Remove special case for the build farmAndrew Bartlett2012-08-211-1/+1
| | | | | | | | | | | 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
* s3:smbd: lp_smb_encrypt() returns SMB_SIGNING_* valuesStefan Metzmacher2012-08-171-1/+1
| | | | metze
* s3:param: fix compiler warnings with FN_GLOBAL_CONST_STRING()Stefan Metzmacher2012-08-101-1/+1
| | | | metze
* Correctly check for errors in strlower_m() returns.Jeremy Allison2012-08-092-2/+7
|
* s3-param: Remove never-reached condition for popts == NULLAndrew Bartlett2012-08-071-4/+0
| | | | | | | | | All the callers provide a parametric options pointer to fill in. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 7 17:16:38 CEST 2012 on sn-devel-104
* s3-param: Remove never-reached condition for opt_list == NULLAndrew Bartlett2012-08-071-4/+0
| | | | | | All the callers provide a parametric options pointer to fill in. Andrew Bartlett
* source3/loadparm.c: Move string_set/string_free inside.Rusty Russell2012-08-071-0/+52
| | | | | | | The only user, so make them static inside loadparm.c Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* source3/loadparm: make struct loadparm_service a talloc object.Rusty Russell2012-08-071-1/+2
| | | | | | | This gives us a place to allocate members from. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* loadparm: Add ctx member to struct loadparm_global.Rusty Russell2012-08-071-0/+3
| | | | | | | | Rather than tallocing global parameters off NULL, keep it neat by having a Global.ctx member. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* lib/param: move enum dns_update_settings to lib/paramChristian Ambach2012-08-061-1/+0
|
* lib/param: Also enable vlp when --enable-selftest is specifiedAndrew Bartlett2012-08-061-1/+1
|
* lib/param: Rename "socket address" to "nbt client socket address" to clarify ↵Andrew Bartlett2012-07-271-1/+1
| | | | | | | | | | | | | 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: Remove unused "paranoid server security"Andrew Bartlett2012-07-271-1/+0
| | | | | | This became unused when security=server went away. Andrew Bartlett
* param: Make socket_address common, Revert ↵Andrew Bartlett2012-07-271-16/+0
| | | | | | | | | | | | | | | | 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-271-4124/+0
| | | | | | | | This file is then included into both loadparm systems. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s3-param: Merge "log file" parameter with lib/paramAndrew Bartlett2012-07-271-1/+7
| | | | | | | | The lib/param code uses a special handler for setting the log file. We need to set this here, so that we can make this table common. Andrew Bartlett
* lib/param: Merge handling of security/domain master/domain logons/server roleAndrew Bartlett2012-07-242-7/+12
| | | | | | | This ensures that the same input parameters always gives the same output values in both loadparm systems. Andrew Bartlett
* lib/param: Make lp_usershare_max_shares() a common parameterAndrew Bartlett2012-07-241-1/+0
| | | | Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* lib/param: Move all enum declarations to lib/paramAndrew Bartlett2012-07-241-136/+1
| | | | | | | | This is in preperation for the parameter table being made common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* lib/param: Rename param_enums.c to param_table.cAndrew Bartlett2012-07-241-1/+1
| | | | | | | | | This is in preperation for the parameter table being merged into this file. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Jul 24 09:16:44 CEST 2012 on sn-devel-104
* s3-param: Merge parameter varaibles with lib/paramAndrew Bartlett2012-07-241-10/+11
| | | | | Baded on an earlier patch: Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s3-param: fix indent on cups encryptAndrew Bartlett2012-07-241-1/+1
|
* s3-param: Merge a number of s4 parameters from lib/param to make this table ↵Andrew Bartlett2012-07-241-10/+287
| | | | | | | | | | | common This is not finished yet, but this is a downpayment on the final task. Based on an work that that was Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
* param: Make internal handler for 'server role' commonAndrew Bartlett2012-07-241-3/+2
|
* param: Make the 'unicode' parameter commonAndrew Bartlett2012-07-241-0/+9
| | | | | | This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
* s3-param: Remove special case for lp_ctdbd_socket(), set CTDB_PATH as defaultAndrew Bartlett2012-07-191-13/+5
| | | | | | | | | | | | | | | This changes the default based on the #ifdef rather than an override on a parameter value of "" The less special override functions we have the easier it is to merge the loadparm tables. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jul 19 09:56:01 CEST 2012 on sn-devel-104
* lib/param: bring lp_smb_ports() into common by making it a list everywhereAndrew Bartlett2012-07-191-3/+2
|
* s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett2012-07-191-13/+2
| | | | | | | | | This allows this parameter, one of the few with differing declarations between the loadparm systems, to be brought into common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* lib/param: bring lp_time_server() into commonAndrew Bartlett2012-07-191-1/+0
|
* loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *.Rusty Russell2012-07-182-58/+61
| | | | | | | | | | They use talloc_tos() internally: hoist that up to the callers, some of whom don't want to us talloc_tos(). A simple patch, but hits a lot of files. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* Use new common function.Jeremy Allison2012-07-091-1/+1
|
* s3-smbd: Remove deprecated 'share modes' option.Andreas Schneider2012-07-031-9/+0
|
* s3-printing: Remove deprecated lp_printer_admin().Andreas Schneider2012-07-031-10/+0
|
* s3:param: change "server max protocol" to "SMB2" (SMB2_10)Stefan Metzmacher2012-06-291-1/+1
| | | | metze
* s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett2012-06-272-4/+4
| | | | | | | | | | | | | | | | | This helps clarify the role of this structure and wrapper function. The purpose here is to provide helper functions to the lib/param loadparm_context that point back at the s3 lp_ functions. This allows a struct loadparm_context to be passed to any point in the code, and always refer to the correct loadparm system. If this has not been set, the variables loaded in the lib/param code will be returned. As requested by Michael Adam. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 27 17:11:16 CEST 2012 on sn-devel-104
* s3-smbd: Remove support for protocols before LANMAN1Andrew Bartlett2012-06-051-1/+1
| | | | | | | This falls out of the removal of security=share, because we now require that a session setup has been performed before (essentially) all other operations. Andrew Bartlett
* Forward port of Richard Sharpe's <realrichardsharpe@gmail.com> fix for bug ↵Jeremy Allison2012-05-311-1/+5
| | | | #8970 - Possible memory leaks in the samba master process.
* s3-loadparm: Swap synonyms of max/min protocol to server max/min protocolAndrew Bartlett2012-05-301-4/+4
| | | | | | | | | | This matches the lib/param code, as is a seperate parameter for the client there. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 30 06:04:41 CEST 2012 on sn-devel-104
* lib/param: Put common FN_ macros into param_functions.cAndrew Bartlett2012-05-301-254/+9
| | | | | | | This will in turn make it possible to put the actual parameter definitions in common. Andrew Bartlett
* s3-param: Use same function name for "max xmit" as lib/paramAndrew Bartlett2012-05-301-1/+1
| | | | | | Again, this helps with merging the FN_ list. Andrew Bartlett
* s3-param: Use same variable names as lib/paramAndrew Bartlett2012-05-301-10/+10
| | | | | | Again, this helps with merging the FN_ list. Andrew Bartlett
* s3-param: Import parameters from lib/param to make this list commonAndrew Bartlett2012-05-301-0/+26
| | | | | | This will allow the list of FN_ macros to be made a common .c file. Andrew Bartlett