summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-11s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵Michael Adam1-5/+16
dbwrap_fetch_bystring_upper() to NTSTATUS
2011-10-11s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam1-0/+1
2011-10-07s3-param Remove odd formatting to allow code mergeAndrew Bartlett1-18/+18
This code is very old, and has some code styles that we have not used in Samba for a very long time. This fixes up a the extra braces around return values. Andrew Bartlett
2011-10-07s3-param: inline octal_string into caller to allow code mergeAndrew Bartlett1-3/+6
2011-10-07s3-param use Auto define for lm_announce defaultAndrew Bartlett1-1/+1
2011-09-14Fix bug #8229 - git patch attached against 3.6.0-rc2 to fix 'widelinks' ↵Jeremy Allison1-1/+21
regression intro'd in 3.2 Add "allow insecure widelinks" to re-enable the ability (requested by some sites) to have "widelinks = yes" and "unix extensions = yes". Based on an original patch by Linda Walsh <samba@tlinx.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 14 03:55:45 CEST 2011 on sn-devel-104
2011-09-08s3-loadparm: fixed re-application of cmdline parametric optionsAndrew Tridgell1-1/+4
this ensures that cmdline parametric options are re-applied when we reload smb.conf Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08s3-loadparm: fixed a memory leak in parametric optionsAndrew Tridgell1-1/+2
before we memset the Globals structure we need to free any global parametrics Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-05s3:smb2_server: add basic support for SMB 2.1Stefan Metzmacher1-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
2011-08-16s3: Use ZERO_STRUCT where appropriateVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 16 13:59:55 CEST 2011 on sn-devel-104
2011-07-29s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
2011-07-28s3:loadparm: make lp_set_in_client() static - only used in wrappers in ↵Michael Adam1-1/+1
loadparm now.
2011-07-28s3:loadparm: add wrapper lp_load_client_no_reinit()Michael Adam1-0/+10
2011-07-28s3:loadparm: add wrapper lp_load_globals_no_reinit()Michael Adam1-0/+16
2011-07-28s3:smbspool: use lp_load_client()Michael Adam1-1/+1
2011-07-28s3:loadparm: make lp_is_in_client() static - only used inside loadparmMichael Adam1-1/+1
2011-07-28s3:loadparm: add lp_load_client() that also sets the client state internallyMichael Adam1-0/+10
2011-07-28s3:loadparm: add a convenience wrapper lp_load_global()Michael Adam1-0/+14
This is the use case for most callers, especially the client tools.
2011-07-28s3:loadparm: rename parameter "allow_registry_shares" to "load_all_shares"Michael Adam1-6/+6
2011-07-22s3:loadparm: fix the reload of the configuration: also reload activated ↵Michael Adam1-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-22s3:loadparm: add reload_registry_shares() - reload only those shares already ↵Michael Adam1-0/+29
loaded
2011-07-21s3:loadparm: fix an implicit cast warning in string intialization in ↵Michael Adam1-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-21s3:loadparm: add support for P_BYTES to lp_do_parameter() - fix a build warningMichael Adam1-0/+15
(taken from s4 loadparm)
2011-07-21s3:loadparm: add support for P_CMDLIST to lp_do_parameter - fix a build warningMichael Adam1-0/+1
2011-07-21s3:loadparm: add support for P_CMDLIST to lp_save_defaults() - fix build warningMichael Adam1-0/+1
2011-07-21s3:loadparm: add support for P_BYTES to lp_save_defaults - fix build warningMichael Adam1-0/+1
2011-07-21s3:loadparm: add support for P_CMDLIST to is_default() - fix build warningMichael Adam1-0/+1
2011-07-21s3:loadparm: add support for P_BYTES to is_default() - fix build warningMichael Adam1-0/+1
2011-07-21s3:loadparm: add support for P_CMDLIST to print_parameter - fix build warning.Michael Adam1-4/+14
2011-07-21s3:loadparm: add support for P_BYTES to print_parameter() - fix build warning.Michael Adam1-0/+1
2011-07-21s3:loadparm: add support for P_CMDLIST to equal_parameter() - fix build warningMichael Adam1-0/+1
2011-07-21s3:loadparm: add suppor for P_BYTES to equal_parameter() - fix build warningMichael Adam1-0/+1
2011-07-21s3:loadparm: szNetbiosAliases is now a const char ** - cast properlyMichael Adam1-2/+2
2011-07-21s3:loadparm: szWinbindNssInfo is now a const char ** instead of a char ** - ↵Michael Adam1-1/+1
cast properly
2011-07-21s3:loadparm: fix a check that was accidentially an assignment in ↵Michael Adam1-1/+1
lp_servicebynum()
2011-07-21s3:loadparm: untangle assignment from check in do_section()Michael Adam1-2/+2
2011-07-19First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systemsJeremy Allison1-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-14s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett1-0/+13
2011-07-12s3:loadparm: use PROTOCOL_SMB2_02 instead of PROTOCOL_SMB2Stefan Metzmacher1-2/+3
metze
2011-07-08lib/param: Merge struct loadparm_service into commonAndrew Bartlett1-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-08s3-param use common struct parmlist_entry to hold parametric optionsAndrew Bartlett1-40/+30
This will allow struct loadparm_service to be shared in future. Andrew Bartlett
2011-07-08s3-param check for aliases with both p_class and offsetAndrew Bartlett1-6/+17
This bug was found when comparing with the source4 loadparm code. Andrew Bartlett
2011-07-08lib/util Move bitmap.c to lib/utilAndrew Bartlett1-0/+1
2011-07-08param: Add hooks to s3 parm_struct and the parameters void * pointerAndrew Bartlett1-6/+45
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-08s3-param: calculate default_server_announce at runtimeAndrew Bartlett1-15/+5
2011-07-08s3-param Remove lp_set_passdb_backend()Andrew Bartlett1-5/+0
2011-07-02s3-param Remove #defines already in common loadparm.hAndrew Bartlett1-12/+0
2011-07-02s3-param Generate parameter tablesAndrew Bartlett1-409/+37
2011-07-02param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()Andrew Bartlett1-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-02s3-param remove unused bIdmapReadOnlyAndrew Bartlett1-2/+0