summaryrefslogtreecommitdiff
path: root/lib/param
AgeCommit message (Collapse)AuthorFilesLines
2012-07-24lib/param: Merge VFS and MSDFS parameters from source3 into lib/paramAndrew Bartlett1-9/+44
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 Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Jul 24 12:53:17 CEST 2012 on sn-devel-104
2012-07-24lib/param: Merge Winbind parameters from source3 into lib/paramAndrew Bartlett1-23/+247
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
2012-07-24lib/param: Merge DNS parameters with source3 paramAndrew Bartlett1-18/+29
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
2012-07-24lib/param: Rearrange AD DC options to make a merge with the source3 table easierAndrew Bartlett1-50/+53
Andrew Bartlett
2012-07-24lib/param: Re-arrange TLS parameters into their own sectionAndrew Bartlett1-48/+51
This makes the merge with the source3 table less disruptive Based on an earlier patch: Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Andrew Bartlett
2012-07-24lib/param: Add handler overridesAndrew Bartlett1-0/+18
These #defines allow us to merge the parameter table without providing the handler functions quite yet. This helps us do this task in stages. Andrew Bartlett
2012-07-24lib/param: Merge handling of security/domain master/domain logons/server roleAndrew Bartlett2-19/+13
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-0/+1
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24lib/param: Move all enum declarations to lib/paramAndrew Bartlett2-0/+219
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 Bartlett2-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-24lib/param: Remove 'case insensitive filesystem'Andrew Bartlett2-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
2012-07-24lib/param: Remove "ntptr providor" and hard-code in s4 spoolss serverAndrew Bartlett2-10/+0
This stub codebase does not justify a merged parameter. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24param: Make internal handler for 'server role' commonAndrew Bartlett2-1/+1
2012-07-24param: Make the 'unicode' parameter commonAndrew Bartlett2-1/+1
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-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
2012-07-19lib/param: bring lp_smb_ports() into common by making it a list everywhereAndrew Bartlett2-1/+1
2012-07-19s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett2-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>
2012-07-19s4-param: Remove unused "idmap trusted only"Andrew Bartlett1-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>
2012-07-19lib/param: Add my copyrightAndrew Bartlett1-0/+1
2012-07-19lib/param: bring lp_time_server() into commonAndrew Bartlett2-1/+1
2012-06-29lib/param: let "SMB2" select PROTOCOL_SMB2_10Stefan Metzmacher1-1/+1
metze
2012-06-27s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett2-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
2012-06-25lib/param: add "SMB3" as alias for PROTOCOL_SMB3_00Stefan Metzmacher1-0/+1
metze
2012-06-18lib/param: add missing prototype of lpcfg_parm_long()Stefan Metzmacher1-0/+3
metze
2012-06-16s4-lib/param: FLAG DAY for the default FILE SERVERAndrew Bartlett1-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
2012-06-15s3-build: Do not write loadparm generated files into the build treeAndrew Bartlett2-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
2012-06-15lib/param: Use server role = 'standalone server' to be consistant with ↵Andrew Bartlett1-0/+1
member server standalne is left as an alias. Andrew Bartlett
2012-06-15lib/param: make security=domain and security=ads conflict with being a DCAndrew Bartlett1-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
2012-06-15lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett3-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
2012-06-11lib/param: simplfy lp_find_security()Andrew Bartlett1-5/+0
All the roles other than ROLE_DOMAIN_MEMBER map to SEC_USER. Andrew Bartlett
2012-05-30lib/param: Put common FN_ macros into param_functions.cAndrew Bartlett3-256/+257
This will in turn make it possible to put the actual parameter definitions in common. Andrew Bartlett
2012-05-30lib/param: Add a few more s3 parametersAndrew Bartlett1-0/+4
2012-05-30lib/param: Import s3 parameters into lib/param to allow the parameter lists ↵Andrew Bartlett1-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
2012-05-30lib/param: Mark a few more parameters const (matching s3)Andrew Bartlett1-12/+13
While this makes no difference in the lib/param code, this allows the C files to be compared and merged. Andrew Bartlett
2012-05-30param: mark realm parameter as constAndrew Bartlett1-1/+1
2012-05-30param: Sort global param functions macros to ease the s3/s4 mergeAndrew Bartlett1-81/+78
This makes it easier to them merge these two function lists without changing the meaning of the output. Andrew Bartlett
2012-05-30lib/param: Add .flags to max/min protocol to match s3Andrew Bartlett1-4/+8
This reduces the difference in the parameter tables. Andrew Bartlett
2012-05-30lib/param: Add .flags to wins parameters to match s3Andrew Bartlett1-2/+4
This reduces the difference in the parameter tables. Andrew Bartlett
2012-05-30lib/param: Harmonise 'password server' parameter between s3 and s4Andrew Bartlett1-3/+3
2012-05-15s3-auth: remove "security=server" (depricated since 3.6)Stefan Metzmacher2-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 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
2012-05-06lib/param: add support for "SMB3_00"Stefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun May 6 16:38:00 CEST 2012 on sn-devel-104
2012-04-19loadparm: Add helper function to fetch default lifetime policiesSimo Sorce2-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.
2012-04-19loadparm: Add convenience function to return long integersSimo Sorce1-0/+25
2012-04-19loadparm: Fix broken lp_ulong utility functionSimo Sorce1-2/+2
2012-04-19Move README file in the right place.Simo Sorce1-0/+4
Someone forgot to move the README when they moved the code ...
2012-04-16param: harmonise wins parametersAndrew Bartlett1-8/+8
2012-04-16lib/param: swap preferred name for 'lock dir' to match s3Andrew Bartlett1-2/+2
2012-04-16param: Merge common param elements by adding .flagsAndrew Bartlett1-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
2012-04-16param: harmonsise logfile parameterAndrew Bartlett1-1/+2
2012-04-16param: Merge common param elements by adding .flagsAndrew Bartlett1-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