summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* smbd:smb2: fix durable reconnect: set fsp->fnum from the smbXsrv_open->local_idMichael Adam2014-01-301-0/+1
| | | | | | | Originally, fsp->fnum was left at the INVALID fnum value. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* docs: remove extra spaces in synopsis of dbwrap_toolMichael Adam2014-01-301-3/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* docs: document new --non-persistent option to dbwrap_toolMichael Adam2014-01-301-2/+18
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* dbwrap_tool: add option "--non-persistent" and force excatly one of ↵Michael Adam2014-01-301-5/+18
| | | | | | | | | | | | | "--[non-]persistent" We want to force users of dbwrap_tool to explicitly specify persistent or non-persistent. Otherwise, one could easily by accident wipe a whole database that is actually persistent but not currently opened by a samba process, just by openeing the DB with the default non-persistent mode... Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* docs: remove short form "-p" of --persistent from dbwrap_tool manpageMichael Adam2014-01-301-2/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* dbwrap_tool: remove the short form "-p" of "--persistent"Michael Adam2014-01-301-1/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:brlock: fix a comment typoMichael Adam2014-01-301-1/+1
| | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Jan 30 13:25:22 CET 2014 on sn-devel-104
* ctdb-eventscripts: Do not mark node unhealthy if no fs is availableSrikrishan Malik2014-01-301-3/+4
| | | | | | | | | Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com> Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Thu Jan 30 11:18:19 CET 2014 on sn-devel-104
* param: Do not check defaults_saved in is_defaultAndrew Bartlett2014-01-301-2/+0
| | | | | | | | | | | | | We only call is_default if defaults_saved == true, so this static variable reference is not required. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Jan 30 03:31:29 CET 2014 on sn-devel-104
* lib/param: Do not check defaults_saved in is_defaultAndrew Bartlett2014-01-301-2/+0
| | | | | | | | | | We only call is_default if defaults_saved == true, so this static variable reference is not required. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: Remove unused lp_is_default (once used by SWAT)Andrew Bartlett2014-01-302-12/+0
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: Remove unused lp_next_parameter (once used by SWAT)Andrew Bartlett2014-01-302-60/+0
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* lib/param: Remove unused lpcfg_next_parameter (once used by SWAT)Andrew Bartlett2014-01-302-59/+0
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: remove unused bPreferredMaster from s3 loadparm in LOADPARM_EXTRA_GLOBALSGarming Sam2014-01-301-2/+1
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* lib/param: Make and use lpcfg_equal_parameter in commonAndrew Bartlett2014-01-303-62/+28
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* lib/param: Make and use common lpcfg_map_parameterAndrew Bartlett2014-01-302-39/+14
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3-param: Use lpcfg_dump_a_parameter in dump_a_parameterAndrew Bartlett2014-01-301-14/+8
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3-param: Make dump_a_parameter use lp_paramater() rather than an open-coded ↵Andrew Bartlett2014-01-301-29/+16
| | | | | | | loop Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* lib/param: Make lpcfg_print_parameter() commonAndrew Bartlett2014-01-302-88/+9
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: pad permissions to 3 digits and update docs to be consistentGarming Sam2014-01-304-4/+4
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* lib/param: Fix copy_service to handle BOOLREVAndrew Bartlett2014-01-291-0/+1
| | | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Jan 29 11:11:11 CET 2014 on sn-devel-104
* docs: Remove unused parameters.global.xml and parameters.service.xmlAndrew Bartlett2014-01-292-11/+1
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* docs: Remove find_missing_manpages replaced by docs.py and dependent on a ↵Andrew Bartlett2014-01-292-76/+0
| | | | | | | Makefile.in file Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: don't ignore some parameters when performing map_parameterGarming Sam2014-01-292-6/+0
| | | | | | | | | | Only the -valid parameter is currently affected by this. There doesn't seem to be any reason why you shouldn't be able to simply map the parameter and there are already existing checks, in dump_a_service for instance, where it checks for the prefix anyways. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* lib/param: fix copy service to include the case for P_CHARGarming Sam2014-01-291-0/+4
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* docs: remove the file prefix from included path namesGarming Sam2014-01-291-1/+1
| | | | | | | | This allows the inbuilt python xml modules to perform the include. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* docs: update XInclude year to conform with current standardGarming Sam2014-01-291-1/+1
| | | | | | | | This allows the inbuilt python XML parser to handle these includes. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: remove unnecessary checks in dump a parameterGarming Sam2014-01-291-4/+1
| | | | | | | | | In dump_a_parameter we now allow dumping of a parameter by alias name, and so this check is not required. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* param: fix an offset bug in lpcfg_set_cmdlineGarming Sam2014-01-291-2/+9
| | | | | | | | | | Previously, it was possible to compare offsets between loadparm_service and loadparm_global. This meant in some cases incorrectly skipping certain parameters. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* pthreadpool: Fix a comment, "quit"->"shutdown"Volker Lendecke2014-01-281-2/+2
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Tue Jan 28 19:06:40 CET 2014 on sn-devel-104
* param: assign default ports in s3 loadparm to match docs and s4Garming Sam2014-01-281-0/+12
| | | | | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Jan 28 10:29:57 CET 2014 on sn-devel-104
* param: Add default for rndc command to s3 loadparmAndrew Bartlett2014-01-281-0/+2
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* param: Add default for nsupdate command to s3 loadparmAndrew Bartlett2014-01-281-0/+2
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* param: Add default for spn update command to s3 loadparmAndrew Bartlett2014-01-281-0/+6
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* param: Add default for dns update command to s3 loadparmAndrew Bartlett2014-01-281-0/+6
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* param: Add default for samba kcc command to s3 loadparmAndrew Bartlett2014-01-281-0/+6
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* param: Add defaults for tls parameters to s3 loadparmAndrew Bartlett2014-01-281-0/+4
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* param: Add default for winbindd privileged socket directory to s3 loadparmAndrew Bartlett2014-01-281-0/+2
| | | | | | | (note that this parameter is only used in the source4 winbindd code at this time) Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* param: Add default for ntp signd socket directory to s3 loadparmAndrew Bartlett2014-01-281-0/+2
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: change server min protocol to be consistent with s3 and docsGarming Sam2014-01-281-1/+1
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: fix nbt client socket address default setting to be consistent ↵Garming Sam2014-01-281-1/+1
| | | | | | | | with s3 and docs Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: set defaults for a number of previously unset parametersGarming Sam2014-01-281-0/+120
| | | | | | | | These defaults are based on the docs which have been checked against source3. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: add default for guest accountGarming Sam2014-01-281-0/+2
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: Move GUEST_ACCOUNT define to a common headerAndrew Bartlett2014-01-282-5/+5
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: add default for password chat timeoutGarming Sam2014-01-281-0/+2
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: add default for browse list parameterGarming Sam2014-01-281-0/+2
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: add default for hide dot files parameterGarming Sam2014-01-281-0/+2
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: add default for mangling methodGarming Sam2014-01-281-0/+2
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: add default for lm intervalGarming Sam2014-01-281-0/+2
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* lib/param: add default for ldap deref parameterGarming Sam2014-01-281-0/+2
| | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>