The branch, master has been updated via ed209cfee37 s3:nmbd: small improvements in --help strings via 9e4ddff2d35 libgpo: remove 404 link in comment via 1f37ac3b065 libgpo: remove duplicate entry in value table via 1c4ba8e93a4 pyrpc: typo in transfer syntax docstring via 6a332618b67 libcli:smb: Use C99 initializer for derivation in smbXcli_base via 8c774f5a5d6 s4:cifsdd: Use C99 initializers for cifsdd argdef via 4609e6fb2b4 s4:torture: Fix C99 initializers for vfs fruit tests via bb5b1c8078c s4:torture: Use C99 initializers in gentest via 3e3e3a92f00 s4:torture: Add missing C99 initializer for torture_rpc_samlogon via c0a6f69e0a1 s4:torture: Use C99 initializer in test_SecurityDescriptorsSecInfo via 7c9abe78bd8 s4:torture: Use C99 initializer for last element in get_and_set_info via 6b0963f68e4 s4:torture: Complete C99 initializers for levels in raw qfileinfo test via 0bcbec40bba s4:torture: Use C99 initializers for file_levels in smb2 getinfo test via 660428a2e3f s4:torture: Use C99 initializers for level in smb2 dir test via a5362457af4 s4:torture: Use C99 initializers for hold_sharemode_table in smb2 sharemode test via 7ceffb31d0b s4:torture: Use C99 initializers for dirs in smb2 oplock test via d731ddf869d s4:torture: Use C99 initializers for levels in raw notify test via 1474de31a12 s4:torture: Use C99 initializers for levels in raw search test via 2df8e808d6a s4:torture: Use C99 initializers for dirs in smb2 notify test via 8647ae63d77 s4:torture: Use C99 initializers for levels in qfsinfo test via 6395a9a85a8 s4:torture: Use C99 initializers for dirs in oplock test via 4d1ae1904df s4:samdb: Use C99 initializer for last element of ldb_map_objectclass via 8e1f9675c98 s4:dsdb: Use C99 initializer in util via 0e28116eedf s3:utils: Use C99 initializer in functable in net via 2eab064aa46 s3:utils: Use C99 initializer in functable in net_lookup via 4ad94b605be s3:utils: Use C99 initializer for msg_types in smbcontrol via e73ff6432d6 s3:torture: Use C99 initializer for torture_ops via 4bb10422aea s3:smbd: Use C99 initializer for RAP api_commands via 58b4f48cfdc s3:lib: Use C99 initializer for audit_category_tab via 5e0923d8c41 s3:registry: Use C99 initializer for BOM via 99c2a24eb8b sddl: Use C99 initializer for sid_codes via 292dbbf1339 librpc:rpc: Use C99 initializer for last element in dcerpc_faults via bbc4d728781 libgpo: Use C99 initializer for gp_extension_reg_table via 7983b03a89e lib:util: Use C99 initializer in tfork test via fe78ebcbc0d lib:util: Use C99 initializer for weird_table in charset via 014a72c7da0 lib:util: Use C99 initializer for builtin_functions in iconv via 0da2e9c215f lib:tevent: Use correct C99 initializer for tevent_req via 47b57a2fc87 lib:tdb: Use C99 initializer for tdb_logging_context via a1ce666d687 lib:tdb: Use C99 initializer for tdb_header via 146ed0894e6 lib:ldb: Use correct C99 initializer for 'struct tm' via 3cd5d4b3971 lib:ldb: Use C99 initializer for tdb_logging_context via fb57c97ce4e ctdb:tools: Use correct C99 initializer for ltdb_header via 6c520978e27 ctdb:common: Use C99 initializer for 'struct ifreq' via 611b6c7ebc7 ctdb: Use C99 initializer for last element of tunables via 14c7d19b630 auth:gensec: Use C99 initializer in schannel via 246f7dd7623 auth:creds: Use C99 initializer for PyMethodDef via d538319ebc9 s4:pyparam: Use C99 initializer for PyGetSetDef via ee4795b9f15 s4:lib: Use C99 initializer for PyGetSetDef in pymessaging via 7017f245d5c s4:librpc: Use C99 initializer for PyGetSetDef in pyrpc via 2baa2c0f434 s3:passdb: Use C99 initializer for PyGetSetDef in py_passdb via 85a5dc56e34 lib:ldb: Use C99 initializer for PyGetSetDef in pyldb via 651ee7f205f lib:tdb: Use C99 initializer for PyGetSetDef in pytdb via 0a6f78d736f s3:rpcclient: Use C99 initializer for cmd_set in cmd_shutdown via 5701586d531 s3:rpcclient: Use C99 initializer for cmd_set in cmd_epmapper via 328cb7aa9a6 s3:rpcclient: Use C99 initializer for cmd_set in cmd_test via eee66741f6e s3:rpcclient: Use C99 initializer for cmd_set in cmd_eventlog via f70dbe9f866 s3:rpcclient: Use C99 initializer for cmd_set in cmd_witness via 05afe9624ff s3:rpcclient: Use C99 initializer for cmd_set in rpcclient via bbc4d8c52af s3:rpcclient: Use C99 initializer for cmd_set in cmd_lsarpc via 90b338e86d0 s3:rpcclient: Use C99 initializer for cmd_set in cmd_samr via d69fbf4150a s3:rpcclient: Use C99 initializer for cmd_set in cmd_clusapi via b7b78134228 s3:rpcclient: Use C99 initializer for cmd_set in cmd_ntsvcvs via 2069372e1ea s3:rpcclient: Use C99 initializer for cmd_set in cmd_iremotewinspool via a1765267ad7 s3:rpcclient: Use C99 initializer for cmd_set in cmd_winreg via 711cb035077 s3:rpcclient: Use C99 initializer for cmd_set in cmd_fss via 2bec9593ba2 s3:rpcclient: Use C99 initializer for cmd_set in cmd_wkssvc via 8cb851ffb9e s3:rpcclient: Use C99 initializer for cmd_set in cmd_dssetup via 17d166e6bd8 s3:rpcclient: Use C99 initializer for cmd_set in cmd_drsuapi via d1695761a1a s3:rpcclient: Use C99 initializer for cmd_set in cmd_echo via 6087decf9ff s3:rpcclient: Use C99 initializer for cmd_set in cmd_srvsvc via 281c5107b0f s3:rpcclient: Use C99 initializer for cmd_set in cmd_netlogon via 5b298d30c84 s3:rpcclient: Use C99 initializer for cmd_set in cmd_dfs via 65729e3782e s3:rpcclient: Use C99 initializer for cmd_set in cmd_spoolss via 78b45a4762a s3:torture: Use C99 initializer for cmd_set in vfstest via 34ae8dc3116 s3:torture: Use C99 initializer for cmd_set in cmd_vfs via 2b6706fbbee s4:lib: Use C99 initializer for poptOption in popt_credentials via ded66cf39ed s4:lib: Use C99 initializer for poptOption in popt_common via f66ead39de8 s4:client: Use C99 initializer for poptOption in cifsdd via ad13bd56f2a s4:client: Use C99 initializer for poptOption in client via ee8f098646b s4:smbd: Use C99 initializer for poptOption in server via 3a5cd0a333c s3:utils: Use C99 initializer for poptOption in mvxattr via e9ef830f650 s3:nmbd: Use C99 initializer for poptOption in nmbd via 025b32e5253 s3:netapi: Use C99 initializer for poptOption in netapi example via 1cde483c964 s3:lib: Use C99 initializer for poptOption in popt_common_cmdline via fd499b7fef7 s3:lib: Use C99 initializer for poptOption in popt_common via f68d6aa3356 s3:lib: Use C99 initializer for poptOption in netapi nltest via d34edc6b7ba s3:lib: Use C99 initializer for poptOption in netapi common test via 54c1ab6d755 s3:lib: Use POPT_TABLEEND for last element of poptOption via 650af8bf9e9 s3:winbind: Use C99 initializer for poptOption in winbindd via 4c3ada25154 s3:param: Use C99 initializer for poptOption in test_lp_load via f699cec7d56 s3:utils: Use C99 initializer for poptOption in smbget via 0de35fd3f69 s3:utils: Use C99 initializer for poptOption in smbtree via 90103d1d9e2 s3:utils: Use C99 initializer for poptOption in net via 5961286f29e s3:utils: Use C99 initializer for poptOption in log2pcaphex via 7c8d4f2116f s3:utils: Use C99 initializer for poptOption in testparm via f5f084e9fd0 s3:utils: Use C99 initializer for poptOption in smbcquotas via a2bb56542ba s3:utils: Use C99 initializer for poptOption in ntlm_auth via 0fde49ac6b6 s3:utils: Use C99 initializer for poptOption in sharesec via aa944d50fa4 s3:utils: Use C99 initializer for poptOption in profiles via 19d44958821 s3:utils: Use C99 initializer for poptOption in nmblookup via 5990980cc92 s3:utils: Use C99 initializer for poptOption in smbcacls via 83d25ca9d90 s3:utils: Use C99 initializer for poptOption in smbstatus via a3aca2f7341 s3:torture: Use C99 initializer for poptOption in vfstest via 9a15d458447 s3:smbd: Use C99 initializer for poptOption in smbd server via 3834ea867a4 s3:rpcclient: Use C99 initializer for poptOption in cmd_witness via b0dbc7d1f50 s3:client: Use C99 initializer for poptOption in smbclient via 53e2e8c37df nsswitch: Use C99 initializer for poptOption in wbinfo via cdf03f92069 libcli:nbt: Use C99 initializer for poptOption in nmblookup via cbf8917b401 lib:texpect: Use C99 initializer for poptOption in texpect via 007898bf8d7 examples: Use C99 initializer for poptOption in testacl via d304d3c6f0d examples: Reformat testacl libsmbclient example via 23709cc3516 ctdb: Use C99 initializer for poptOption in test_options via db6992c2e90 ctdb: Use C99 initializer for poptOption in ctdb tool from b9924839ce6 gitlab-ci: Use artifacts instead of after_script
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit ed209cfee37cbc63efab925bc44c2b384417cc9b Author: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> Date: Fri Jan 18 13:15:36 2019 +1300 s3:nmbd: small improvements in --help strings Signed-off-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> Reviewed-by: Andreas Schneider <a...@samba.org> Autobuild-User(master): Andreas Schneider <a...@cryptomilk.org> Autobuild-Date(master): Mon Jan 28 14:28:29 CET 2019 on sn-devel-144 commit 9e4ddff2d35611e4f2b60d9e45c8f777be68aa69 Author: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> Date: Fri Jan 18 12:09:15 2019 +1300 libgpo: remove 404 link in comment Signed-off-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> Reviewed-by: Andreas Schneider <a...@samba.org> commit 1f37ac3b0655aa0667d9080676e3be5341351305 Author: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> Date: Fri Jan 18 12:07:55 2019 +1300 libgpo: remove duplicate entry in value table previously added a few lines up. Signed-off-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> Reviewed-by: Andreas Schneider <a...@samba.org> commit 1c4ba8e93a4e79e1f32cbc10248f57f294ff02b0 Author: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> Date: Fri Jan 18 10:57:51 2019 +1300 pyrpc: typo in transfer syntax docstring Signed-off-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> Reviewed-by: Andreas Schneider <a...@samba.org> commit 6a332618b67987f1c5ff659c9ffbd348cd1fd2a2 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 15 15:42:09 2019 +0100 libcli:smb: Use C99 initializer for derivation in smbXcli_base Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 8c774f5a5d63239f57ef06e3451fbab66a9ed2e5 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 11:49:28 2019 +0100 s4:cifsdd: Use C99 initializers for cifsdd argdef Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 4609e6fb2b41d5b34a3c253f757d8e1adc0252fe Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 11:26:16 2019 +0100 s4:torture: Fix C99 initializers for vfs fruit tests Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit bb5b1c8078c1a34072f001f9a2b9990af2050cb3 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 11:37:32 2019 +0100 s4:torture: Use C99 initializers in gentest Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 3e3e3a92f0038f0b19f001c495762e8d054363f8 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 7 17:19:27 2019 +0100 s4:torture: Add missing C99 initializer for torture_rpc_samlogon Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit c0a6f69e0a10aabebee46fcdee4d6bb2fcc22b4d Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 7 17:11:42 2019 +0100 s4:torture: Use C99 initializer in test_SecurityDescriptorsSecInfo Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 7c9abe78bd8aab603b8d06f4c1a6caef85183dc3 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 13:53:45 2018 +0100 s4:torture: Use C99 initializer for last element in get_and_set_info Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 6b0963f68e4958c14f53b0d037141ee77fe5991b Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 12:30:15 2018 +0100 s4:torture: Complete C99 initializers for levels in raw qfileinfo test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 0bcbec40bbab1d7bb8fcc94a7321f3dba17b18db Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 13:42:23 2018 +0100 s4:torture: Use C99 initializers for file_levels in smb2 getinfo test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 660428a2e3ffec807ad003594054a5cc29e8fbfb Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 13:40:19 2018 +0100 s4:torture: Use C99 initializers for level in smb2 dir test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit a5362457af45293cafc969f30ec3d4e1c1a0174d Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 13:13:11 2018 +0100 s4:torture: Use C99 initializers for hold_sharemode_table in smb2 sharemode test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 7ceffb31d0b60427c9777f96c8db48c02ee36b77 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 13:10:49 2018 +0100 s4:torture: Use C99 initializers for dirs in smb2 oplock test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit d731ddf869dc11c5bb0d009dea5adad699acea3d Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 13:08:42 2018 +0100 s4:torture: Use C99 initializers for levels in raw notify test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 1474de31a12bb9159f68e0c0dee9ca0a39261748 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 13:03:29 2018 +0100 s4:torture: Use C99 initializers for levels in raw search test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 2df8e808d6aa7c7c9399d2136a0b7bfef2a408d6 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 12:50:54 2018 +0100 s4:torture: Use C99 initializers for dirs in smb2 notify test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 8647ae63d7728ecc4cce5a14df0347f13eb9332a Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 12:43:14 2018 +0100 s4:torture: Use C99 initializers for levels in qfsinfo test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 6395a9a85a88c1be275529d44fade7315ee24203 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 12:53:39 2018 +0100 s4:torture: Use C99 initializers for dirs in oplock test Yes, this was already valid C99 but the compiler on Ubuntu 14.04 simply sucks. This doesn't happen with this gcc version on other Linux systems. Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 4d1ae1904dfc08d4031ddb4ba53603024d5ea595 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:43:52 2018 +0100 s4:samdb: Use C99 initializer for last element of ldb_map_objectclass Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 8e1f9675c981c05790bfa58008047ef3ffa10a06 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 13:13:09 2019 +0100 s4:dsdb: Use C99 initializer in util Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 0e28116eedf506ef0012b60fb474db3c42a8c5ed Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 10:53:24 2019 +0100 s3:utils: Use C99 initializer in functable in net Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 2eab064aa4679b3ee5020977cef459d5883aea97 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 10:50:33 2019 +0100 s3:utils: Use C99 initializer in functable in net_lookup Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 4ad94b605be0ff04e0cae933b2ac609fc1f7351d Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 14:22:15 2019 +0100 s3:utils: Use C99 initializer for msg_types in smbcontrol Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit e73ff6432d657ded91dc314dd129b4fe6a7b5687 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 15:39:54 2019 +0100 s3:torture: Use C99 initializer for torture_ops Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 4bb10422aeaa2e0444a25cfb7aedcd1bf4ac2b6f Author: Andreas Schneider <a...@samba.org> Date: Wed Dec 12 21:43:34 2018 +0100 s3:smbd: Use C99 initializer for RAP api_commands Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 58b4f48cfdc89de22206ac20e7e9e53121ddc171 Author: Andreas Schneider <a...@samba.org> Date: Wed Dec 12 21:32:47 2018 +0100 s3:lib: Use C99 initializer for audit_category_tab Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 5e0923d8c4174266dc4526a2b34d57200f11fed5 Author: Andreas Schneider <a...@samba.org> Date: Wed Dec 12 21:31:42 2018 +0100 s3:registry: Use C99 initializer for BOM Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 99c2a24eb8bc39f4b33bfc097efd04bc11b77eb7 Author: Andreas Schneider <a...@samba.org> Date: Wed Dec 12 21:18:32 2018 +0100 sddl: Use C99 initializer for sid_codes Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 292dbbf13391a8b2fe60f37a5dafb0cf203954bc Author: Andreas Schneider <a...@samba.org> Date: Wed Dec 12 21:33:40 2018 +0100 librpc:rpc: Use C99 initializer for last element in dcerpc_faults Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit bbc4d728781c3ef574ed5c6727f83e7eaaf6d4ef Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:07:24 2018 +0100 libgpo: Use C99 initializer for gp_extension_reg_table Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 7983b03a89ece230c1702296b113702422f9b0f8 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 7 17:33:57 2019 +0100 lib:util: Use C99 initializer in tfork test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit fe78ebcbc0d75af05f802a267c0aef7e579f8067 Author: Andreas Schneider <a...@samba.org> Date: Wed Dec 12 21:28:14 2018 +0100 lib:util: Use C99 initializer for weird_table in charset Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 014a72c7da09e326b93c7e86dfef0b836d09e3f2 Author: Andreas Schneider <a...@samba.org> Date: Wed Dec 12 21:25:37 2018 +0100 lib:util: Use C99 initializer for builtin_functions in iconv Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 0da2e9c215f882ea4c331ac4f17738913beb7404 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 11:59:59 2019 +0100 lib:tevent: Use correct C99 initializer for tevent_req Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 47b57a2fc87664366099913305dd8d3783734a1a Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:24:12 2018 +0100 lib:tdb: Use C99 initializer for tdb_logging_context Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit a1ce666d68745a9bc65bd2709c581ed5105f656d Author: Andreas Schneider <a...@samba.org> Date: Wed Dec 12 21:26:35 2018 +0100 lib:tdb: Use C99 initializer for tdb_header Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 146ed0894e640fe1791f75fa8f50167b6cdfc06e Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 12:10:34 2019 +0100 lib:ldb: Use correct C99 initializer for 'struct tm' Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 3cd5d4b39713559d2f88e21a24f8190fe9ce075c Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:35:25 2018 +0100 lib:ldb: Use C99 initializer for tdb_logging_context Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit fb57c97ce4e63e51d04e1d701ad89148930e0ce3 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 12:07:40 2019 +0100 ctdb:tools: Use correct C99 initializer for ltdb_header Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 6c520978e27e23db5b608f920a93582d953f2616 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 10:57:55 2018 +0100 ctdb:common: Use C99 initializer for 'struct ifreq' Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 611b6c7ebc7f876d73295fd4ceb3e7712ac9b510 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 10:34:11 2018 +0100 ctdb: Use C99 initializer for last element of tunables Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 14c7d19b6302cfa42eba5bdebb1d588d6c148f80 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 13:44:40 2019 +0100 auth:gensec: Use C99 initializer in schannel Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 246f7dd7623acdda9649fc7e64f4fb245088c8bb Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:20:41 2018 +0100 auth:creds: Use C99 initializer for PyMethodDef Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit d538319ebc9ba1b1931a7ced1a1af7bd33896107 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:10:40 2018 +0100 s4:pyparam: Use C99 initializer for PyGetSetDef Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit ee4795b9f1545bf5a4e36f65c746cf35163b5d0d Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 12:13:04 2018 +0100 s4:lib: Use C99 initializer for PyGetSetDef in pymessaging Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 7017f245d5cf8437101650a325ac3dd44ba35c36 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:38:43 2018 +0100 s4:librpc: Use C99 initializer for PyGetSetDef in pyrpc Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 2baa2c0f434e2db956e6b2b59157f0b6994a436b Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:20:43 2019 +0100 s3:passdb: Use C99 initializer for PyGetSetDef in py_passdb Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 85a5dc56e34298a60d7ef96f4178ccff20d40c82 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:34:37 2018 +0100 lib:ldb: Use C99 initializer for PyGetSetDef in pyldb Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 651ee7f205f4a7e31c791f7bb235275816747463 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:29:09 2018 +0100 lib:tdb: Use C99 initializer for PyGetSetDef in pytdb Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 0a6f78d736f20bb02719a4f99ce9b6ecb96d0755 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 09:51:05 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_shutdown Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 5701586d53109cfd84cfeebf6cfcaf162a19320c Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 09:48:06 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_epmapper Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 328cb7aa9a6b2cc667f2e2de91de492a1c7d007f Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 09:42:17 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit eee66741f6e0f3432ebb8a14deb79ce0f18c1d7a Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 14:57:21 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_eventlog Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit f70dbe9f866572d25a8973bd45250dd3c727c0d5 Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 14:47:02 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_witness Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 05afe9624ff16d716562cc19417f4b4cbef4189b Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 14:16:11 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in rpcclient Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit bbc4d8c52afba0975d25c001656280a471189b81 Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 14:05:57 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_lsarpc Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 90b338e86d0aadeabcc74ae7e4888d7a64e14633 Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 13:43:24 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_samr Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit d69fbf4150a5587b2dcdf00506279dfa27304d85 Author: Andreas Schneider <a...@samba.org> Date: Wed Jan 9 16:31:51 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_clusapi Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit b7b78134228fa96a0ccf2ef310720db6b18b2037 Author: Andreas Schneider <a...@samba.org> Date: Wed Jan 9 16:29:06 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_ntsvcvs Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 2069372e1ea47ce14a6e98fdcf3397abc692a4e8 Author: Andreas Schneider <a...@samba.org> Date: Wed Jan 9 16:21:34 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_iremotewinspool Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit a1765267ad73694ddda3f6da6756ef32468f6fbd Author: Andreas Schneider <a...@samba.org> Date: Wed Jan 9 15:16:35 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_winreg Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 711cb035077b7e0677e69b9b38ecbdc4689bcf77 Author: Andreas Schneider <a...@samba.org> Date: Wed Jan 9 15:15:18 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_fss Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 2bec9593ba2fc73405de52fe986a8e90eaf6612c Author: Andreas Schneider <a...@samba.org> Date: Wed Jan 9 15:14:05 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_wkssvc Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 8cb851ffb9eb254ed63c35889c98afd6dcec9f7a Author: Andreas Schneider <a...@samba.org> Date: Wed Jan 9 15:12:23 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_dssetup Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 17d166e6bd850d1e0ad0a0a00e7f3f7825ef1701 Author: Andreas Schneider <a...@samba.org> Date: Wed Jan 9 15:11:01 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_drsuapi Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit d1695761a1ada3ab0765722dc1d040cc9a3b8b3f Author: Andreas Schneider <a...@samba.org> Date: Wed Jan 9 13:27:03 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_echo Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 6087decf9ff91bb806fe8129d532c3ad0feb477e Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 18:06:43 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_srvsvc Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 281c5107b0f902d1e95b1d28dce344751d6ba31f Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 18:01:42 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_netlogon Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 5b298d30c84348ff1fa6420861205985e32e813d Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:57:26 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_dfs Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 65729e3782eda6ea0553f4e8ac53d9fe7fd6905b Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:50:20 2019 +0100 s3:rpcclient: Use C99 initializer for cmd_set in cmd_spoolss Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 78b45a4762a17f447df6040931b71d0edf888a78 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:11:57 2019 +0100 s3:torture: Use C99 initializer for cmd_set in vfstest Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 34ae8dc311630dab2ff182a35535ea754e020048 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:09:11 2019 +0100 s3:torture: Use C99 initializer for cmd_set in cmd_vfs Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 2b6706fbbee0426d0f2e0b68ef9ce5baf416b296 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 10:46:33 2018 +0100 s4:lib: Use C99 initializer for poptOption in popt_credentials Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit ded66cf39eda4161c2a1158490ed83c61567a34e Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 10:41:51 2018 +0100 s4:lib: Use C99 initializer for poptOption in popt_common Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit f66ead39de8d08472bbacf6b7e9b0d94d4d69d36 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 18:05:34 2019 +0100 s4:client: Use C99 initializer for poptOption in cifsdd Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit ad13bd56f2a45c74aaaca1f30078d6dcc61c91cb Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 11:43:39 2019 +0100 s4:client: Use C99 initializer for poptOption in client Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit ee8f098646b0eb9d8da6dfbaba88693c4f90d1a5 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:49:35 2018 +0100 s4:smbd: Use C99 initializer for poptOption in server Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 3a5cd0a333c94608284e7ef22788d1b2a4d74260 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 11:08:11 2019 +0100 s3:utils: Use C99 initializer for poptOption in mvxattr Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit e9ef830f6505bb1a8bc02d545a45618251180263 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 10:56:08 2019 +0100 s3:nmbd: Use C99 initializer for poptOption in nmbd Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 025b32e5253f86ed348d917d57784fa3513cb1b5 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 10:19:07 2018 +0100 s3:netapi: Use C99 initializer for poptOption in netapi example Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 1cde483c96456b23b896dad37bbe3088523931c9 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:02:48 2018 +0100 s3:lib: Use C99 initializer for poptOption in popt_common_cmdline Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit fd499b7fef71c2b8e9182b2b4bbd020d02e9b1dc Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 10:31:46 2018 +0100 s3:lib: Use C99 initializer for poptOption in popt_common Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit f68d6aa3356edd3b9f0f00cd7f57e5a0ded162a8 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:37:24 2019 +0100 s3:lib: Use C99 initializer for poptOption in netapi nltest Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit d34edc6b7bad584784c36413bfa1af1ae7b7056d Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:32:53 2019 +0100 s3:lib: Use C99 initializer for poptOption in netapi common test Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 54c1ab6d755b03ea0f43cb583e28f1006d61c01e Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 16:59:23 2019 +0100 s3:lib: Use POPT_TABLEEND for last element of poptOption Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 650af8bf9e98c9d79867952ce21465198338ceb1 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:24:41 2019 +0100 s3:winbind: Use C99 initializer for poptOption in winbindd Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 4c3ada25154000370b6221524d2430ec570f20a1 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:14:28 2019 +0100 s3:param: Use C99 initializer for poptOption in test_lp_load Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit f699cec7d56ae0f8350b28ae08083dbb1270abbc Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 15:03:54 2019 +0100 s3:utils: Use C99 initializer for poptOption in smbget Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 0de35fd3f691a42ca5985f5ddd5dd3821d8d44a2 Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 14:53:36 2019 +0100 s3:utils: Use C99 initializer for poptOption in smbtree Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 90103d1d9e2d19b8bb6bd5e38e4103e7d4e8a744 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 11:04:25 2019 +0100 s3:utils: Use C99 initializer for poptOption in net Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 5961286f29e9225f0fa5ee7b395825d06e2575c7 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 10:47:44 2019 +0100 s3:utils: Use C99 initializer for poptOption in log2pcaphex Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 7c8d4f2116fa3800d95ab0413dc77db8e1ad969e Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 10:46:27 2019 +0100 s3:utils: Use C99 initializer for poptOption in testparm Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit f5f084e9fd09ef2d0ff2c1e30ce5866f30c9e412 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 10:43:48 2019 +0100 s3:utils: Use C99 initializer for poptOption in smbcquotas Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit a2bb56542bade9c16ba2244a8efb0e8c4259ec4c Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 10:00:04 2019 +0100 s3:utils: Use C99 initializer for poptOption in ntlm_auth Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 0fde49ac6b6f7e6156c3e94488e79784b20f979b Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 09:56:22 2019 +0100 s3:utils: Use C99 initializer for poptOption in sharesec Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit aa944d50fa466c80d4b220387199cd48658be9a6 Author: Andreas Schneider <a...@samba.org> Date: Mon Jan 14 09:52:48 2019 +0100 s3:utils: Use C99 initializer for poptOption in profiles Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 19d449588218abf259ecb7c49b2b761d6b72e3ce Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 16:25:30 2019 +0100 s3:utils: Use C99 initializer for poptOption in nmblookup Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 5990980cc92cf15a2077990b74178fdc214e3d4e Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 15:26:38 2019 +0100 s3:utils: Use C99 initializer for poptOption in smbcacls Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 83d25ca9d90897925a4431dd55e68c78244900b3 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 12:21:36 2019 +0100 s3:utils: Use C99 initializer for poptOption in smbstatus Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit a3aca2f73412fd35ece4b6610959928a2b62fff5 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:07:34 2019 +0100 s3:torture: Use C99 initializer for poptOption in vfstest Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 9a15d458447ae054b36a24dbff1dd848aecb998b Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 12:15:04 2019 +0100 s3:smbd: Use C99 initializer for poptOption in smbd server Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 3834ea867a4bf3d8c7742c5718927589390b98aa Author: Andreas Schneider <a...@samba.org> Date: Fri Jan 11 15:14:09 2019 +0100 s3:rpcclient: Use C99 initializer for poptOption in cmd_witness Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit b0dbc7d1f5072e82346059a156af7e1c13dac28c Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 12:18:23 2019 +0100 s3:client: Use C99 initializer for poptOption in smbclient Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 53e2e8c37df765479f7478982b5fda31f26a3039 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 12:09:43 2018 +0100 nsswitch: Use C99 initializer for poptOption in wbinfo Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit cdf03f92069d10231912fdb9bb8243108e34e4cd Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 11:55:20 2019 +0100 libcli:nbt: Use C99 initializer for poptOption in nmblookup Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit cbf8917b401d70f93d7dc9761c6ff18d587d9163 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 11:23:00 2018 +0100 lib:texpect: Use C99 initializer for poptOption in texpect Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 007898bf8d750fd343746b7de47da3b4583918f3 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:30:04 2019 +0100 examples: Use C99 initializer for poptOption in testacl Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit d304d3c6f0deb3c9a713aa12d678e658ec658437 Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 17:27:32 2019 +0100 examples: Reformat testacl libsmbclient example Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit 23709cc3516fe54637775c19b4e57432fbada8f6 Author: Andreas Schneider <a...@samba.org> Date: Thu Dec 13 10:55:23 2018 +0100 ctdb: Use C99 initializer for poptOption in test_options Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> commit db6992c2e9037444b6976e9b9c32ced97017b41f Author: Andreas Schneider <a...@samba.org> Date: Tue Jan 8 11:59:31 2019 +0100 ctdb: Use C99 initializer for poptOption in ctdb tool Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagn...@catalyst.net.nz> ----------------------------------------------------------------------- Summary of changes: auth/credentials/pycredentials.c | 399 ++++++++++---- auth/gensec/schannel.c | 4 +- ctdb/common/system_socket.c | 12 +- ctdb/common/tunable.c | 2 +- ctdb/tests/src/test_options.c | 105 +++- ctdb/tools/ctdb.c | 80 ++- ctdb/tools/ltdbtool.c | 4 +- examples/libsmbclient/testacl.c | 588 +++++++++++--------- lib/ldb/common/ldb_msg.c | 6 +- lib/ldb/pyldb.c | 62 ++- lib/ldb/tools/ldbdump.c | 4 +- lib/tdb/common/open.c | 4 +- lib/tdb/pytdb.c | 52 +- lib/tdb/tools/tdbdump.c | 4 +- lib/tevent/tevent_req.c | 10 +- lib/texpect/texpect.c | 16 +- lib/util/charset/iconv.c | 83 ++- lib/util/charset/weird.c | 16 +- lib/util/tests/tfork.c | 14 +- libcli/nbt/tools/nmblookup.c | 100 +++- libcli/security/sddl.c | 98 ++-- libcli/smb/smbXcli_base.c | 8 +- libgpo/gpext/gpext.c | 84 ++- librpc/rpc/dcerpc_error.c | 2 +- nsswitch/wbinfo.c | 565 ++++++++++++++++--- source3/client/client.c | 145 ++++- source3/lib/audit.c | 2 +- source3/lib/netapi/examples/common.c | 41 +- source3/lib/netapi/examples/netlogon/nltest.c | 277 +++++++++- source3/lib/netapi/tests/common.c | 40 +- source3/lib/popt_common.c | 144 ++++- source3/lib/popt_common_cmdline.c | 90 ++- source3/lib/smbconf/testsuite.c | 2 +- source3/nmbd/nmbd.c | 70 ++- source3/param/test_lp_load.c | 10 +- source3/passdb/py_passdb.c | 236 ++++++-- source3/registry/reg_parse_internal.c | 2 +- source3/rpcclient/cmd_clusapi.c | 129 ++++- source3/rpcclient/cmd_dfs.c | 74 ++- source3/rpcclient/cmd_drsuapi.c | 52 +- source3/rpcclient/cmd_dssetup.c | 23 +- source3/rpcclient/cmd_echo.c | 54 +- source3/rpcclient/cmd_epmapper.c | 34 +- source3/rpcclient/cmd_eventlog.c | 96 +++- source3/rpcclient/cmd_fss.c | 8 +- source3/rpcclient/cmd_iremotewinspool.c | 42 +- source3/rpcclient/cmd_lsarpc.c | 375 +++++++++++-- source3/rpcclient/cmd_netlogon.c | 224 +++++++- source3/rpcclient/cmd_ntsvcs.c | 85 ++- source3/rpcclient/cmd_samr.c | 377 +++++++++++-- source3/rpcclient/cmd_shutdown.c | 32 +- source3/rpcclient/cmd_spoolss.c | 431 +++++++++++++-- source3/rpcclient/cmd_srvsvc.c | 188 ++++++- source3/rpcclient/cmd_test.c | 21 +- source3/rpcclient/cmd_winreg.c | 41 +- source3/rpcclient/cmd_witness.c | 209 ++++++- source3/rpcclient/cmd_wkssvc.c | 65 ++- source3/rpcclient/rpcclient.c | 186 ++++++- source3/smbd/lanman.c | 215 ++++++-- source3/smbd/server.c | 78 ++- source3/torture/cmd_vfs.c | 2 +- source3/torture/torture.c | 763 +++++++++++++++++++++----- source3/torture/vfstest.c | 38 +- source3/utils/log2pcaphex.c | 18 +- source3/utils/mvxattr.c | 56 +- source3/utils/net.c | 376 +++++++++++-- source3/utils/net_lookup.c | 49 +- source3/utils/nmblookup.c | 84 ++- source3/utils/ntlm_auth.c | 167 +++++- source3/utils/profiles.c | 27 +- source3/utils/sharesec.c | 109 +++- source3/utils/smbcacls.c | 133 ++++- source3/utils/smbcontrol.c | 211 +++++-- source3/utils/smbcquotas.c | 86 ++- source3/utils/smbget.c | 152 ++++- source3/utils/smbtree.c | 27 +- source3/utils/status.c | 108 +++- source3/utils/testparm.c | 55 +- source3/winbindd/winbindd.c | 54 +- source4/client/cifsdd.c | 92 +++- source4/client/client.c | 80 ++- source4/dsdb/common/util.c | 12 +- source4/dsdb/samdb/ldb_modules/samba3sam.c | 2 +- source4/lib/cmdline/popt_common.c | 157 +++++- source4/lib/cmdline/popt_credentials.c | 87 ++- source4/lib/messaging/pymessaging.c | 9 +- source4/librpc/rpc/pyrpc.c | 59 +- source4/param/pyparam.c | 14 +- source4/smbd/server.c | 67 ++- source4/torture/gentest.c | 176 +++++- source4/torture/raw/notify.c | 160 ++++-- source4/torture/raw/oplock.c | 28 +- source4/torture/raw/qfileinfo.c | 331 ++++++++--- source4/torture/raw/qfsinfo.c | 73 ++- source4/torture/raw/search.c | 144 +++-- source4/torture/rpc/forest_trust.c | 2 +- source4/torture/rpc/samlogon.c | 29 +- source4/torture/rpc/winreg.c | 162 ++++-- source4/torture/smb2/dir.c | 72 ++- source4/torture/smb2/getinfo.c | 2 +- source4/torture/smb2/notify.c | 160 ++++-- source4/torture/smb2/oplock.c | 28 +- source4/torture/smb2/sharemode.c | 40 +- source4/torture/vfs/fruit.c | 288 +++++----- 104 files changed, 9028 insertions(+), 2181 deletions(-) Changeset truncated at 500 lines: diff --git a/auth/credentials/pycredentials.c b/auth/credentials/pycredentials.c index 7f9bc38af8e..d1ee12e45a9 100644 --- a/auth/credentials/pycredentials.c +++ b/auth/credentials/pycredentials.c @@ -717,126 +717,285 @@ static PyObject *py_creds_encrypt_netr_crypt_password(PyObject *self, } static PyMethodDef py_creds_methods[] = { - { "get_username", py_creds_get_username, METH_NOARGS, - "S.get_username() -> username\nObtain username." }, - { "set_username", py_creds_set_username, METH_VARARGS, - "S.set_username(name[, credentials.SPECIFIED]) -> None\n" - "Change username." }, - { "get_principal", py_creds_get_principal, METH_NOARGS, - "S.get_principal() -> user@realm\nObtain user principal." }, - { "set_principal", py_creds_set_principal, METH_VARARGS, - "S.set_principal(name[, credentials.SPECIFIED]) -> None\n" - "Change principal." }, - { "get_password", py_creds_get_password, METH_NOARGS, - "S.get_password() -> password\n" - "Obtain password." }, - { "get_ntlm_username_domain", py_creds_get_ntlm_username_domain, METH_NOARGS, - "S.get_ntlm_username_domain() -> (domain, username)\n" - "Obtain NTLM username and domain, split up either as (DOMAIN, user) or (\"\", \"user@realm\")." }, - { "get_ntlm_response", (PyCFunction)py_creds_get_ntlm_response, METH_VARARGS | METH_KEYWORDS, - "S.get_ntlm_response" - "(flags, challenge[, target_info]) -> " - "(flags, lm_response, nt_response, lm_session_key, nt_session_key)\n" - "Obtain LM or NTLM response." }, - { "set_password", py_creds_set_password, METH_VARARGS, - "S.set_password(password[, credentials.SPECIFIED]) -> None\n" - "Change password." }, - { "set_utf16_password", py_creds_set_utf16_password, METH_VARARGS, - "S.set_utf16_password(password[, credentials.SPECIFIED]) -> None\n" - "Change password." }, - { "get_old_password", py_creds_get_old_password, METH_NOARGS, - "S.get_old_password() -> password\n" - "Obtain old password." }, - { "set_old_password", py_creds_set_old_password, METH_VARARGS, - "S.set_old_password(password[, credentials.SPECIFIED]) -> None\n" - "Change old password." }, - { "set_old_utf16_password", py_creds_set_old_utf16_password, METH_VARARGS, - "S.set_old_utf16_password(password[, credentials.SPECIFIED]) -> None\n" - "Change old password." }, - { "get_domain", py_creds_get_domain, METH_NOARGS, - "S.get_domain() -> domain\n" - "Obtain domain name." }, - { "set_domain", py_creds_set_domain, METH_VARARGS, - "S.set_domain(domain[, credentials.SPECIFIED]) -> None\n" - "Change domain name." }, - { "get_realm", py_creds_get_realm, METH_NOARGS, - "S.get_realm() -> realm\n" - "Obtain realm name." }, - { "set_realm", py_creds_set_realm, METH_VARARGS, - "S.set_realm(realm[, credentials.SPECIFIED]) -> None\n" - "Change realm name." }, - { "get_bind_dn", py_creds_get_bind_dn, METH_NOARGS, - "S.get_bind_dn() -> bind dn\n" - "Obtain bind DN." }, - { "set_bind_dn", py_creds_set_bind_dn, METH_VARARGS, - "S.set_bind_dn(bind_dn) -> None\n" - "Change bind DN." }, - { "is_anonymous", py_creds_is_anonymous, METH_NOARGS, - NULL }, - { "set_anonymous", py_creds_set_anonymous, METH_NOARGS, - "S.set_anonymous() -> None\n" - "Use anonymous credentials." }, - { "get_workstation", py_creds_get_workstation, METH_NOARGS, - NULL }, - { "set_workstation", py_creds_set_workstation, METH_VARARGS, - NULL }, - { "authentication_requested", py_creds_authentication_requested, METH_NOARGS, - NULL }, - { "wrong_password", py_creds_wrong_password, METH_NOARGS, - "S.wrong_password() -> bool\n" - "Indicate the returned password was incorrect." }, - { "set_cmdline_callbacks", py_creds_set_cmdline_callbacks, METH_NOARGS, - "S.set_cmdline_callbacks() -> bool\n" - "Use command-line to obtain credentials not explicitly set." }, - { "parse_string", py_creds_parse_string, METH_VARARGS, - "S.parse_string(text[, credentials.SPECIFIED]) -> None\n" - "Parse credentials string." }, - { "parse_file", py_creds_parse_file, METH_VARARGS, - "S.parse_file(filename[, credentials.SPECIFIED]) -> None\n" - "Parse credentials file." }, - { "set_password_will_be_nt_hash", - py_cli_credentials_set_password_will_be_nt_hash, METH_VARARGS, - "S.set_password_will_be_nt_hash(bool) -> None\n" - "Alters the behaviour of S.set_password() " - "to expect the NTHASH as hexstring." }, - { "get_nt_hash", py_creds_get_nt_hash, METH_NOARGS, - NULL }, - { "get_kerberos_state", py_creds_get_kerberos_state, METH_NOARGS, - NULL }, - { "set_kerberos_state", py_creds_set_kerberos_state, METH_VARARGS, - NULL }, - { "set_krb_forwardable", py_creds_set_krb_forwardable, METH_VARARGS, - NULL }, - { "guess", py_creds_guess, METH_VARARGS, NULL }, - { "set_machine_account", py_creds_set_machine_account, METH_VARARGS, NULL }, - { "get_named_ccache", py_creds_get_named_ccache, METH_VARARGS, NULL }, - { "set_named_ccache", py_creds_set_named_ccache, METH_VARARGS, - "S.set_named_ccache(krb5_ccache_name, obtained, lp) -> None\n" - "Set credentials to KRB5 Credentials Cache (by name)." }, - { "set_gensec_features", py_creds_set_gensec_features, METH_VARARGS, NULL }, - { "get_gensec_features", py_creds_get_gensec_features, METH_NOARGS, NULL }, - { "get_forced_sasl_mech", py_creds_get_forced_sasl_mech, METH_NOARGS, - "S.get_forced_sasl_mech() -> SASL mechanism\nObtain forced SASL mechanism." }, - { "set_forced_sasl_mech", py_creds_set_forced_sasl_mech, METH_VARARGS, - "S.set_forced_sasl_mech(name) -> None\n" - "Set forced SASL mechanism." }, - { "new_client_authenticator", - py_creds_new_client_authenticator, - METH_NOARGS, - "S.new_client_authenticator() -> Authenticator\n" - "Get a new client NETLOGON_AUTHENTICATOR"}, - { "set_secure_channel_type", py_creds_set_secure_channel_type, - METH_VARARGS, NULL }, - { "get_secure_channel_type", py_creds_get_secure_channel_type, - METH_VARARGS }, - { "encrypt_netr_crypt_password", - py_creds_encrypt_netr_crypt_password, - METH_VARARGS, - "S.encrypt_netr_crypt_password(password) -> NTSTATUS\n" - "Encrypt the supplied password using the session key and\n" - "the negotiated encryption algorithm in place\n" - "i.e. it overwrites the original data"}, - { NULL } + { + .ml_name = "get_username", + .ml_meth = py_creds_get_username, + .ml_flags = METH_NOARGS, + .ml_doc = "S.get_username() -> username\nObtain username.", + }, + { + .ml_name = "set_username", + .ml_meth = py_creds_set_username, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_username(name[, credentials.SPECIFIED]) -> None\n" + "Change username.", + }, + { + .ml_name = "get_principal", + .ml_meth = py_creds_get_principal, + .ml_flags = METH_NOARGS, + .ml_doc = "S.get_principal() -> user@realm\nObtain user principal.", + }, + { + .ml_name = "set_principal", + .ml_meth = py_creds_set_principal, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_principal(name[, credentials.SPECIFIED]) -> None\n" + "Change principal.", + }, + { + .ml_name = "get_password", + .ml_meth = py_creds_get_password, + .ml_flags = METH_NOARGS, + .ml_doc = "S.get_password() -> password\n" + "Obtain password.", + }, + { + .ml_name = "get_ntlm_username_domain", + .ml_meth = py_creds_get_ntlm_username_domain, + .ml_flags = METH_NOARGS, + .ml_doc = "S.get_ntlm_username_domain() -> (domain, username)\n" + "Obtain NTLM username and domain, split up either as (DOMAIN, user) or (\"\", \"user@realm\").", + }, + { + .ml_name = "get_ntlm_response", + .ml_meth = (PyCFunction)py_creds_get_ntlm_response, + .ml_flags = METH_VARARGS | METH_KEYWORDS, + .ml_doc = "S.get_ntlm_response" + "(flags, challenge[, target_info]) -> " + "(flags, lm_response, nt_response, lm_session_key, nt_session_key)\n" + "Obtain LM or NTLM response.", + }, + { + .ml_name = "set_password", + .ml_meth = py_creds_set_password, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_password(password[, credentials.SPECIFIED]) -> None\n" + "Change password.", + }, + { + .ml_name = "set_utf16_password", + .ml_meth = py_creds_set_utf16_password, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_utf16_password(password[, credentials.SPECIFIED]) -> None\n" + "Change password.", + }, + { + .ml_name = "get_old_password", + .ml_meth = py_creds_get_old_password, + .ml_flags = METH_NOARGS, + .ml_doc = "S.get_old_password() -> password\n" + "Obtain old password.", + }, + { + .ml_name = "set_old_password", + .ml_meth = py_creds_set_old_password, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_old_password(password[, credentials.SPECIFIED]) -> None\n" + "Change old password.", + }, + { + .ml_name = "set_old_utf16_password", + .ml_meth = py_creds_set_old_utf16_password, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_old_utf16_password(password[, credentials.SPECIFIED]) -> None\n" + "Change old password.", + }, + { + .ml_name = "get_domain", + .ml_meth = py_creds_get_domain, + .ml_flags = METH_NOARGS, + .ml_doc = "S.get_domain() -> domain\n" + "Obtain domain name.", + }, + { + .ml_name = "set_domain", + .ml_meth = py_creds_set_domain, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_domain(domain[, credentials.SPECIFIED]) -> None\n" + "Change domain name.", + }, + { + .ml_name = "get_realm", + .ml_meth = py_creds_get_realm, + .ml_flags = METH_NOARGS, + .ml_doc = "S.get_realm() -> realm\n" + "Obtain realm name.", + }, + { + .ml_name = "set_realm", + .ml_meth = py_creds_set_realm, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_realm(realm[, credentials.SPECIFIED]) -> None\n" + "Change realm name.", + }, + { + .ml_name = "get_bind_dn", + .ml_meth = py_creds_get_bind_dn, + .ml_flags = METH_NOARGS, + .ml_doc = "S.get_bind_dn() -> bind dn\n" + "Obtain bind DN.", + }, + { + .ml_name = "set_bind_dn", + .ml_meth = py_creds_set_bind_dn, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_bind_dn(bind_dn) -> None\n" + "Change bind DN.", + }, + { + .ml_name = "is_anonymous", + .ml_meth = py_creds_is_anonymous, + .ml_flags = METH_NOARGS, + }, + { + .ml_name = "set_anonymous", + .ml_meth = py_creds_set_anonymous, + .ml_flags = METH_NOARGS, + .ml_doc = "S.set_anonymous() -> None\n" + "Use anonymous credentials.", + }, + { + .ml_name = "get_workstation", + .ml_meth = py_creds_get_workstation, + .ml_flags = METH_NOARGS, + }, + { + .ml_name = "set_workstation", + .ml_meth = py_creds_set_workstation, + .ml_flags = METH_VARARGS, + }, + { + .ml_name = "authentication_requested", + .ml_meth = py_creds_authentication_requested, + .ml_flags = METH_NOARGS, + }, + { + .ml_name = "wrong_password", + .ml_meth = py_creds_wrong_password, + .ml_flags = METH_NOARGS, + .ml_doc = "S.wrong_password() -> bool\n" + "Indicate the returned password was incorrect.", + }, + { + .ml_name = "set_cmdline_callbacks", + .ml_meth = py_creds_set_cmdline_callbacks, + .ml_flags = METH_NOARGS, + .ml_doc = "S.set_cmdline_callbacks() -> bool\n" + "Use command-line to obtain credentials not explicitly set.", + }, + { + .ml_name = "parse_string", + .ml_meth = py_creds_parse_string, + .ml_flags = METH_VARARGS, + .ml_doc = "S.parse_string(text[, credentials.SPECIFIED]) -> None\n" + "Parse credentials string.", + }, + { + .ml_name = "parse_file", + .ml_meth = py_creds_parse_file, + .ml_flags = METH_VARARGS, + .ml_doc = "S.parse_file(filename[, credentials.SPECIFIED]) -> None\n" + "Parse credentials file.", + }, + { + .ml_name = "set_password_will_be_nt_hash", + .ml_meth = py_cli_credentials_set_password_will_be_nt_hash, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_password_will_be_nt_hash(bool) -> None\n" + "Alters the behaviour of S.set_password() " + "to expect the NTHASH as hexstring.", + }, + { + .ml_name = "get_nt_hash", + .ml_meth = py_creds_get_nt_hash, + .ml_flags = METH_NOARGS, + }, + { + .ml_name = "get_kerberos_state", + .ml_meth = py_creds_get_kerberos_state, + .ml_flags = METH_NOARGS, + }, + { + .ml_name = "set_kerberos_state", + .ml_meth = py_creds_set_kerberos_state, + .ml_flags = METH_VARARGS, + }, + { + .ml_name = "set_krb_forwardable", + .ml_meth = py_creds_set_krb_forwardable, + .ml_flags = METH_VARARGS, + }, + { + .ml_name = "guess", + .ml_meth = py_creds_guess, + .ml_flags = METH_VARARGS, + }, + { + .ml_name = "set_machine_account", + .ml_meth = py_creds_set_machine_account, + .ml_flags = METH_VARARGS, + }, + { + .ml_name = "get_named_ccache", + .ml_meth = py_creds_get_named_ccache, + .ml_flags = METH_VARARGS, + }, + { + .ml_name = "set_named_ccache", + .ml_meth = py_creds_set_named_ccache, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_named_ccache(krb5_ccache_name, obtained, lp) -> None\n" + "Set credentials to KRB5 Credentials Cache (by name).", + }, + { + .ml_name = "set_gensec_features", + .ml_meth = py_creds_set_gensec_features, + .ml_flags = METH_VARARGS, + }, + { + .ml_name = "get_gensec_features", + .ml_meth = py_creds_get_gensec_features, + .ml_flags = METH_NOARGS, + }, + { + .ml_name = "get_forced_sasl_mech", + .ml_meth = py_creds_get_forced_sasl_mech, + .ml_flags = METH_NOARGS, + .ml_doc = "S.get_forced_sasl_mech() -> SASL mechanism\nObtain forced SASL mechanism.", + }, + { + .ml_name = "set_forced_sasl_mech", + .ml_meth = py_creds_set_forced_sasl_mech, + .ml_flags = METH_VARARGS, + .ml_doc = "S.set_forced_sasl_mech(name) -> None\n" + "Set forced SASL mechanism.", + }, + { + .ml_name = "new_client_authenticator", + .ml_meth = py_creds_new_client_authenticator, + .ml_flags = METH_NOARGS, + .ml_doc = "S.new_client_authenticator() -> Authenticator\n" + "Get a new client NETLOGON_AUTHENTICATOR"}, + { + .ml_name = "set_secure_channel_type", + .ml_meth = py_creds_set_secure_channel_type, + .ml_flags = METH_VARARGS, + }, + { + .ml_name = "get_secure_channel_type", + .ml_meth = py_creds_get_secure_channel_type, + .ml_flags = METH_VARARGS, + }, + { + .ml_name = "encrypt_netr_crypt_password", + .ml_meth = py_creds_encrypt_netr_crypt_password, + .ml_flags = METH_VARARGS, + .ml_doc = "S.encrypt_netr_crypt_password(password) -> NTSTATUS\n" + "Encrypt the supplied password using the session key and\n" + "the negotiated encryption algorithm in place\n" + "i.e. it overwrites the original data"}, + { .ml_name = NULL } }; static struct PyModuleDef moduledef = { diff --git a/auth/gensec/schannel.c b/auth/gensec/schannel.c index 71e9afdf48e..364a0fcc186 100644 --- a/auth/gensec/schannel.c +++ b/auth/gensec/schannel.c @@ -504,7 +504,9 @@ static NTSTATUS schannel_update_internal(struct gensec_security *gensec_security struct schannel_state); NTSTATUS status; enum ndr_err_code ndr_err; - struct NL_AUTH_MESSAGE bind_schannel = {}; + struct NL_AUTH_MESSAGE bind_schannel = { + .Flags = 0, + }; struct NL_AUTH_MESSAGE bind_schannel_ack; struct netlogon_creds_CredentialState *creds; const char *workstation; diff --git a/ctdb/common/system_socket.c b/ctdb/common/system_socket.c index 668c0454619..c6800431112 100644 --- a/ctdb/common/system_socket.c +++ b/ctdb/common/system_socket.c @@ -329,9 +329,17 @@ int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface) { int s; struct sockaddr_ll sall = {0}; - struct ifreq if_hwaddr = {{{0}}}; + struct ifreq if_hwaddr = { + .ifr_ifru = { + .ifru_flags = 0 + }, + }; uint8_t buffer[MAX(ARP_BUFFER_SIZE, IP6_NA_BUFFER_SIZE)]; - struct ifreq ifr = {{{0}}}; + struct ifreq ifr = { + .ifr_ifru = { + .ifru_flags = 0 + }, + }; struct ether_addr *hwaddr = NULL; struct ether_addr *ether_dhost = NULL; size_t len = 0; diff --git a/ctdb/common/tunable.c b/ctdb/common/tunable.c index f516d8c5374..8d475858c5f 100644 --- a/ctdb/common/tunable.c +++ b/ctdb/common/tunable.c @@ -157,7 +157,7 @@ static struct { offsetof(struct ctdb_tunable_list, ip_alloc_algorithm) }, { "AllowMixedVersions", 0, false, offsetof(struct ctdb_tunable_list, allow_mixed_versions) }, - { NULL, 0, true, } + { .obsolete = true, } }; void ctdb_tunable_set_defaults(struct ctdb_tunable_list *tun_list) diff --git a/ctdb/tests/src/test_options.c b/ctdb/tests/src/test_options.c index ba9c4961771..2c644046c24 100644 --- a/ctdb/tests/src/test_options.c +++ b/ctdb/tests/src/test_options.c @@ -33,38 +33,91 @@ static struct test_options _values; static struct poptOption options_basic[] = { - { "socket", 's', POPT_ARG_STRING, &_values.socket, 0, - "CTDB socket path", "filename" }, - { "timelimit", 't', POPT_ARG_INT, &_values.timelimit, 0, - "Time limit (in seconds)" }, - { "num-nodes", 'n', POPT_ARG_INT, &_values.num_nodes, 0, - "Number of cluster nodes" }, - { "debug", 'd', POPT_ARG_STRING, &_values.debugstr, 0, - "Debug level" }, - { "interactive", 'i', POPT_ARG_NONE, &_values.interactive, 0, - "Interactive output" }, - { NULL } + { + .longName = "socket", + .shortName = 's', + .argInfo = POPT_ARG_STRING, + .arg = &_values.socket, + .descrip = "CTDB socket path", + .argDescrip = "filename", + }, + { + .longName = "timelimit", + .shortName = 't', + .argInfo = POPT_ARG_INT, + .arg = &_values.timelimit, + .descrip = "Time limit (in seconds)", + }, + { + .longName = "num-nodes", + .shortName = 'n', + .argInfo = POPT_ARG_INT, -- Samba Shared Repository