[SCM] Samba Shared Repository - annotated tag samba-4.2.0rc3 created

Karolin Seeger kseeger at samba.org
Sat Dec 20 08:27:26 MST 2014

The annotated tag, samba-4.2.0rc3 has been created
        at  a4f8902bff3ab7fd1f4e822f04d65f60e23c3ce7 (tag)
   tagging  f139544a362c7601ee703d04977909c4686ee88c (commit)
  replaces  samba-4.2.0rc2
 tagged by  Karolin Seeger
        on  Sat Dec 20 16:20:13 2014 +0100

- Log -----------------------------------------------------------------
samba: tag release samba-4.2.0rc3
Version: GnuPG v1


Amitay Isaacs (23):
      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
      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
      s4-dns: dlz-bind: Add trailing '.' to all fqdn strings
      ctdb-vacuum: Track time for vacuuming in database statistics
      ctdb-vacuum: Stagger vacuuming child processes
      ctdb-vacuum: Use non-blocking lock when traversing delete queue
      ctdb-vacuum: Use non-blocking lock when traversing delete tree
      ctdb-vacuum: Do not delete VACUUM MIGRATED records immediately
      ctdb-recoverd: Process all the records for vacuum fetch in a loop
      ctdb-eventscripts: Specify broadcast optionally to ip addr add
      ctdb-daemon: Fix IP address comparisons for IPv6 addresses
      ctdb-build: Fix the indentation
      ctdb-build: Fix the installation of config files for top-level build
      packaging: Include CTDB man pages in the tarball

Andreas Schneider (27):
      s3-smbclient: Return success if we listed the shares.
      s3-smbstatus: Fix exit code of profile output.
      s3-lib: Do not require a password with --use-ccache.
      s3-libsmb: Set the netbios_name in use_ccache case too.
      s3-libsmb: Duplicate the memory before we free it.
      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.
      socket_wrapper: Add missing prototype check for eventfd.

Andrew Bartlett (6):
      s3-winbindd: Allow winbindd to connect over SMB2 to servers
      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()

Björn Baumbach (1):
      ctdb-build: fix build without xsltproc

Björn Jacke (1):
      nss_winbind: add getgroupmembership for FreeBSD

Christian Ambach (3):
      s3:registry/regfio read SD from the correct location
      s3:registry/regfio fix some valgrind warnings
      s3:utils/profiles fix a use after free

David Disseldorp (10):
      spoolss: fix handling of bad EnumJobs levels
      WHATSNEW: Mention smbclient archival improvements
      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()
      account_pol: don't leak state_path onto talloc tos
      pdb_tdb: don't leak state_path onto talloc tos

Garming Sam (5):
      param: fix testparm to show hidden share defaults
      idmap: unify passdb *id_to_sid methods
      idmap: return the correct id type to *id_to_sid methods
      pdb: Increase version number to fix ABI
      pdb: fix build issues with shared modules

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

Günther Deschner (4):
      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().
      pam_winbind: fix warn_pwd_expire implementation.

Jakub Hrozek (1):
      Provide a compatible declaration of CMSG_ALIGN

Jeremy Allison (37):
      lib: uid_wrapper: Fix setgroups and syscall detection on a system without native uid_wrapper library.
      s3-nmbd: Fix netbios name truncation.
      s3: libsmbclient - smb2. MacOSX 10 SMB2 server doesn't set STATUS_NO_MORE_FILES when handed a non-wildcard path.
      s3: smbd: Preparation for leases code merge. Ensure VFS is ready for 4.2.0.
      s3:param: Add new option "strict rename".
      selftest:Samba3: use "strict rename = yes"
      s3: nmbd: Ensure NetBIOS names are only 15 characters stored.
      libcli: SMB2: Pure SMB2-only negprot fix to make us behave as a Windows client does.
      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.
      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.
      s4:torture:smb2: Add test that shows the client can respond to a lease break over a different connection.
      s4:torture:smb2: Add smb2.lease.v2_breaking3 test.
      s3:smbd: Add fsp_client_guid() utility function to return the connected client guid.
      s3: leases: libsmbsharemodes no longer works with SMB2 leases inside our locking.tdb.
      s3:locking: ensure all share mode removal functions go through a common lease refcount manager.
      s3:param: Add "smb2 leases" parameter. Default "false".
      s3:smb2_negprot: announce support for SMB2.1 leases.
      selftest:Samba3: use "smb2 leases = yes"
      s3: leases: Add leases_db_rename() to cope with renaming a leased file.
      s3: leases : Cope with renaming leased open files.
      s3: leases: Make aio_add_req_to_fsp() public.
      s3: leases: send_break_message() public.
      s3: leases: Make SMB2 setinfo SMB2_FILE_RENAME_INFORMATION_INTERNAL async.
      s4: torture: leases. Simple lease_v2 rename test "v2_rename".
      s3: smbd: Fix *allocate* calls to follow POSIX error return convention.
      s3: smbd: Fix *allocate* calls to follow POSIX error return convention.
      s3: modules: Fix *allocate* calls to follow POSIX error return convention.
      s3:locking: pass servicename_new to leases_db_rename()
      s3:locking: prepare the data model for leases_db to cope with dynamic path renames.
      s3:locking: Add new utility function leases_db_copy_file_ids()
      s3:locking: pass down servicepath to leases_db_add()
      s3:locking: Change the data model for leases_db to cope with dynamic path renames.
      WHATSNEW: Announce SMB2 leases support.

Justin Maggard (1):
      winbind3: Fix pwent variable substitution

Kamen Mazdrashki (9):
      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 (5):
      VERSION: Set version to 4.2.0rc3...
      WHATSNEW: Remove double entry.
      WHATSNEW: Remove double entry.
      WHATSNEW: Add release notes for Samba 4.2.0rc3.
      VERSION: Disable git snapshots for the 4.2.0rc3 release.

Marc Muehlfeld (2):
      samba-tool group add: Add option --nis-domain and --gid
      Added note about the support end of Samba 3 to WHATSNEW.TXT

Martin Schwenke (51):
      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
      ctdb-logging: Add missing newline when logging to file
      WHATSNEW: CTDB integrated build
      ctdb-tools: Produce machine readable output with new function printm()
      ctdb-tools: Add -x option to specify delimiter for machine readable output
      ctdb-tools: Add -X option for machine parsable output with separator '|'
      ctdb-scripts: Update eventscripts to use ctdb -X instead of ctdb -Y
      ctdb-tools: Update onnode and ctdb-diagnostics to use ctdb -X
      ctdb-tests: Update integration tests to use ctdb -X
      ctdb-tool: Fix "ctdb -Y ifaces" output to have trailing delimiters
      ctdb-doc: Update examples to use ctdb -X
      ctdb-utils: Update Nagios code to use ctdb -X
      ctdb-scripts: Add IPv6 addresses support in ip_maskbits_iface()
      ctdb-scripts: New functions ip6tables() and iptables_wrapper()
      ctdb-scripts: Make 10.interface IPv6-safe
      ctdb-daemon: Trust vnn->interface for an IP when releasing it
      ctdb-scripts: Wait until IPv6 addresses are not "tentative"
      ctdb-tools: Bracket IP addresses in onnode (for IPv6)
      ctdb-tests: Extend regexp to match IPv6 addresses
      ctdb-tests: Try to handle IPv6 addresses for local daemons
      ctdb-tests: Bracket IP addresses in NFS mounts and scp command (for IPv6)
      ctdb-tests: Extend regexps to handle IPv6 address matching
      ctdb-tests: Use ping_wrapper to do relevant ping or ping6
      ctdb-tests: Match IPv6 connections in netstat output
      ctdb-tests: Generalise the gratarp and tickle sniffing code for IPv6
      ctdb-tests: Use ip neigh command instead of arp
      ctdb-tests: Make tcpdump output more verbose
      ctdb-tests: More debug on SSH failure
      ctdb-daemon: Gratuitous ARP equivalent for IPv6 is neighbor advertisement
      ctdb-tests: Need to drop public IPs in kill-failover tests

Matt Rogers (1):
      s3-keytab: fix keytab array NULL termination.

Michael Adam (8):
      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
      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()

Noel Power (1):
      btrfs: don't leak opened directory handle

Ralph Boehme (19):
      WHATSNEW: vfs_fruit
      vfs_streams_xattr: fix check with samba_private_attr_name()
      vfs_streams_xattr: initialize pointer
      vfs_streams_xattr: check stream type
      vfs_snapper: check for <linux/ioctl.h>
      s3:vfs: add SMB_VFS_READDIR_ATTR()
      s3:smbd: allocate out_context_blobs with talloc
      s3:vfs: add create tags to SMB_VFS_CREATEFILE
      s3:smbd: add SMB2 AAPL create context defines
      libcli/security: add NFS SID mappings
      libcli/security: add a function that checks for MS NFS ACEs
      s3:smbd: ignore dacls with MS NFS ACEs
      vfs_fruit: AAPL support
      s3:smbd: add SMB_VFS_READDIR_ATTR() to marshall direntry
      s4:libcli/raw: make short_name available in buffer
      s4:torture:vfs_fruit: smb2/create context AAPL test
      vfs_fruit: add AAPL options
      WHATSNEW: Apple's SMB2 extension AAPL
      vfs_streams_xattr: add missing call to SMB_VFS_NEXT_CONNECT

Stefan Metzmacher (53):
      Merge remote-tracking branch 'origin/v4-2-stable' into v4-2-test
      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()
      tdb: allow tdb_open_ex() with O_RDONLY of TDB_FEATURE_FLAG_MUTEX tdbs.
      tdb: version 1.3.2
      tdb/test: TDB_CLEAR_IF_FIRST | TDB_MUTEX_LOCKING, O_RDONLY is a valid combination
      tdb: version 1.3.3
      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'
      ldb: version 1.1.18
      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
      s4:torture:smb2: let smb2.lease.[v2_]complex1 check the R->NONE breaks
      s3:smb2_server: allow smbd_smb2_send_break() with session == NULL and tcon == NULL
      s3:open_files.idl: add data structures for SMB2.1 and SMB3.0 leases.
      s3:locking: cleanup leases_db from share_mode_cleanup_disconnected()
      s3:vfs.h: add more elements to struct fsp_lease
      s3:smbd: document the interaction between "smb2 leases" and "write cache size"
      docs-xml: document the interaction between "write cache size" and "aio read/write size"
      s4:dsdb/rootdse: expand extended dn values with the AS_SYSTEM control
      testprogs/test_ldb: check rootdse search with extended-dn control
      s3:smb2_server: allow reauthentication without signing
      libcli/smb: only force signing of smb2 session setups when binding a new session
      s3:locking: fix uninitialiazed variable in brl_get_locks_readonly_parser()
      s3:passdb: always copy the history in pdb_set_plaintext_passwd()
      s3:passdb: avoid invalid pointer type warnings in pdb_wbc_sam.c
      s3:idmap_cache: remove unused idmap_cache_set_sid2[u|g]id()
      s3:passdb: add optional get_trusteddom_creds() hooks
      s3:passdb: let pdb_get_trust_credentials() try pdb_get_trusteddom_creds() first

Volker Lendecke (39):
      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.
      pdb_tdb: Fix a TALLOC/SAFE_FREE mixup
      dbwrap_ctdb: Pass on mutex flags to tdb_open
      tdb: Fix tdb_runtime_check_for_robust_mutexes()
      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
      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
      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
      s3:smbd: factor out a send_break_to_none() helper function
      s3:smb2_server: add smbd_smb2_send_lease_break() helper function
      s3:locking: add leases_db infrastructure
      s3:locking: add downgrade_share_lease() helper function
      s3:smbd: add fsp_lease_type() and get_lease_type() helper functions
      s3:smb2_create: allow durable handles with SMB2_LEASE_HANDLE
      s3:smb2_create: validate durable reconnects with leases
      s3:smbd: add file_find_one_fsp_from_lease_key() helper function
      s3:smbd: add lease related helper functions to open.c
      s3:smbd: add lease key validation functions to open.c
      s3:smbd: add lease related helper functions to oplock.c
      s3:smbd: Implementation of SMB2.1 and SMB3.0 leases.
      s3:smb2_create: support leases and pass them down to the VFS layer.
      pdb_tdb: Avoid a nasty error message with ctdb


Samba Shared Repository

More information about the samba-cvs mailing list