summaryrefslogtreecommitdiff
path: root/lib/param/loadparm.c
AgeCommit message (Collapse)AuthorFilesLines
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-24lib/param: Remove 'case insensitive filesystem'Andrew Bartlett1-8/+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 Bartlett1-9/+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 Bartlett1-1/+0
2012-07-24param: Make the 'unicode' parameter commonAndrew Bartlett1-1/+0
This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
2012-07-19lib/param: bring lp_smb_ports() into common by making it a list everywhereAndrew Bartlett1-1/+0
2012-07-19s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett1-1/+0
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 Bartlett1-1/+0
2012-06-27s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett1-2/+2
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-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 Bartlett1-3/+3
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-05-30lib/param: Put common FN_ macros into param_functions.cAndrew Bartlett1-250/+1
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-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-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
2012-03-27s4 dns: Check smb.conf if we should allow recursionKai Blin1-0/+21
2012-02-27s3-param: Align lp_{max,min}protocol with lib/param namesAndrew Bartlett1-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
2012-02-07loadparm: handle P_SEP in switches (silences warning with clang).Jelmer Vernooij1-0/+5
2012-01-21param: handle P_BYTES in more placesAndrew Bartlett1-0/+1
2012-01-11lib/param: avoid talloc_reference() in copy_service()Stefan Metzmacher1-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
2011-12-28gensec: Allow an alternate set of modules to be specifiedAndrew Bartlett1-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
2011-12-22param: domain_logons and domain_master are of type enum_bool_autoAmitay Isaacs1-1/+1
These parameters should be defined as int and not bool. This fixes the test failures on big endian machines. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu Dec 22 10:37:42 CET 2011 on sn-devel-104
2011-12-17s4 dns: Allow updates based on smb.conf settingKai Blin1-0/+12
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sat Dec 17 04:19:40 CET 2011 on sn-devel-104
2011-12-16lib/param: Set s4 "host msdfs = true" by defaultAndrew Bartlett1-0/+2
This matches the s3 loadparm, and makes this feature available by default for our users in a DC environment. (This is needed for the correct operation of GPOs). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Dec 16 01:08:34 CET 2011 on sn-devel-104
2011-12-15loadparm: fixed service list handlingAndrew Tridgell1-14/+4
when you have: server services = +smb -s3fs and 'smb' is already in the list, then this should not be an error. This ensures that a config that specifically sets the services it wants doesn't generate an error if the service list being set happens to be the default
2011-12-08Add samba_kcc load parameterDave Craft1-0/+11
Configures parameter to enumerate name of python KCC topology generator for subsequent use by samba_runcmd_send() invocation from kcc task Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-17param: Connect lp_security to the lib/param code to allow testsAndrew Bartlett1-0/+10
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: Move enum values into a common (included) .c fileAndrew Bartlett1-81/+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>
2011-11-17param: move server role helpers into loadparm.hAndrew Bartlett1-1/+0
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: calculate server role from security, and security from server roleAndrew Bartlett1-6/+21
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>
2011-11-17s3-param remove lp_domain_logons(), always use IS_DCAndrew Bartlett1-1/+1
This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: make server role list common and include auto (for the new default)Andrew Bartlett1-1/+9
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: Add "domain logons" and "domain master" parametersAmitay Isaacs1-0/+20
This makes parsing of config files with s3 loadparm code and s4 loadparm code consistent.
2011-11-08param: Remove duplicate initialization of 'share backend' parameterAmitay Isaacs1-2/+0
2011-11-03lib/param: use SMB_SIGNING_IF_REQUIRED instead of SMB_SIGNING_SUPPORTEDStefan Metzmacher1-6/+7
metze
2011-11-03lib/param: map "* signing = auto" to SMB_SIGNING_SUPPORTEDStefan Metzmacher1-1/+1
metze