The annotated tag, tdb-1.3.2 has been created at 5e9e3817fde47a4308293ed5874fea994d41b253 (tag) tagging e6c766848c5f5f13584f3bc4c1670c76e7ff8472 (commit) replaces samba-4.2.0rc1 tagged by Stefan Metzmacher on Sun Nov 30 18:26:54 2014 +0100
- Log ----------------------------------------------------------------- tdb: tag release tdb-1.3.2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJUe1NeAAoJEEeTkWETCEAlUYAH/RqsX8D+VOuzFuJPC7thFWsF xFN8GHX2Au1AE1eTCOZxKDUVJIglzqKDR3gvb0pfxnI9RNnvEfanJ8dSg6MnoN2Z IW2p1DM4yMoUTSeA6MmGyhws8fB7o0ImKf5tWsAqsBxoE57XjwZe7HHH/D0uoeWk Kr0ryRJH9XJoUA+dyRgKfxCH1JdbWwPkpc+UTn1VRxMX7Mk8hRS4KQwL4/NgMmTu Lq9MvOPG5eLxfRILRY3bbguVq2yTJ70WJLV4EX3FNmSgst9/QfH6dFho8zeBweD4 8IXVHDB4DgvuxqgUse3oYNZPi0kuETqvEoI7ENucMiBiPkjH+xjwhJs0x5fdXV0= =73wf -----END PGP SIGNATURE----- Amitay Isaacs (14): ctdb-tools: Fix heap-use-after-free problem s4-dns: Update template variables, change BIND98 --> BIND9_8 s4-dns: Check DLZ_DLOPEN_VERSION for different BIND versions s4-dns: Update dlz_minimal.h based on BIND release 9.10 s4-dns: Add support for BIND 9.10 build: Remove configure option --enable-old-ctdb build: Remove checks for ctdb features build: Remove configure option --with-ctdb-dir ctdb: Rename ctdb socket variable from CTDB_PATH to CTDB_SOCKET build: Remove configure checks for ctdb headers build: Simplify check for building with ctdb ctdb: Rename CTDB_VERSION to CTDB_PROTOCOL ctdb-daemon: Improve error handling for running event scripts s4-dns: dlz-bind: Add trailing '.' to all fqdn strings Andreas Schneider (39): swrap: Fix type punning warnings. swrap: Rename socket_wrapper_pcap_file(). swrap: Rename swrap_packet_init(). swrap: Rename swrap_marshall_packet(). swrap: Rename swrap_pcap_get_fd(). swrap: Rename swrap_pcap_dump_packet(). swrap: Use a sockaddr_un for the unix path in socket_info. swrap: Use swrap_address in the socket_info struct. swrap: Remove unused sockaddr_dup() function. swrap: Use swrap_address in swrap_accept(). swrap: Wrap fopen to detect stale file descriptors. swrap: Update copyright notice. swrap: Fix whitespace errors. swrap: Fix access to struct members in log messages. swrap: Fix type punning warnings when loading functions. swrap: Silence alignment warnings. swrap: Include the function name in the debug output. swrap: Implement fcntl() to catch F_DUPFD. swrap: Add a trace message for swrap_socket(). swrap: Add support for eventfd with unsigned count variable. swrap: Bump version to 1.1.2. nwrap: Fall back to RTLD_NEXT if we can't find libc. nwrap: Fix resolving hostnames with a trailing dot. nwrap: Don't overflow the in_addr if convert IPv6. nwrap: Use DNS_NAME_MAX cause it is not available on BSD. nwrap: Make sure addr is initialized. nwrap: Bump version of nss_wrapper to 1.0.3. configure: Unload the wrappers so waf configure succeeds. nss_wrapper: check for nss.h selftest: Fake the hostname. s3-rpcclient: Make sure current_nt_hash is initialized. s3-libsmb: Make sure the stat structure is initialized. torture: Make sure server_type isn't used uninitialized. libcli: Make sure status is initialized. s3-smbclient: Return success if we listed the shares. s3-smbstatus: Fix exit code of profile output. dfs_server: Only build in case we build an AD DC too. dns_server: Only build common library if AD DC is enabled. ntdb: Fix control reaches end of non-void function. Andrew Bartlett (26): torture: Reorder torture_winbind_struct_domain_info tests winbindd: Do not overwrite domain list with conflicting info from a trusted domain s3-winbindd: Pass the whole winbindd_domain to invalidate_cm_connection() s3-winbindd: Allow winbindd to connect over SMB2 to servers s3-rpc_client: Adapt cli_rpc_pipe_open_spnego to use enum credentials_kerberos_state s3-rpc_client: Adapt cli_rpc_pipe_open_generic_auth to use enum credentials_kerberos_state s3-rpc_client: Migrate to cli_rpc_pipe_open_generic_auth and remove cli_rpc_pipe_open_spnego s3-winbindd: Attempt to connect to NETLOGON over NCACN_IP_TCP if we can dsdb: Do not attempt to return beyond the end of the password history array tests: Allow "max open files" to differ from the documentation selftest: Run samba.tests.messaging in an environment where it has servers to list credentials: Set secure_channel_type from secrets.tdb in cli_credentials_set_machine_account credentials: Improve error message on failure to set machine account password credentials: Allow the secret.tdb handle to be passed in to cli_credentials_set_machine_account() auth/credentials: Ensure that we set the realm when reading secrets.tdb passdb: Use common code in cli_credentials_set_machine_account_db_ctx() libsmb: Print the principal name that we failed to kinit for. s3-winbindd: Use own machine account to connect to trusted domains as well s3-librpc: Add cli_rpc_pipe_open_with_creds() s3-winbindd: use cli_rpc_pipe_open_with_creds() s3:libsmb: Remove unused password copy stored in cli_state docs: Explain that winbindd enforces smb signing by default. ntlm_auth: Allow us to use kerberos when we are an AD DC ntlm_auth: Allow the --option parameter to work against ntlm_auth lib/param: Allow enum values to also be white-space insentive in comparison gse_krb5: Avoid a segfault when we can not read the dedicated keytab file Björn Baumbach (1): build: do not install texpect binary anymore. Björn Jacke (1): nss_winbind: add getgroupmembership for FreeBSD Chris Davis (44): regedit: silence some warnings regedit: add white on blue color scheme regedit: add padding for key labels when there's not a prefix. regedit: add borders around key and value lists, and change headings regedit: free value list subwindow regedit: sort keys regedit: add a color scheme for path and context help sections regedit: add search feature. regedit: add multicolumn list widget regedit: make value list display data in multiple columns regedit: restore list cursor when window is resized regedit: use talloc typesafety features regedit: handle awkward window sizes better regedit: notify user if there's a failure loading subkeys regedit: include error description in popups regedit: don't fail loading keys if just a few are unavailable regedit: set cursor to the parent node when ascending regedit: set cursor after creating a new key regedit: reopen parent keys when adding or removing subkeys regedit: reopen key after editing or removing values regedit: add a refresh command to clear cache and reload current path regedit: make all hives descend from a root node regedit: add a panic handler to restore terminal regedit: simplify cleanup after loading children regedit: add padding to fit REG_MULTI_SZ to the text field regedit: improvements for hexedit regedit: Introduce a new API to build the dialogs. regedit: move cursor to edited value in list and report edit errors regedit: use the right function to reopen a hive regedit: clear value list after creating new key regedit: use pad as a canvas for dialogs regedit: don't use subwindows in hexedit regedit: flesh out search dialog and simplify search opts regedit: search values and repeat search from cursor positions regedit: find previous items regedit: adjust some variable names to make them more distinct regedit: handle DEL key in text fields regedit: don't expand single line text field buffer with cursor movement regedit: add a number input box regedit: add a button to resize hexedit buffer regedit: grow hexedit buffer as the user types regedit: handle del and backspace in hexeditor regedit: handle pgup/pgdn/home/end keys on lists regedit: print error msg if opening registry fails Christof Schmitt (11): idmap_rfc2307: Fix a crash after connection problem to DC idmap_rfc2307: Remove unsed parameter and variable s3-winbindd: Remove extern declaration for cache_methods from winbindd_dual.c s3-winbindd: Make wcache_sid_to_name static smbd: Use MIN macro in fake_sendfile smbd: Pass only cmd to construct_reply_common instead of complete req smbd: Always use uint8_t for inbuf pointer windbindd: Make cm_connect_lsa_tcp static gencache: Convert gencache_notrans to use tdb_wrap gencache: Convert gencache.tdb to tdb_wrap gencache: Request mutexes for gencache_notrans.tdb David Disseldorp (50): gencache: don't leak cache_path onto talloc tos gpo: don't leak cache_path onto talloc tos printing: don't leak cache_path onto talloc tos nmbd: don't leak cache_path onto talloc tos samlogon_cache: don't leak cache_path onto talloc tos lanman: don't leak cache_path onto talloc tos printer_list: fix talloc tos leak of tdb record torture/spoolss: add werr_expected arg to EnumJobs helper torture/spoolss: test EnumJobs with an invalid level spoolss: fix handling of bad EnumJobs levels torture/spoolss: cleanup print_job_enum test jobs printing: add jobid_to_sysjob helper function spoolss: fix GetJob jobid lookups spoolss: fix jobid in level 1 GetJob and EnumJobs responses spoolss: fix jobid in level 2 GetJob and EnumJobs responses spoolss: fix jobid in level 3 EnumJobs response spoolss: remove unused fill_job_info3() groupdb: don't leak state_path onto talloc tos eventlog: don't leak state_path onto talloc tos sharesec: don't leak state_path onto talloc tos nmbd_winsserver: don't leak state_path onto talloc tos account_pol: don't leak state_path onto talloc tos pdb_tdb: don't leak state_path onto talloc tos nt_printing: don't leak state_path onto talloc tos reg_backend_db: don't leak state_path onto talloc tos reg_perfcount: don't leak state_path onto talloc tos net_idmap: don't leak state_path onto talloc tos net_registry: don't leak state_path onto talloc tos smbcontrol: don't leak state_path onto talloc tos idmap_autorid: don't leak state_path onto talloc tos winbindd: don't leak state_path onto talloc tos winbindd_cache: don't leak state_path onto talloc tos lang_tdb: don't leak lock_path or data_path onto talloc tos dbwrap_watch: don't leak lock_path onto talloc tos g_lock: don't leak lock_path onto talloc tos server_mutex: don't leak lock_path onto talloc tos serverid: don't leak lock_path onto talloc tos brlock: don't leak lock_path onto talloc tos share_mode_lock: don't leak lock_path onto talloc tos nmbd_namelistdb: don't leak lock_path onto talloc tos printer_list: don't leak lock_path onto talloc tos notify_internal: don't leak lock_path onto talloc tos smbXsrv: don't leak lock_path onto talloc tos smbstatus: check for lock_path talloc failures mapping_tdb: add missing talloc_free in error path eventlog: Free tos talloced path. selftest: ignore flapping addprinter[ex].print_job_enum test fsrvp: define FSRVP_E_SHADOWCOPYSET_ID_MISMATCH srv_srvsvc_nt: remove unneeded get_share_params() call param: remove unused get_share_params() Gabriel Buades (1): Change expired password flag indicator Garming Sam (3): wbinfo: fix tests and lack of cache flushing wbinfo: create a more comprehensive test for sids2xids param: fix testparm to show hidden share defaults Guenter Kukkukk (3): samba-tool: Fix enum values in dns.py samba-tool: Fix the IP output of "samba-tool dns serverinfo <some_server>" s4-rpc: dnsserver: Fix enumeration of IPv4 and IPv6 addresses Guy Harris (2): pidl: White space cleanups in Conformance.pm and NDR.pm Clean up more whitespace. Günther Deschner (12): s3-net: display full value of "msDS-SupportedEncryptionTypes". lib/crypto: add and build a copied version of SHA512 functions. libcli/smb: use lib/crypto SHA512 functions, do not depend on heimdal. netlogon: add new DS_SERVER_DS_8 flag. nbt: the DS_8 flag also shows up in netlogon cldap/mailslot replies. nbt-cli: display all known NBT_SERVER flags. s3-netapi: add DS_8 and WS flags to libnetapi and nltest. s4-libnet: make it possible to join "off-site". s3-proto: remove duplicate proto for add_string_to_array(). lib/util: use size_t for add_string_to_array(). samba: pass down size_t instead of int to add_string_to_array(). s3-libads: remove unused dn from ads_get_service_principal_names(). Jakub Hrozek (2): SO_PROTOCOL is platform-dependent Provide a compatible declaration of CMSG_ALIGN Jelmer Vernooij (53): samba.tests.source: Fix lint. Fix pydoctor invocation. samba_tool_drs: Fix docstring formatting so pydoctor groks it. py_net: Fix typo in change_password docstring, and indentation in samba.tests.unicodenames: Fix docstring formatting so pydoctor understands it. Run duplicate symbol check as just another test, rather than as part of "waf test". Don't ignore testsuites without --list support, but consider them as Don't import into testr when --load-list was specified, as testr will selftest: Actually honor --with-selftest-prefix. testr: Use waf testonly and create a custom directory for new workers. urgent_replication: Use subunit reporting, remove allow_empty_output. samba3dump: Add subunit-enabled test for samba3dump. filter-subunit: Drop support for allow_empty_output hack. Fix path to zlib in update-external.sh. update-external.sh: Update upstream URLs for testtools and subunit. data_blob.h: Add space between literal and string constant. Don't use a nested function when testing for visibility attribute support. Add samba.ensure_third_party_module() function, loading external python modules from third_party/ if the system doesn't provide them. Move dnspython to third_party. Display total number of tests in format-subunit, not just number of test suites. Remove unused imports. format-subunit: Remove remaining tabs. Rewrite show_test_time in python and support --limit argument. Remove tabs in python file, unnecessary 'pass'. Add 'make randomized-test' rule. dirsync test: Create and run a single testsuite, should easy migration to regulary Python unit tests. speedtest: Create and run a single testsuite, should easy migration to regulary Python unit tests. dsdb.tests.ldap: Create and run a single testsuite, should easy migration to regulary Python unit tests. dsdb.tests.acl: Create and run a single testsuite, should easy migration to regulary Python unit tests. Fix subunit test suite name. Support using system ldbmodify. filter-subunit: Consistently use spaces rather than tabs. Add bundled copy of 'extras' python module used by newer versions of testtools/subunit. Add convenience class for old-style Samba subunit python tests. subunitrun: Use new samba.tests.subunitrun module. Move option parsing to samba.tests.subunitrun. Move option handling into samba.tests.subunitrun. sec_descriptor test: Simplify, use samba.tests.subunitrun module. credentials test: Use samba.tests.subunitrun. speedtest: Use samba.tests.subunitrun. sites: Use samba.tests.subunitrun. token_group: Use samba.tests.subunitrun. sec_descriptor: Use samba.tests.subunitrun. passwords: Use samba.tests.subunitrun. password lockout: Use samba.tests.subunitrun. ldap_syntaxes: Use samba.tests.subunitrun. deletetest: use samba.tests.subunitrun. ldap: Use samba.tests.subunitrun. Include mimeparse, which is used by subunit/testtools. Use samba.tests.subunitrun in urgent replication test. Use samba.tests.subunitrun in dsdb ldap and ldap_schema tests. sam: Use samba.tests.subunitrun. Print number of slow tests from script rather than wscript. Jelmer Vernooij (8): Remove remaining instance of pep8 E211 (too many spaces before operator). Remove last instance of pep8 error E701 (more statements on one line). pep8: Import new version. Remove last instances of pep8 error E712 (use 'is' rather than '==' for booleans) Remove last instances of pep8 error E602 (old style exceptions). Fix more pep8 issues in code I touched recently. Remove obsolete pep8 test. Update zlib using update-external.sh. Jeremy Allison (16): s3: smb2cli: query info return length check was reversed. lib: uid_wrapper: Fix setgroups and syscall detection on a system without native uid_wrapper library. s3: lib, s3: modules: Fix compilation on Solaris. s3: smbd: Preparation for leases code merge. Ensure VFS is ready for 4.2.0. s3: libsmbclient - smb2. MacOSX 10 SMB2 server doesn't set STATUS_NO_MORE_FILES when handed a non-wildcard path. s3-nmbd: Fix netbios name truncation. s3:param: Add new option "strict rename". selftest:Samba3: use "strict rename = yes" s3: nmbd: Ensure NetBIOS names are only 15 characters stored. s4:torture: Add smb2.oplock test batch9a and raw.oplock test batch9a libcli/smb: Add smb2_lease_equal() which compares client_guids and keys. s3:smbd: Don't set fsp->oplock_type before we've granted any oplocks. libcli: SMB2: Pure SMB2-only negprot fix to make us behave as a Windows client does. s3: leases - torture test for timeout of responding to lease break request. s4: smb2 : torture: Add new dynamic_share leases test. s4: torture: leases - Add test for leases and blocking locks. Justin Maggard (1): winbind3: Fix pwent variable substitution Kai Blin (2): dns: Fix a compile warning by casting explicitly s3:printing: Avoid compiler warning about unused label Kamen Mazdrashki (11): loadparm: Allocate service->copymap in service memory context loadparm//init_copymap: Add braces around if/for blocks to match coding style lib-pyldb: Avoid SEGFAULT in case we can't convert passed value to py_String lib-pyldb: Avoid leaking memory in error cases lib-pyldb: Throw exception when we can't create MessageElement object lib-ldb: Check for input parameter when searching attributes by name lib-ldb_ldif: Stop processing if ldb_message element name is NULL lib-pyldb: Avoid crash when copying MessageElements between Python Message objects lib-ldb-test: Test copying message element from a message to a new message lib-pyldb: Fix docstring for msg.add() method - it was "S.append()" lib-pyldb: Block elements should be surrounded by {} in py_msg.setitem() Karolin Seeger (3): VERSION: Re-enable git snapshots. VERSION: Bump version up to 4.3.0pre1. WHATSNEW: Start release notes for Samba 4.3.0pre1. Marc Muehlfeld (4): selftest: Fix test samba4.blackbox.group.py samba-tool: Add exception when trying to add/remove none existent users from a group. samba-tool group add: Add option --nis-domain and --gid Fix typo in docs-xml/manpages/net.8.xml Martin Schwenke (49): lib/util: Clean up includes for blocking.c lib/util: Clean up includes for xfile.[ch] lib/util: Clean up includes for data_blob.[ch] lib/util: Clean up includes for time.[ch] lib/util: Clean up includes for signal.c lib/util: Replace an SMB_ASSERT() lib/util: Clean up includes for substitute.c lib/util: Clean up includes for fault.c lib/util: Clean up includes for util.c lib/util: Factor out subsystem samba-util-core from samba-util lib/util: Use charset_compat.h if SAMBA_UTIL_CORE_ONLY ctdb-logging: Remove log ringbuffer ctdb-tests: Make the fake log timestamp string easy to modify ctdb-logging: Change LogLevel to DEBUGLEVEL ctdb-logging: Update to use Samba style debug.h/debug.c ctdb-build: Move generation of ctdb_version.h earlier ctdb-build: Add generation of Samba-style version.h ctdb-build: Change from ctdb-util to samba-util ctdb-build: Fix handling of public headers ctdb-build: Rename define BINDIR to CTDB_HELPER_BINDIR ctdb-build: Make some steps conditional on standalone build build: Hook CTDB into top level build using --with-cluster-support lib/util: Use snprintf() instead of strftime() in timeval_str_buf() lib/util: Add RFC3339 timestamp support to timeval_str_buf() lib/util: Protect time_basic.h against multiple inclusion ctdb-logging: Add missing newline when logging to file ctdb-test: Remove unused function check_ctdb_logfile() ctdb-logging: Remove DEBUG_EMERG ctdb-logging: Remove debug levels DEBUG_ALERT and DEBUG_CRIT ctdb-logging: Rename ctdb_log_handler() to ctdb_child_log_handler() ctdb-logging: Remove log member from struct ctdb_context ctdb-logging: Remove ctdb element from struct ctdb_log_state ctdb-logging: Rework debug level parsing ctdb-logging: Separate out syslog and file logging backends ctdb-logging: Simplify file logging timestamping with timeval_str_buf() ctdb-logging: Replace logd code with a basic syslog(3) implementation ctdb-logging: New option CTDB_LOGGING, remove CTDB_LOGFILE, CTDB_SYSLOG ctdb-logging: Add non-blocking Unix domain logging to syslog backend ctdb-logging: Add logging via UDP to 127.0.0.1:514 to syslog backend ctdb-logging: Add logging via UDP logging using RFC5424 ctdb-includes: Clean up includes.h ctdb-includes: Remove unused idtree.h ctdb-includes: Reorder includes.h more logically ctdb-scripts: Factor out new function program_stack_traces() ctdb-scripts: Add optional program name argument to nfs_dump_some_threads() ctdb-scripts: Dump stack traces for hung mountd, rquotad, statd processes ctdb-scripts: Add rpc.statd stack dumping to Ganesha restart ctdb-scripts: Try to restart statd after every 10 failures ctdb-scripts: Fix stack dumping when debugging hung scripts Matt Rogers (1): s3-keytab: fix keytab array NULL termination. Matthieu Patou (31): Create talloc-less functions for formating GUID idl: frsrpc cleaning, opnum 4->10 didn't exists idl: frsrpc we don't need NDR_REMAINING as size of the blob is one the wire idl: add nt backup blobs format idl: add fscc needed by frsrpc idl: frsrpc depends on bkupblobs.idl and fscc.idl idl: Add compression_guid idl: Add frs blobs for dumping of frs related blobs with ndrdump idl: improve frsrpc by adding missing flag, fixing typo (W -> VV) and making needed structure public idl: frstrans.idl add frstrans_RdcClose idl: declare frstrans_VersionVector public so that we can dump it to blob and vice versa librpc: simplify ndr_pull_dnsp_string waf: add k5crypto to the list of system libraries if they are reported by the krb5config but not found as requied by the different tests tests: Pass the test context as lp_ctx for messaging tests pidl: Make the compilation of PIDL producing the same results if the content hasn't change pidl: Improve string delection in function ContainsString pidl-wireshark: Handle the case when the DATA_TYPE is not a simple type pidl-wireshark: cosmetic reformat pidl-wireshark: add a function to change the type of a hf_field pidl-wireshark: add the type dom_sid28 and call ad-hoc dissector pidl-wireshark: generate an error for the new Pipe type in typedef pidl-wireshark: insure that we have an entire match for the variable name scripts: Allow to specify a limit on the number of tests reported selftest: report the 10 slowest tests (by default) make the number configurable selftest: add documentation for options --exclude and --include that weren't documented before pidl-wireshark: adapt to the new comments in the headers of wireshark dissectors pidl-wireshark: add definition for IPV4/IPV6 types pidl-wireshark: handle 8 bits enum and change the signature of enum function to pass the exact type pidl-wireshark: if the structure has the flag no_align then set also no_align in the dceprc_info structure pidl-wireshark: generate ALIGN_TO_x_BYTES instructions if the element has the align_x flag pidl-wireshark: SWITCH_TYPE is not always defined, SwitchType() will try to find a fallback Michael Adam (49): regedit: remove an old comment swrap: fix build when neither HAVE_STRUCT_IN_PKTINFO nor IP_RECVDSTADDR is defined swrap: fix discard const warning in swrap_remove_stale() swrap: fix discard const warning in swrap_bind() swrap: fix another discard const warning in swrap_bind() torture: add torture_assert_int_not_equal torture: add torture_assert_u64_not_equal() s4:torture:basic: whitespace cleanup in delayed_write_update s4:torture:basic: use torture_assert macros in delayed_write_update s4:torture:basic: remove two unused variables from delayed_write_update3c s4:torture:basic: whitespace fix in delayed_write_update1 s4:torture:basic: make use of torture_assert macros in delayed_write_update1 s4:torture:basic: add update into past as error condition in delayed_write_update1 s4:torture:basic: add check for size after initial write to delayed_write_update1 s4:torture:basic: use assert in the second loop in delayed_write_update1 s4:torture:basic: eliminate potential for false failures in delayed_write_update1 s4:torture:basic: fix spacing in the delayed_write_update1a test. s4:torture:basic: make use of torture_assert macros in delayed_write_update1a s4:torture:basic: add update into past as error condition in delayed_write_update1a s4:torture:basic: add check for size after initial write in delayed_write_update1a s4:torture:basic: use assert in the second loop in delayed_write_update1a s4:torture:basic: eliminate potential for false failures in delayed_write_update1a s4:torture:basic: whitespace cleanup in delayed_write_update1b s4:torture:basic: make use of torture_assert macros in delayed_write_update1b s4:torture:basic: add update into past as error condition in delayed_write_update1b s4:torture:basic: add check for size after initial write in delayed_write_update1b s4:torture:basic: use assert in the second loop in delayed_write_update1b s4:torture:basic: eliminate potential for false failures in delayed_write_update1b s4:torture:basic: whitespace cleanup in delayed_write_update1c s4:torture:basic: make use of torture_assert macros in delayed_write_update1c s4:torture:basic: add update into past as error condition in delayed_write_update1c s4:torture:basic: add check for size after initial write in delayed_write_update1c s4:torture:basic: use assert in the second loop in delayed_write_update1b s4:torture:basic: eliminate potential for false failures in delayed_write_update1c pam_winbind: fix comment typos subunit: report [X/Y at Zs] instead of [X/Y in Zs] s3:vfs:aio_pthread: use smbXsrv_connection for schedule_deferred_open_message_smb autobuild: adapt samba-ctdb target does not need a separate ctdb build any more build: further simplify --with-cluster-support case in configure build: adapt comments for the clustering choice autobuild: check whether ctdbd has been installed in the samba-ctdb target s3:loadparm: fix a comment typo script/show_testsuite_time: error out if number argument is not a decimal number script: fix display of ten slowest tests if < 10 tests are run. build: fix check for subunit file when selftest prefix is given s3:libsmb: fix some function header comments. s3:gencache: fix logic in stabilization when deleting a record from stable cache s3:gencache: simply stabilize() a bit more: remove error from state s3:gencache: don't use transaction non non-persistent gencache_notrans.tdb Michael Brown (1): Add missing parameters to drs_Replicate in rodc.py Noel Power (1): btrfs: don't leak opened directory handle Ralph Boehme (9): lib/texpect: portability fix, include signal.h ncacn_http: fix GNUism vfs_posixacl: catch ACL_EVERYONE on FreeBSD build: lib/util/string_wrappers.h: fix optimisation check for clang s3:messaging: fix conversion specifier vfs_snapper: check for <linux/ioctl.h> vfs_streams_xattr: fix check with samba_private_attr_name() vfs_streams_xattr: initialize pointer vfs_streams_xattr: check stream type Richard Sharpe (2): Add a definition of the NETWORK_RESILIENCY_REQUEST so I can write a torture test for it. Add a status code for VHD support gleaned from some Win8.1 stuff. Samuel Cabrero (1): Initialize dwFlags field of DNS_RPC_NODE structure Stefan Metzmacher (146): libcli/smb: fix smb2cli_validate_negotiate_info with min=PROTOCOL_NT1 max=PROTOCOL_SMB2_02 libcli/smb: add SMB3_DIALECT_REVISION_310 define libcli/smb: add PROTOCOL_SMB3_10 libcli/smb: negotiate SMB3_DIALECT_REVISION_310 if PROTOCOL_SMB3_10 is requested lib/param: add PROTOCOL_SMB3_10 handling s3:torture: add PROTOCOL_SMB3_10 handling docs-xml: document SMB3_10 as available protocol for the client side libcli/smb: add SMB 3.10 related defines libcli/smb: add smb2_negotiate_context.c libcli/smb: add smb2cli_req_get_send_iov() libcli/smb: implement SMB 3.10 negprot libcli/smb: implement SMB 3.10 session setup libcli/smb: avoid validate info after tcon for SMB 3.10 libcli/smb: pass tcon flags to the server for SMB 3.10 libcli/smb: use SMB 3.10 flags for the transform header libcli/smb: remove unused SMB2_TF_ALGORITHM define libcli/smb: use conn->smb2.server.cipher != 0 instead of conn->smb2.server.capabilities & SMB2_CAP_ENCRYPTION libcli/smb: pass 'uint16_t cipher_id' to smb2_signing_[de|en]crypt_pdu() libcli/smb: pass the negotiated cipher to smb2_signing_[de|en]ncrypt_pdu() s3:smb2_negprot: remember xconn->smb2.server.cipher s3:smb2_server: check xconn->smb2.server.cipher instead of xconn->smb2.server.capabilities s3:smb2_server: pass xconn->smb2.server.cipher to smb2_signing_[de|en]ncrypt_pdu() libcli/smb: prepare smb2_signing_[de|en]crypt_pdu() to support multiple ciphers lib/crypto: add aes_gcm_128 support. libcli/smb: support SMB2_ENCRYPTION_AES128_GCM in smb2_signing_[de|en]crypt_pdu() libcli/smb: try to negotiate SMB2_ENCRYPTION_AES128_GCM s3-winbindd: use a cli_credentials structure to hold the trust credentials s3:libsmb: Remove unused domain copy stored in cli_state s3:torture: avoid unused cli_set_username() s3:lib/netapi: avoid calling cli_set_username() s3:libsmb: avoid cli_set_username() in SMBC_server_internal() s3:libsmb: avoid calling cli_set_username() in clidfs s3:libsmb: avoid calling cli_set_username() cliconnect.c s3:libsmb: remove unused cli_set_username() function selftest: only use Options.options.SELFTEST_PREFIX if it's not the default s3:locking: remove dead code from brl_get_locks_readonly() s3:smbd: fix file corruption using "write cache size != 0" s3:smbstatus: fix return value in print_share_mode() wafsamba: add -Werror=return-type for developer builds lib/texpect: make the code more portable by using "replace.h" and "system/wait.h" lib/texpect: fix compiler warnings lib/ldb: fix compiler warnings in ldb_modules_list_from_string() lib/ldb: fix compiler warnings in ldb_tdb.c lib/ldb: remove unused 'allow_warnings=True' lib/util: add str_list_make_v3_const() lib/util/tests: avoid some compiler warnings lib/param: fix const warnings lib/smbconf: remove const warning librpc/ndr: add NDR_SCALAR_PTR_PROTO() helper macro libcli/nbt: use NDR_SCALAR_PTR_PROTO() and fix the prototype of ndr_pull_wrepl_nbt_name() s4:librpc: remove unused allow_warnings=True from NDR_WINSREPL and NDR_WINSIF s4:librpc/idl: add a uuid to sasl_helpers.idl auth: add missing includes to auth/wbc_auth_util.c nsswitch: avoid some compiler warnings s3:auth: add missing auth_samba4_init() prototype s3:auth: add some const to user_in_list() s3:lib: fix const warnings in popt_common.c s4:dns_server: add some const to dns_server_process_update/dns_update_allowed arguments s4:dns_server: allocate substructures of struct dns_request_state on the correct TALLOC_CTX s3:smbprofile: add END_PROFILE_BYTES() marco s3:modules: make use of END_PROFILE_BYTES() when START_PROFILE_BYTES() was used s3:nmbd: remove START/END_PROFILE() calls s3:smbprofile: remove unused nmbd related counters s3:wscript_build: remove unused to dependency from 'smbtree' to 'PROFILE' s3:smbd: improve writecache profiling s3:smbprofile: rewrite the internal macros s3:smb2_server: use async smbprofile macros s3:smbprofile: count all SMB1 and SMB2 requests as 'request_count' s3:smbprofile: improve profiling for the security context switching. s3:smbprofile: report idle state of 'idle_count' and 'idle_time' s3:smbprofile: remove unused {START,END}_PROFILE_STAMP() s3:smbprofile: track connect_count and disconnect_count s3:smbprofile: profile async pread/pwrite/fsync syscalls tdb: allow tdb_open_ex() with O_RDONLY of TDB_FEATURE_FLAG_MUTEX tdbs. lib/ldb-samba: add ldif handler for msDS-TrustForestTrustInfo s3:lib: fix/simplify srprs_hex() s3:lib/netapi/tests: fix invalid switch enum level warning s3:lib/netapi/examples: fix pointer from integer error in nltest.c s3:libsmb: remove unused variables in cliconnect.c s3:libads: avoid some compiler warnings in ldap.c s3:wscript_build: remove unused allow_warnings=True for 'ads' s3:librpc/idl: mark struct smbXsrv_client as [public] s3:modules: rename variables in vfs_fruit.c to fix shadow warnings s3:modules: remove unused allow_warnings=True for non_posix_acls, and vfs_media_harmony s3:param: fix compiler warnings s3:wscript_build: remove unused allow_warnings=True for 'param' s3:passdb: always copy the history in pdb_set_plaintext_passwd() s3:passdb: avoid invalid pointer type warnings in pdb_wbc_sam.c s3:printing: fix some const warnings in print_iprint.c s3:registry: use discard_const_p() to avoid const warning in smb_iconv() define s3:wscript_build: remove unused allow_warnings=True for 'smbregistry' s3:smbd: do casting of dm_sessid_t in steps s3:smbd: avoid a compiler warning in open_sockets_smbd() s3:torture: avoid nesting of macros and function calls in torture_cli_session_setup2() s3:utils: add debug functions instead of magic format strings in net_idmap_check.c s3:utils: rename variables in regedit_*.c to fix shadow warnings s3:winbindd: avoid invalid pointer type warnings s3:winbindd: make use of talloc_string_sub2() in generate_krb5_ccache() s3:wscript_build: remove unused allow_warnings=True for 'KRBCLIENT' s4:lib/registry: avoid some const warnings s4:lib/registry: fix compiler warnings s4:lib/registry: remove unused allow_warnings=True s4:libcli/raw: use smb_setfsinfo_level in smb_setfsinfo s4:kdc: comment out unused code in db-glue.c s4:kdc: remove unused allow_warnings=True for 'MIT_SAMBA' s4:nbt_server: avoid str_list related const warning s4:ntvfs: explicitly handle RAW_FILEINFO_UNIX_{BASIC,LINK} in ntvfs_map_fileinfo() s4:ntvfs/smb2: ifdef out unused code s4:smb_server/smb2: avoid unused warnings in smb2srv_setinfo_send() s4:smb_server/smb2: remove unused _pad variables s4:torture/locktest: comment out unused code and avoid smbcli_nt_error() s4:torture/winbind: remove unused variables in struct_based.c s4:torture: remove unused allow_warnings=True for 'TORTURE_BASIC' and 'TORTURE_VFS' wafsamba: use -Wno-error=deprecated-declarations in picky-developer mode s4:lib/events: remove unused allow_warnings=True s4:lib/messaging: remove unused allow_warnings=True s4:librpc: remove unused allow_warnings=True for 'dcerpc' s4:ntvfs/unixuid: remove unused allow_warnings=True wafsamba: change the default to allow_warnings=False for SAMBA_{SUBSYSTEM,LIBRARY,MODULE}() wafsamba: change the default to allow_warnings=False for CURRENT_CFLAGS() script/autobuild.py: build 'samba' using --picky-developer Revert "libcli/smb: mask off SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET for version 1" s3:smb2_create: send interim responses after 0.5 milliseconds s4:libcli/smb_composite: use the options on the transport s4:libcli/raw: fix up the max_protocol value for the current transport connection s4:libcli/smb2: allow the caller to specify a specific value for max_protocol. s4:param: don't expand PROTOCOL_DEFAULT in lpcfg_smbcli_options() s4:libcli/smb2: add new_epoch to struct smb2_lease_break s4:libcli/smb2: initialize ls->lease_version s4:torture/smb2: skip lease tests if the server doesn't support them s4:torture/smb2: make lease tests more reliable by calling torture_wait_for_lease_break() s4:torture/smb2: lease per test fnames s4:torture/smb2: verify lease_flags in CHECK_LEASE_BREAK() s4:torture/smb2: always verify the v2 lease epoch. s4:torture/smb2: don't check the lease break connection against samba3 s4:torture/smb2: pass the expected flags to CHECK_LEASE() s4:torture/smb2: add smb2.lease.[v2_]complex1 tests s4:torture/smb2: add smb2.lease.v2_epoch[2|3] tests s4:torture/smb2: make it possible to skip the automatic ack of lease breaks. s4:torture/smb2: smb2.lease.breaking1 test s4:torture/smb2: smb2.lease.breaking2 test s4:torture/smb2: smb2.lease.breaking3 test s4:torture/smb2: smb2.lease.breaking4 test s4:torture/smb2: smb2.lease.breaking5 test s4:torture/smb2: smb2.lease.breaking6 test tdb: version 1.3.2 Thomas Nagy (1): Reduce the no-op build times by 30% Volker Lendecke (64): lib: Use GUID_buf_string in GUID_string profiling: Make "struct profile_header" static profiling: Fix a typo profiling: Move some #defines to profile.c profiling: Fix a typo profiling: Only compile utils/status_profile.c if profiling is enabled profiling: Only compile profile/profile.c if profiling is enabled profiling: Remove some #ifdefs profiling: Remove a big DEBUG statement profiling: Make WITH_PROFILE span more in smbprofile.h smbd: Fix nonempty line endings status: 80 chars per line smbd: Simplify remove_child_pid idl: Fix a typo registry: Don't leave dangling transactions smbd: Fix a use-after-free dsdb: Fix a crash in an error return vfs: fix a typo poll_funcs_tevent: Fix a valgrind error messaging3: Fix running down a messaging_context dbwrap: Avoid an unnecessary #include lib: loadparm.h uses TALLOC_CTX dbwrap: Add some required #includes to dbwrap.h dbwrap: Avoid "includes.h" in dbwrap_cache.c s3:locking: Rename share_mode_forall->share_entry_forall s3:locking: Introduce share_mode_forall s3:locking: allow early return for share_entry_forall() s3:smbd: Don't rename a dir with files open underneath s4:torture/smb2: test rename dir deny with open files s3:locking: Change from ndr_pull_struct_blob() to ndr_pull_struct_blob_all() so we fail if not all bytes are consumed. smbcontrol: Use server_id_str_buf libcli/smb: remember the lease_version in struct smb2_lease libcli/smb: mask off SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET for version 1 libcli/smb: add smb2_lease_key_equal() helper function lib: Add tevent_req_simple_recv_unix Use tevent_req_simple_recv_unix in a few places pdb_tdb: Fix a TALLOC/SAFE_FREE mixup pdb_tdb: Avoid a nasty error message with ctdb s3:smbd: break oplocks to none with FILE_OVERWRITE s3:smbd: move all oplock granting code to grant_fsp_oplock_type() s3:locking: convert brl_have_read field to brl_num_read. s3:smb2_break: First test for NT_STATUS_INVALID_OPLOCK_PROTOCOL, then for in_oplock_level being reasonable registry: Slightly simplify tdb_data_is_cstr lib: Slightly simplify strupper_m dbwrap_ctdb: Pass on mutex flags to tdb_open lib: Use talloc_pooled_object in tcopy_passwd lib: Add proper {} to tcopy_passwd s3:smbprofile: Make smbprofile.h includable on its own s3:smbprofile: Make "status_profile.h" a proper header param: add "smbd profiling level" option s3:smbd: Use "smbd profiling level" tdb_wrap: Make mutexes easier to use dbwrap: Fix a enum conversion dsdb: Remove a self-assignment unix_msg: Reformat unix_dgram_send a bit messaging3: Fix sending large messages on FreeBSD lib: Fix header include protection #define lib: Use tdb_parse_record in gencache_set tdb: Fix tdb_runtime_check_for_robust_mutexes() registry3: Fix a typo param: Simplify get_parametric_helper() messaging4: Fix types test: Fix samba3.blackbox.net.registry.check torture: Fix raw.open.chained-openx root (1): Don't drop any error codes just because we think there cannot be any errors we didn't think of if the user asked for a level 10 log. Андрей Черепанов (1): Fix typo in samba-tool manpage ----------------------------------------------------------------------- -- Samba Shared Repository