Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-28 | s3:smbspool: use lp_load_client() | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:loadparm: make lp_is_in_client() static - only used inside loadparm | Michael Adam | 1 | -1/+1 | |
2011-07-28 | s3:loadparm: add lp_load_client() that also sets the client state internally | Michael Adam | 1 | -0/+10 | |
2011-07-28 | s3:loadparm: add a convenience wrapper lp_load_global() | Michael Adam | 1 | -0/+14 | |
This is the use case for most callers, especially the client tools. | |||||
2011-07-28 | s3:loadparm: rename parameter "allow_registry_shares" to "load_all_shares" | Michael Adam | 1 | -6/+6 | |
2011-07-22 | s3:loadparm: fix the reload of the configuration: also reload activated ↵ | Michael Adam | 1 | -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 | |||||
2011-07-22 | s3:loadparm: add reload_registry_shares() - reload only those shares already ↵ | Michael Adam | 1 | -0/+29 | |
loaded | |||||
2011-07-21 | s3:loadparm: fix an implicit cast warning in string intialization in ↵ | Michael Adam | 1 | -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 | |||||
2011-07-21 | s3:loadparm: add support for P_BYTES to lp_do_parameter() - fix a build warning | Michael Adam | 1 | -0/+15 | |
(taken from s4 loadparm) | |||||
2011-07-21 | s3:loadparm: add support for P_CMDLIST to lp_do_parameter - fix a build warning | Michael Adam | 1 | -0/+1 | |
2011-07-21 | s3:loadparm: add support for P_CMDLIST to lp_save_defaults() - fix build warning | Michael Adam | 1 | -0/+1 | |
2011-07-21 | s3:loadparm: add support for P_BYTES to lp_save_defaults - fix build warning | Michael Adam | 1 | -0/+1 | |
2011-07-21 | s3:loadparm: add support for P_CMDLIST to is_default() - fix build warning | Michael Adam | 1 | -0/+1 | |
2011-07-21 | s3:loadparm: add support for P_BYTES to is_default() - fix build warning | Michael Adam | 1 | -0/+1 | |
2011-07-21 | s3:loadparm: add support for P_CMDLIST to print_parameter - fix build warning. | Michael Adam | 1 | -4/+14 | |
2011-07-21 | s3:loadparm: add support for P_BYTES to print_parameter() - fix build warning. | Michael Adam | 1 | -0/+1 | |
2011-07-21 | s3:loadparm: add support for P_CMDLIST to equal_parameter() - fix build warning | Michael Adam | 1 | -0/+1 | |
2011-07-21 | s3:loadparm: add suppor for P_BYTES to equal_parameter() - fix build warning | Michael Adam | 1 | -0/+1 | |
2011-07-21 | s3:loadparm: szNetbiosAliases is now a const char ** - cast properly | Michael Adam | 1 | -2/+2 | |
2011-07-21 | s3:loadparm: szWinbindNssInfo is now a const char ** instead of a char ** - ↵ | Michael Adam | 1 | -1/+1 | |
cast properly | |||||
2011-07-21 | s3:loadparm: fix a check that was accidentially an assignment in ↵ | Michael Adam | 1 | -1/+1 | |
lp_servicebynum() | |||||
2011-07-21 | s3:loadparm: untangle assignment from check in do_section() | Michael Adam | 1 | -2/+2 | |
2011-07-19 | First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems | Jeremy Allison | 1 | -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. | |||||
2011-07-14 | s4-param finish services hooks for s4->s3 loadparm context | Andrew Bartlett | 2 | -0/+17 | |
2011-07-14 | s3-param Plug 'netbios aliases' via the parameter bridge | Andrew Bartlett | 1 | -0/+1 | |
2011-07-12 | s3:loadparm: use PROTOCOL_SMB2_02 instead of PROTOCOL_SMB2 | Stefan Metzmacher | 1 | -2/+3 | |
metze | |||||
2011-07-08 | lib/param: Merge struct loadparm_service into common | Andrew Bartlett | 1 | -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 | |||||
2011-07-08 | s3-param use common struct parmlist_entry to hold parametric options | Andrew Bartlett | 1 | -40/+30 | |
This will allow struct loadparm_service to be shared in future. Andrew Bartlett | |||||
2011-07-08 | s3-param check for aliases with both p_class and offset | Andrew Bartlett | 1 | -6/+17 | |
This bug was found when comparing with the source4 loadparm code. Andrew Bartlett | |||||
2011-07-08 | lib/util Move bitmap.c to lib/util | Andrew Bartlett | 1 | -0/+1 | |
2011-07-08 | param: Add hooks to s3 parm_struct and the parameters void * pointer | Andrew Bartlett | 2 | -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 | |||||
2011-07-08 | s3-param: calculate default_server_announce at runtime | Andrew Bartlett | 1 | -15/+5 | |
2011-07-08 | s3-param Remove lp_set_passdb_backend() | Andrew Bartlett | 1 | -5/+0 | |
2011-07-02 | s3-param Remove #defines already in common loadparm.h | Andrew Bartlett | 1 | -12/+0 | |
2011-07-02 | s3-param Generate parameter tables | Andrew Bartlett | 1 | -409/+37 | |
2011-07-02 | param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server() | Andrew Bartlett | 1 | -1/+0 | |
Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672 (avoiding the duplicate function makes it easier to generate the struct loadparm_globals). Andrew Bartlett | |||||
2011-07-02 | s3-param remove unused bIdmapReadOnly | Andrew Bartlett | 1 | -2/+0 | |
2011-07-02 | s3-param Remove unused bUpdateEncrypt | Andrew Bartlett | 1 | -2/+0 | |
2011-06-29 | param: Merge param headers into lib/param/loadparm.h | Andrew Bartlett | 2 | -1/+3 | |
This defines a common table format, so we can in future define a common table. Andrew Bartlett | |||||
2011-06-29 | s3-param use C99 boolean for false | Andrew Bartlett | 1 | -118/+118 | |
2011-06-29 | s3-param use C99 boolean for true | Andrew Bartlett | 1 | -99/+99 | |
2011-06-29 | s3-param Convert sDefault to C99 initialisers | Andrew Bartlett | 1 | -142/+142 | |
The conversion has been verified with gdb (p sDefaults before and after) C99 booleans were helpfully provided by gdb, which was used to generate the C99 format, and so have been kept. Andrew Bartlett | |||||
2011-06-29 | s3-param Remove unused FLAG_DOS_STRING | Andrew Bartlett | 1 | -2/+2 | |
2011-06-29 | param: Merge struct parm_struct definitions | Andrew Bartlett | 1 | -25/+25 | |
This will allow the parameter tables to be shared between source3 and source4. Andrew Bartlett | |||||
2011-06-29 | s3-param Use .offset rather than .ptr when defining parameters | Andrew Bartlett | 1 | -6/+5 | |
This change has a number of purposes: * It removes the fancy logic around pointers into sDefault for all per-share parameters. Instead, this is always expressed as an offset, rather than implicitly via PTR_DIFF macros. * It makes struct parm_struct almost identical to that as used in source4/param. This will very shortly allow the loadparm tables and most of the 'special' helper functions to be placed in common. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 05:50:46 CEST 2011 on sn-devel-104 | |||||
2011-06-29 | s3-param Remove .offset == 0 checks as 'valid' will have offset 0 | Andrew Bartlett | 1 | -18/+4 | |
The validity of an entry in the parm_table is by having a .p_class of P_LOCAL or P_GLOBAL rather than P_SEPARATOR. Termination of the table is by having a .label of non-NULL. This is possible because there are no longer any specially handled smb.conf options without a value in the struct loadparm_globals or struct loadparm_service. This is required because the first element in the structure will have .offset = 0, and skipping that would be unfortunate (particularly as it is the vital 'valid' variable). Andrew Bartlett | |||||
2011-06-29 | s3-param use .offset rather than .ptr (renames) | Andrew Bartlett | 1 | -437/+441 | |
This commit uses GLOBAL_VAR and LOCAL_VAR macros to hide the use of .ptr in the source3 loadparm code. This will then be changed to use offsetof() in a future commit, removing the #define offset ptr hack. Andrew Bartlett | |||||
2011-06-29 | s3-param use lp_parm_ptr() rather than parm.ptr directly | Andrew Bartlett | 1 | -63/+58 | |
This will help with a change from .ptr to .offset Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 29 03:26:21 CEST 2011 on sn-devel-104 | |||||
2011-06-28 | s3-param Rename struct service and struct globals | Andrew Bartlett | 1 | -31/+31 | |
The rename of struct service -> loadparm_service and struct globals -> loadparm_globals makes this match the names used in source4/param, and is one step towards a single loadparm definition. Andrew Bartlett | |||||
2011-06-28 | s3-param Remove lp_parm_string | Andrew Bartlett | 1 | -12/+0 | |
Samba 4.0 makes no attempt to provide a loader environment that will allow a module that is not rebuilt to operate. Andrew Bartlett |