summaryrefslogtreecommitdiffstats
path: root/source3/param
Commit message (Collapse)AuthorAgeFilesLines
* s3-loadparm: fixed re-application of cmdline parametric optionsAndrew Tridgell2011-09-081-1/+4
| | | | | | | this ensures that cmdline parametric options are re-applied when we reload smb.conf Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-loadparm: fixed a memory leak in parametric optionsAndrew Tridgell2011-09-081-1/+2
| | | | | | | before we memset the Globals structure we need to free any global parametrics Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3:smb2_server: add basic support for SMB 2.1Stefan Metzmacher2011-09-051-1/+2
| | | | | | | | | | | | | | This adds support for the 2 stage negprot, from SMB 1 to SMB 2.1. Support for this of for now and "max protocol = SMB2" still maps to "max protocol = SMB2_02" PROTOCOL_SMB2_02. In order to activate smb2.1, you need to use "max protocol = SMB2_10". metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 5 19:30:58 CEST 2011 on sn-devel-104
* s3-param: Allocate talloc stackframe before calling s3 param routinesAmitay Isaacs2011-08-261-2/+26
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-param: Add a dump() method to output parametersAmitay Isaacs2011-08-261-0/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision set passdb backend to 'samba4' in template smb.conf filesAndrew Bartlett2011-08-221-1/+3
| | | | | | | This will allow smbpasswd, net sam and pdbedit to 'just work' against the newly created databases. Andrew Bartlett
* s3: Use ZERO_STRUCT where appropriateVolker Lendecke2011-08-161-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 16 13:59:55 CEST 2011 on sn-devel-104
* s3-param: Add python wrapper for s3 parametersAmitay Isaacs2011-08-131-0/+87
| | | | | | This provids a get_context() method to return s3 context as s4 context type. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-param: Make sure we have talloc stack frame before calling in s3 codeAmitay Isaacs2011-08-131-1/+8
| | | | | When loading parameters as s4 context in s3 code, ensure we have a talloc stack frame. This is required for python wrapping s3 params.
* param: Add smb.conf loading support to s3/s4 loadparm bridgeAndrew Bartlett2011-08-131-0/+6
|
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-291-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
* s3:loadparm: make lp_set_in_client() static - only used in wrappers in ↵Michael Adam2011-07-281-1/+1
| | | | loadparm now.
* s3:loadparm: add wrapper lp_load_client_no_reinit()Michael Adam2011-07-281-0/+10
|
* s3:loadparm: add wrapper lp_load_globals_no_reinit()Michael Adam2011-07-281-0/+16
|
* s3:smbspool: use lp_load_client()Michael Adam2011-07-281-1/+1
|
* s3:loadparm: make lp_is_in_client() static - only used inside loadparmMichael Adam2011-07-281-1/+1
|
* s3:loadparm: add lp_load_client() that also sets the client state internallyMichael Adam2011-07-281-0/+10
|
* s3:loadparm: add a convenience wrapper lp_load_global()Michael Adam2011-07-281-0/+14
| | | | This is the use case for most callers, especially the client tools.
* s3:loadparm: rename parameter "allow_registry_shares" to "load_all_shares"Michael Adam2011-07-281-6/+6
|
* s3:loadparm: fix the reload of the configuration: also reload activated ↵Michael Adam2011-07-221-2/+6
| | | | | | | registry shares Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 22 16:53:49 CEST 2011 on sn-devel-104
* s3:loadparm: add reload_registry_shares() - reload only those shares already ↵Michael Adam2011-07-221-0/+29
| | | | loaded
* s3:loadparm: fix an implicit cast warning in string intialization in ↵Michael Adam2011-07-211-1/+1
| | | | | | | init_globals() Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Jul 21 18:39:15 CEST 2011 on sn-devel-104
* s3:loadparm: add support for P_BYTES to lp_do_parameter() - fix a build warningMichael Adam2011-07-211-0/+15
| | | | (taken from s4 loadparm)
* s3:loadparm: add support for P_CMDLIST to lp_do_parameter - fix a build warningMichael Adam2011-07-211-0/+1
|
* s3:loadparm: add support for P_CMDLIST to lp_save_defaults() - fix build warningMichael Adam2011-07-211-0/+1
|
* s3:loadparm: add support for P_BYTES to lp_save_defaults - fix build warningMichael Adam2011-07-211-0/+1
|
* s3:loadparm: add support for P_CMDLIST to is_default() - fix build warningMichael Adam2011-07-211-0/+1
|
* s3:loadparm: add support for P_BYTES to is_default() - fix build warningMichael Adam2011-07-211-0/+1
|
* s3:loadparm: add support for P_CMDLIST to print_parameter - fix build warning.Michael Adam2011-07-211-4/+14
|
* s3:loadparm: add support for P_BYTES to print_parameter() - fix build warning.Michael Adam2011-07-211-0/+1
|
* s3:loadparm: add support for P_CMDLIST to equal_parameter() - fix build warningMichael Adam2011-07-211-0/+1
|
* s3:loadparm: add suppor for P_BYTES to equal_parameter() - fix build warningMichael Adam2011-07-211-0/+1
|
* s3:loadparm: szNetbiosAliases is now a const char ** - cast properlyMichael Adam2011-07-211-2/+2
|
* s3:loadparm: szWinbindNssInfo is now a const char ** instead of a char ** - ↵Michael Adam2011-07-211-1/+1
| | | | cast properly
* s3:loadparm: fix a check that was accidentially an assignment in ↵Michael Adam2011-07-211-1/+1
| | | | lp_servicebynum()
* s3:loadparm: untangle assignment from check in do_section()Michael Adam2011-07-211-2/+2
|
* First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systemsJeremy Allison2011-07-191-3/+3
| | | | | | | | | | Remove int toupper_ascii(int c); int tolower_ascii(int c); int isupper_ascii(int c); int islower_ascii(int c); and replace with their _m equivalents, as they are identical.
* s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett2011-07-142-0/+17
|
* s3-param Plug 'netbios aliases' via the parameter bridgeAndrew Bartlett2011-07-141-0/+1
|
* s3:loadparm: use PROTOCOL_SMB2_02 instead of PROTOCOL_SMB2Stefan Metzmacher2011-07-121-2/+3
| | | | metze
* lib/param: Merge struct loadparm_service into commonAndrew Bartlett2011-07-081-152/+15
| | | | | | | | | | | | | | | | | This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
* s3-param use common struct parmlist_entry to hold parametric optionsAndrew Bartlett2011-07-081-40/+30
| | | | | | This will allow struct loadparm_service to be shared in future. Andrew Bartlett
* s3-param check for aliases with both p_class and offsetAndrew Bartlett2011-07-081-6/+17
| | | | | | This bug was found when comparing with the source4 loadparm code. Andrew Bartlett
* lib/util Move bitmap.c to lib/utilAndrew Bartlett2011-07-081-0/+1
|
* param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett2011-07-082-12/+49
| | | | | | | | This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett
* s3-param: calculate default_server_announce at runtimeAndrew Bartlett2011-07-081-15/+5
|
* s3-param Remove lp_set_passdb_backend()Andrew Bartlett2011-07-081-5/+0
|
* s3-param Remove #defines already in common loadparm.hAndrew Bartlett2011-07-021-12/+0
|
* s3-param Generate parameter tablesAndrew Bartlett2011-07-021-409/+37
|
* param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett2011-07-021-1/+0
| | | | | | | | | Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett