summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* s3-param: Rename lp_dns_proxy() -> lp_wins_dns_proxy() for clarityAndrew Bartlett2012-05-301-1/+1
| | | | | | This avoids some confusion now we have a DNS server as well. Andrew Bartlett
* param: Sort global param functions macros to ease the s3/s4 mergeAndrew Bartlett2012-05-301-236/+228
| | | | | | | This makes it easier to them merge these two function lists without changing the meaning of the output. Andrew Bartlett
* s3-auth: remove "security=server" (depricated since 3.6)Stefan Metzmacher2012-05-151-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 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
* s3-loadparm: Add synonym "private directory".Karolin Seeger2012-05-111-0/+9
| | | | | | | Karolin Autobuild-User: Karolin Seeger <kseeger@samba.org> Autobuild-Date: Fri May 11 13:04:03 CEST 2012 on sn-devel-104
* s3: Return CTDB_PATH from lp_ctdbd_socket()Volker Lendecke2012-04-171-1/+17
| | | | All callers had that fallback
* s3: switch off kernel oplocks by defaultChristian Ambach2012-04-161-1/+1
| | | | | as discussed on samba-technical, turn kernel oplocks off by default to not leave users without the benefits of Level II oplocks
* param: leave realm as a normal string, handle upper/lower case in handle_realmAndrew Bartlett2012-04-161-1/+1
| | | | | | This matches the behaviour of lib/param. Andrew Bartlett
* param: harmonise wins parametersAndrew Bartlett2012-04-161-3/+3
|
* s3-param: make FN_GLOBAL macros consistent, add lp_ using the macroAndrew Bartlett2012-04-161-250/+250
| | | | | | | This will make it easier to share the parameter tables between this and lib/param. Andrew Bartlett
* param: Change from _lp to lp__ as the prefix for internal parameter wrappersAndrew Bartlett2012-04-161-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
* make _lp_readraw() and _lp_writeraw() staticAndrew Bartlett2012-04-161-2/+2
|
* param: harmonsise logfile parameterAndrew Bartlett2012-04-161-6/+6
|
* s3:param convert kernel oplocks to share parameterChristian Ambach2012-04-111-7/+4
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* build: Remove SMB_STRUCT_DIR defineAndrew Bartlett2012-04-051-2/+2
|
* build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett2012-04-051-1/+1
|
* build: Remove sys_closedir wrapperAndrew Bartlett2012-04-051-3/+3
|
* build: Remove sys_readdir wrapperAndrew Bartlett2012-04-051-1/+1
|
* build: Remove sys_opendir wrapperAndrew Bartlett2012-04-051-2/+2
|
* build: Remove sys_open wrapperAndrew Bartlett2012-04-051-2/+2
|
* Change default protocol to SMB2_02.Jeremy Allison2012-03-071-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 7 22:41:21 CET 2012 on sn-devel-104
* s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett2012-03-041-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 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
* s3-param: Align lp_{max,min}protocol with lib/param namesAndrew Bartlett2012-02-271-10/+28
| | | | | | | | | | 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
* s3-param Remove off-by-default and unused "send spnego principal"Andrew Bartlett2012-02-161-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>
* s3-param: Remove unused share_defined()Andrew Bartlett2012-02-101-5/+0
| | | | | | Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
* s3: Fix bug 8695Volker Lendecke2012-01-171-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jan 17 18:55:01 CET 2012 on sn-devel-104
* s3: Avoid a potential alignment requirement issueVolker Lendecke2012-01-061-3/+2
|
* s3-loadparm: mark a few parameters as having P_BYTES typeAndrew Tridgell2011-12-221-12/+12
| | | | | | | | | this fixes a problem with "max xmit = 32K" resulting in a maximum SMB transmit size of 32 bytes, which makes for some very interesting network traces! This is what was causing smbtorture to consume gigabytes of memory in the rpc.schannel test
* s4 dns: Allow updates based on smb.conf settingKai Blin2011-12-171-0/+1
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sat Dec 17 04:19:40 CET 2011 on sn-devel-104
* s3:param: don't reference conn_snum_used directly in load_usershare_shares()Stefan Metzmacher2011-12-131-2/+3
| | | | | | This uses the same logic as lp_killunused(). metze
* s3-param: loadparm has no dependency to smbldap.Günther Deschner2011-11-171-1/+0
| | | | Guenther
* param: Move enum values into a common (included) .c fileAndrew Bartlett2011-11-171-83/+1
| | | | | | | | | This #include hack is required as it is not possible to declare a compile-time sized array in a header file. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: move server role helpers into loadparm.hAndrew Bartlett2011-11-171-1/+0
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: calculate server role from security, and security from server roleAndrew Bartlett2011-11-171-6/+9
| | | | | | | | | | | | | This allows smb.conf files from either the samba3 or samba4 tradition to come to the same value of server role, using the information in the smb.conf file. This is important so that tools like 'net getlocalsid' work against a Samba4 AD installation (yes, users have tried this). Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* s3-param remove lp_domain_logons(), always use IS_DCAndrew Bartlett2011-11-171-1/+1
| | | | | | | | This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: make server role list common and include auto (for the new default)Andrew Bartlett2011-11-171-3/+8
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* s3-param: Add "server role" as global parameterAmitay Isaacs2011-11-171-0/+28
| | | | | This will help extracting server role processing code in common library.
* s3:param: change default of "* signing" to "default"Stefan Metzmacher2011-11-031-2/+2
| | | | | | | | | This should not change the bahavior. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 3 18:33:34 CET 2011 on sn-devel-104
* s3:param: make use of SMB_SIGNING_* constantsStefan Metzmacher2011-11-031-18/+20
| | | | metze
* s3:param: the behavior of "client/server signing = auto" is the same as "true"Stefan Metzmacher2011-11-031-2/+2
| | | | | | So remove the special case for 'Auto'. metze
* libcli/smb: move smb_signing.[ch] to the toplevelStefan Metzmacher2011-10-251-1/+1
| | | | metze
* Deprecate "acl check permissions".Jeremy Allison2011-10-211-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 21 21:51:18 CEST 2011 on sn-devel-104
* s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵Michael Adam2011-10-111-5/+16
| | | | dbwrap_fetch_bystring_upper() to NTSTATUS
* s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam2011-10-111-0/+1
|