summaryrefslogtreecommitdiffstats
path: root/lib/param
Commit message (Collapse)AuthorAgeFilesLines
* lib/param: Rename param_enums.c to param_table.cAndrew Bartlett2012-07-242-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
* lib/param: Remove 'case insensitive filesystem'Andrew Bartlett2012-07-242-9/+0
| | | | | | | | We use the slightly confusing 'case sensitive = yes' option for the same behaviour. This avoids adding even more confusing documentation for the ntvfs-only option. Andrew Bartlett
* lib/param: Remove "ntptr providor" and hard-code in s4 spoolss serverAndrew Bartlett2012-07-242-10/+0
| | | | | | | | This stub codebase does not justify a merged parameter. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* param: Make internal handler for 'server role' commonAndrew Bartlett2012-07-242-1/+1
|
* param: Make the 'unicode' parameter commonAndrew Bartlett2012-07-242-1/+1
| | | | | | 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-0/+1
| | | | | | | | | | | | | | | 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-192-1/+1
|
* s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett2012-07-192-1/+1
| | | | | | | | | 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>
* s4-param: Remove unused "idmap trusted only"Andrew Bartlett2012-07-191-12/+0
| | | | | | | | | When we revamp the idmap layer, we will end up just following the s3 options, and this option is not used there either. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* lib/param: Add my copyrightAndrew Bartlett2012-07-191-0/+1
|
* lib/param: bring lp_time_server() into commonAndrew Bartlett2012-07-192-1/+1
|
* lib/param: let "SMB2" select PROTOCOL_SMB2_10Stefan Metzmacher2012-06-291-1/+1
| | | | metze
* s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett2012-06-272-3/+3
| | | | | | | | | | | | | | | | | 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
* lib/param: add "SMB3" as alias for PROTOCOL_SMB3_00Stefan Metzmacher2012-06-251-0/+1
| | | | metze
* lib/param: add missing prototype of lpcfg_parm_long()Stefan Metzmacher2012-06-181-0/+3
| | | | metze
* s4-lib/param: FLAG DAY for the default FILE SERVERAndrew Bartlett2012-06-161-2/+2
| | | | | | | | | | | This commit changes the default file server to be s3fs. Existing installs wishing to keep the ntvfs file server need to set this in their smb.conf: server services = +smb -s3fs dcerpc endpoint services = +winreg +srvsvc Andrew Bartlett
* s3-build: Do not write loadparm generated files into the build treeAndrew Bartlett2012-06-152-4/+4
| | | | | | | | | We need to keep these files away from where waf might see them. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jun 15 11:10:14 CEST 2012 on sn-devel-104
* lib/param: Use server role = 'standalone server' to be consistant with ↵Andrew Bartlett2012-06-151-0/+1
| | | | | | | | member server standalne is left as an alias. Andrew Bartlett
* lib/param: make security=domain and security=ads conflict with being a DCAndrew Bartlett2012-06-151-18/+2
| | | | | | | | | | | This simplifies our supported configurations down to those that we test and expect to work. security=domain and domain logons = yes has never made much sense, and security=ads and domain logons = yes was only ever used in early experiments for our AD support using smbd. The correct way to be an AD DC is to set "server role = active directory domain controller" Andrew Bartlett
* lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett2012-06-153-5/+9
| | | | | | | | | | | | | | | controller" This will allow us to detect from the smb.conf if this is a Samba4 AD DC which will allow smarter handling of (for example) accidentially starting smbd rather than samba. To cope with upgrades from existing Samba4 installs, 'domain controller' is a synonym of 'active directory domain controller' and new parameters 'classic primary domain controller' and 'classic backup domain controller' are added. Andrew Bartlett
* lib/param: simplfy lp_find_security()Andrew Bartlett2012-06-111-5/+0
| | | | | | All the roles other than ROLE_DOMAIN_MEMBER map to SEC_USER. Andrew Bartlett
* lib/param: Put common FN_ macros into param_functions.cAndrew Bartlett2012-05-303-256/+257
| | | | | | | This will in turn make it possible to put the actual parameter definitions in common. Andrew Bartlett
* lib/param: Add a few more s3 parametersAndrew Bartlett2012-05-301-0/+4
|
* lib/param: Import s3 parameters into lib/param to allow the parameter lists ↵Andrew Bartlett2012-05-301-0/+164
| | | | | | | | | | | | merge This will allow us to create just one list of the FN_ macros, included into both parameter systems. This will in turn allow the actual parameter definitions to be merged in a similar way. Andrew Bartlett
* lib/param: Mark a few more parameters const (matching s3)Andrew Bartlett2012-05-301-12/+13
| | | | | | | While this makes no difference in the lib/param code, this allows the C files to be compared and merged. Andrew Bartlett
* param: mark realm parameter as constAndrew Bartlett2012-05-301-1/+1
|
* param: Sort global param functions macros to ease the s3/s4 mergeAndrew Bartlett2012-05-301-81/+78
| | | | | | | This makes it easier to them merge these two function lists without changing the meaning of the output. Andrew Bartlett
* lib/param: Add .flags to max/min protocol to match s3Andrew Bartlett2012-05-301-4/+8
| | | | | | This reduces the difference in the parameter tables. Andrew Bartlett
* lib/param: Add .flags to wins parameters to match s3Andrew Bartlett2012-05-301-2/+4
| | | | | | This reduces the difference in the parameter tables. Andrew Bartlett
* lib/param: Harmonise 'password server' parameter between s3 and s4Andrew Bartlett2012-05-301-3/+3
|
* s3-auth: remove "security=server" (depricated since 3.6)Stefan Metzmacher2012-05-152-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | "security=server" has a lot of problems in the world with modern security (ntlmv2 and krb5). It was also not very reliable, as it needed a stable connection to the password server for the lifetime of the whole client connection! Please use "security=domain" or "security=ads" is you authentication against remote servers (domain controllers). metze -------------- / \ / REST \ / IN \ / PEACE \ / \ | SEC_SERVER | | security=server | | | | | | 12 May | | | | 2012 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
* lib/param: add support for "SMB3_00"Stefan Metzmacher2012-05-061-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun May 6 16:38:00 CEST 2012 on sn-devel-104
* loadparm: Add helper function to fetch default lifetime policiesSimo Sorce2012-04-192-0/+24
| | | | | | This use long to fetch time_t quantities, because there are architectures were time_t is a signed long but long != int, So long is the proper way to deal with it.
* loadparm: Add convenience function to return long integersSimo Sorce2012-04-191-0/+25
|
* loadparm: Fix broken lp_ulong utility functionSimo Sorce2012-04-191-2/+2
|
* Move README file in the right place.Simo Sorce2012-04-191-0/+4
| | | | Someone forgot to move the README when they moved the code ...
* param: harmonise wins parametersAndrew Bartlett2012-04-161-8/+8
|
* lib/param: swap preferred name for 'lock dir' to match s3Andrew Bartlett2012-04-161-2/+2
|
* param: Merge common param elements by adding .flagsAndrew Bartlett2012-04-161-40/+80
| | | | | | | This removes the difference between many of the key elements of the global parameters table, and makes it easier to merge the two tables. Andrew Bartlett
* param: harmonsise logfile parameterAndrew Bartlett2012-04-161-1/+2
|
* param: Merge common param elements by adding .flagsAndrew Bartlett2012-04-161-17/+34
| | | | | | | This removes the difference between many of the key elements of the global parameters table, and makes it easier to merge the two tables. Andrew Bartlett
* s3:param convert kernel oplocks to share parameterChristian Ambach2012-04-111-0/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s4 dns: Check smb.conf if we should allow recursionKai Blin2012-03-271-0/+21
|
* s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett2012-03-042-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes security=share, which Samba implemented by matching the per-share password provided by the client in the Tree Connect with a selection of usernames supplied by the client, the smb.conf or guessed from the environment. The rationale for the removal is that for the bulk of security=share users, we just we need a very simple way to run a 'trust the network' Samba server, where users mark shares as guest ok. This is still supported, and the smb.conf options are documented at https://wiki.samba.org/index.php/Public_Samba_Server At the same time, this closes the door on one of the most arcane areas of Samba authentication. Naturally, full user-name/password authentication remain available in security=user and above. This includes documentation updates for username and only user, which now only do a small amount of what they used to do. Andrew Bartlett -------------- / \ / REST \ / IN \ / PEACE \ / \ | SEC_SHARE | | security=share | | | | | | 5 March | | | | 2012 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
* s3-param: Align lp_{max,min}protocol with lib/param namesAndrew Bartlett2012-02-271-0/+24
| | | | | | | | | | This adds an alisas to ensure that both our loadparm systems know all the names. I would like to move to the 'server ..' name as canonical, and this will be raised on the list. Andrew Bartlett
* loadparm: handle P_SEP in switches (silences warning with clang).Jelmer Vernooij2012-02-071-0/+5
|
* param: handle P_BYTES in more placesAndrew Bartlett2012-01-211-0/+1
|
* lib/param: avoid talloc_reference() in copy_service()Stefan Metzmacher2012-01-111-3/+3
| | | | | | | | | | | The memory reduction compared of talloc_reference() over talloc_strdup() is typically very low. As the strings are typically short compared to the talloc header overhead. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 11 16:13:50 CET 2012 on sn-devel-104
* gensec: Allow an alternate set of modules to be specifiedAndrew Bartlett2011-12-281-1/+1
| | | | | | | This will allow s3 to specify modules to use as a list, rather than needing to start the individual module with gensec_start_mech_by_ops() Andrew Bartlett
* lib/param: add support for "SMB2_24" in smb.conf optionsStefan Metzmacher2011-12-221-0/+1
| | | | metze