summaryrefslogtreecommitdiff
path: root/source3/param
AgeCommit message (Collapse)AuthorFilesLines
2012-07-24lib/param: Merge handling of security/domain master/domain logons/server roleAndrew Bartlett2-7/+12
This ensures that the same input parameters always gives the same output values in both loadparm systems. Andrew Bartlett
2012-07-24lib/param: Make lp_usershare_max_shares() a common parameterAndrew Bartlett1-1/+0
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24lib/param: Move all enum declarations to lib/paramAndrew Bartlett1-136/+1
This is in preperation for the parameter table being made common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24lib/param: Rename param_enums.c to param_table.cAndrew Bartlett1-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
2012-07-24s3-param: Merge parameter varaibles with lib/paramAndrew Bartlett1-10/+11
Baded on an earlier patch: Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24s3-param: fix indent on cups encryptAndrew Bartlett1-1/+1
2012-07-24s3-param: Merge a number of s4 parameters from lib/param to make this table ↵Andrew Bartlett1-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
2012-07-24param: Make internal handler for 'server role' commonAndrew Bartlett1-3/+2
2012-07-24param: Make the 'unicode' parameter commonAndrew Bartlett1-0/+9
This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
2012-07-19s3-param: Remove special case for lp_ctdbd_socket(), set CTDB_PATH as defaultAndrew Bartlett1-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
2012-07-19lib/param: bring lp_smb_ports() into common by making it a list everywhereAndrew Bartlett1-3/+2
2012-07-19s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett1-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>
2012-07-19lib/param: bring lp_time_server() into commonAndrew Bartlett1-1/+0
2012-07-18loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *.Rusty Russell2-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>
2012-07-09Use new common function.Jeremy Allison1-1/+1
2012-07-03s3-smbd: Remove deprecated 'share modes' option.Andreas Schneider1-9/+0
2012-07-03s3-printing: Remove deprecated lp_printer_admin().Andreas Schneider1-10/+0
2012-06-29s3:param: change "server max protocol" to "SMB2" (SMB2_10)Stefan Metzmacher1-1/+1
metze
2012-06-27s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett2-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
2012-06-05s3-smbd: Remove support for protocols before LANMAN1Andrew Bartlett1-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
2012-05-31Forward port of Richard Sharpe's <realrichardsharpe@gmail.com> fix for bug ↵Jeremy Allison1-1/+5
#8970 - Possible memory leaks in the samba master process.
2012-05-30s3-loadparm: Swap synonyms of max/min protocol to server max/min protocolAndrew Bartlett1-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
2012-05-30lib/param: Put common FN_ macros into param_functions.cAndrew Bartlett1-254/+9
This will in turn make it possible to put the actual parameter definitions in common. Andrew Bartlett
2012-05-30s3-param: Use same function name for "max xmit" as lib/paramAndrew Bartlett1-1/+1
Again, this helps with merging the FN_ list. Andrew Bartlett
2012-05-30s3-param: Use same variable names as lib/paramAndrew Bartlett1-10/+10
Again, this helps with merging the FN_ list. Andrew Bartlett
2012-05-30s3-param: Import parameters from lib/param to make this list commonAndrew Bartlett1-0/+26
This will allow the list of FN_ macros to be made a common .c file. Andrew Bartlett
2012-05-30s3-param: Rename lp_dns_proxy() -> lp_wins_dns_proxy() for clarityAndrew Bartlett1-1/+1
This avoids some confusion now we have a DNS server as well. Andrew Bartlett
2012-05-30param: Sort global param functions macros to ease the s3/s4 mergeAndrew Bartlett1-236/+228
This makes it easier to them merge these two function lists without changing the meaning of the output. Andrew Bartlett
2012-05-30lib/param: Harmonise 'password server' parameter between s3 and s4Andrew Bartlett1-0/+2
2012-05-15s3-auth: remove "security=server" (depricated since 3.6)Stefan Metzmacher1-4/+0
"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 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
2012-05-11s3-loadparm: Add synonym "private directory".Karolin Seeger1-0/+9
Karolin Autobuild-User: Karolin Seeger <kseeger@samba.org> Autobuild-Date: Fri May 11 13:04:03 CEST 2012 on sn-devel-104
2012-04-17s3: Return CTDB_PATH from lp_ctdbd_socket()Volker Lendecke1-1/+17
All callers had that fallback
2012-04-16s3: switch off kernel oplocks by defaultChristian Ambach1-1/+1
as discussed on samba-technical, turn kernel oplocks off by default to not leave users without the benefits of Level II oplocks
2012-04-16param: leave realm as a normal string, handle upper/lower case in handle_realmAndrew Bartlett1-1/+1
This matches the behaviour of lib/param. Andrew Bartlett
2012-04-16param: harmonise wins parametersAndrew Bartlett1-3/+3
2012-04-16s3-param: make FN_GLOBAL macros consistent, add lp_ using the macroAndrew Bartlett1-250/+250
This will make it easier to share the parameter tables between this and lib/param. Andrew Bartlett
2012-04-16param: Change from _lp to lp__ as the prefix for internal parameter wrappersAndrew Bartlett1-6/+6
This will make a merge with the lib/param param code easier, as we can then paste lp_ to the front of all parameters unconditionally. Andrew Bartlett
2012-04-16make _lp_readraw() and _lp_writeraw() staticAndrew Bartlett1-2/+2
2012-04-16param: harmonsise logfile parameterAndrew Bartlett1-6/+6
2012-04-11s3:param convert kernel oplocks to share parameterChristian Ambach1-7/+4
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-05build: Remove SMB_STRUCT_DIR defineAndrew Bartlett1-2/+2
2012-04-05build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett1-1/+1
2012-04-05build: Remove sys_closedir wrapperAndrew Bartlett1-3/+3
2012-04-05build: Remove sys_readdir wrapperAndrew Bartlett1-1/+1
2012-04-05build: Remove sys_opendir wrapperAndrew Bartlett1-2/+2
2012-04-05build: Remove sys_open wrapperAndrew Bartlett1-2/+2
2012-03-07Change default protocol to SMB2_02.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 7 22:41:21 CET 2012 on sn-devel-104
2012-03-04s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett1-15/+2
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 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
2012-02-27s3-param: Align lp_{max,min}protocol with lib/param namesAndrew Bartlett2-10/+31
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
2012-02-16s3-param Remove off-by-default and unused "send spnego principal"Andrew Bartlett1-10/+0
This is not honoured by the common SPNEGO code. This matches mondern windows versions which do not send this value, as it would be insecure for a client to rely on it. (See also the depricated client use spnego principal directive). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>