[SCM] Samba Shared Repository - annotated tag samba-4.0.5 created

Karolin Seeger kseeger at samba.org
Tue Apr 9 02:32:58 MDT 2013

The annotated tag, samba-4.0.5 has been created
        at  b804b5f101f901b789d7fac693d5cf2285a49e9e (tag)
   tagging  ed09ee74fcd4929c3ca11ce821b70e1d3ee0d5d8 (commit)
  replaces  samba-4.0.4
 tagged by  Karolin Seeger
        on  Tue Apr 9 10:17:31 2013 +0200

- Log -----------------------------------------------------------------
samba: tag release samba-4.0.5
Version: GnuPG v1.4.11 (GNU/Linux)


Alexander Bokovoy (3):
      PIDL: fix parsing linemarkers in preprocessor output
      source3/wscript: support 'pdb_ldap' module in configure
      autoconf: rename pdb_ldap module to pdb_ldapsam

Andreas Schneider (32):
      Rename pdb_ldap to pdb_ldapsam
      waf: Fix correct linking of libreplace with cmdline-credentials.
      s3-lsasd: Don't leak file descriptors. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      s3-param: Don't leak file descriptor. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      s3-vfs: Don't leak file descriptor. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      s3-smbd: Don't leak subcntarr array. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      winbind: Don't leak memory on return. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      winbind: Don't leak centry memory. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      s3-libsmb: Don't leak memory on error. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      s3-vfs: Don't leak file descriptor on error. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      lib-util: Don't leak file descriptor on error. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      s3-rpc_server: Make sure that fd is really closed on error. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      s3-spoolss: Don't leak memory. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      pdb: Fix array overrun by one. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      libsmb: Fix possible null pointer dereference. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      nmbd: Fix request data data processing.
      s3-tldap: Make sure we don't deref a null pointer. Reviewed-by: Alexander Bokovoy <ab at samba.org>
      librpc: Add NULL check for ndr functions for epm bindings.
      s4-libcli: Check return code of smbcli_request_setup(). Reviewed-by: Alexander Bokovoy <ab at samba.org>
      pyauth: Check return value of lpcfg_from_py_object(). Reviewed-by: Alexander Bokovoy <ab at samba.org>
      s4-libcli: Check return value of smbcli_request_setup(). Reviewed-by: Alexander Bokovoy <ab at samba.org>
      s4-socket: Make sure unix socket addresses are null terminated.
      pidl: Add skip option to elements.
      ndr: Add ndr_ntprinting_string_flags() function.
      idl: Add flags for strings in ntprinting idl.
      ndr: Pass down string_flags in ndr_pull_ntprinting_printer().
      s3-net: Add encoding=<CP> to 'net printing migrate'.
      s3-net: Add encoding=<CP> to 'net printing dump'.
      torture: Add ntprinting latin1 test.
      BUG 9735: Fix winbind seperator in upn to username conversion.
      epm: Increase debug level for already registered endpoints.
      BUG 9758: Don't leak the epm_Map policy handle.

Andrew Bartlett (57):
      s4-lib/socket: Return the original EMSGSIZE when sendto() and setsockopt() both fail
      tsocket_bsd: Attempt to increase the SO_SNDBUF if we get EMSGSIZE in sendto()
      selftest: skip base.dir2 tests as they just spin on modern ext4
      selftest: also skip raw.search as it also spins
      build: Do not force a specific perl from ${PERL} when running pod2man
      build: Set LD_LIBRARY_PATH in install_with_python.sh
      s4-idmap: Remove requirement that posixAccount or posixGroup be set for rfc2307
      selftest: Add test for rfc2307 mapping handling
      s4-dbcheck: Allow forcing an override of an old @MODULES record
      samba-tool classicupgrade: Do not print the admin password during upgrade
      scripting/samba_upgradedns: Only look for IPv4/IPv6 addresses if we actually them
      scripting: No longer install samba_upgradeprovision
      build: Remove the forced use of only the first part of the compiler string
      build: Do not pass CPP="" to pidl, skip the env variable entirely
      samba_upgradeprovision: Remove options to fix FS ACLs
      scripting: Make tdb_copy use the python subprocess module
      scripting: Make tdb_copy a common util function in samba.tdb_util
      samba_upgradeprovision: Do not update privileges.ldb any more (unchanged since 2009)
      samba_upgradeprovision: Use tdb_util.tdb_copy not shutil.copy2
      dsdb-descriptor: Spell out security descriptor flags as constants
      dsdb-descriptor: Avoid segfault copying an SD without an owner or group
      build: Rename samba_python waf node to avoid duplicate name
      build: Change bin/default/python -> bin/python symlink to bin/default/python_modules
      samba-tool dbcheck: fix comment on err_wrong_sd
      samba-tool domain classicupgrade: Print a better error when the ldap backend PW was not found
      samba-tool domain classicupgrade: Fix typo in error path for multiple account flags
      samba-tool ldapcmp: Add --skip-missing-dn to not error on DNs present in one DB but not the other
      subunit: Add a sh macro for skipping a test
      scripting: Correct parsing of binary DN
      samba-tool dbcheck: fix msDS-HasInstantiatedNCs attributes to match instanceType on our ntdsDSA
      samba-tool ldapcmp: Add support for checking DNSDOMAIN and DNSFOREST by default
      selftest: Do an ldapcmp run against the upgraded domain
      selftest: Add in a provision from 4.0.0 to run tests against
      selftest: Add ldapcmp to ensure upgradeprovision of a fresh DB is a no-op
      selftest: Run dbcheck and improved upgrdeprovision tests against release-4-0-0
      selftest: Rename samba4.blackbox.upgradeprovision.py to samba4.blackbox.upgradeprovision.current
      samba_upgradeprovision: Remove auto-detection of pre-alpha9 databases
      scripting: Rework samba.upgradehelpers.get_diff_sddls to be get_diff_sds
      samba_upgradeprovision: Remove inherited ACEs before comparing the SDs
      samba_upgradeprovision: Remove unused checkKeepAttributeOldMtd
      samba_upgradeprovision: Remove alwaysRecalculate, this is too dangerous
      samba_upgradeprovision: only run rebuild_sd in --full mode
      samba_upgradeprovision: do not maintain dnNotToRecalculate as a list
      samba_upgradeprovision: Do not reset every DN when changing an SD
      selftest: Remove output directories to save disk space
      scripting: Move the list of well known SDs to samba.provision.descriptor
      scripting: Fix documentation comment on upgradehelpers.py:get_clean_sd
      scripting: Make samba.provision.descriptor.get_wellknown_sds() return ldb.Dn objects
      scripting: Move samba.provision.descriptor to samba.descriptor
      scripting: Modify samba.descriptor.get_wellknown_sds() use samdb calls only
      scripting: Move get_diff_sds from samba.upgradehelpers to samba.descriptor
      samba-tool dbcheck: Add --reset-well-known-acls
      samba-tool dbcheck: Allow dbcheck to correct an nTSecurityDescriptor without an owner or group
      scripting: Modify samba.descriptor.get_diff_sds() to cope with a missing reference owner
      selftest: Add tests for samba-tool dbcheck --reset-well-known-acls
      samba-tool ldapcmp: Remove the GUID -> name mappings
      scripting: Fill the ProvisionNames hash with strings, not ldb.MessageElement or Dn

Björn Jacke (2):
      build/autoconf: fix check for GNU ld version
      build/autoconf: put ld check variable in quotes

Christian Ambach (3):
      s3:rpc_client fix a crash
      s3:build fix the build with --fake-kaserver
      s3:lib/afs fix the build

Daniel Kobras (1):
      Fix bug #9039 'map untrusted to domain' treats WORKSTATION as bogus domain.

David Disseldorp (1):
      Fix bug 9633: recursive mget should continue on EPERM

Galen.Liu (1):
      tevent: fix --disable-python cause configure fails (bug #8718)

Guenter Kukkukk (5):
      vfs_catia: add debug class for that module
      vfs_catia: fix the translation to "vfs_translate_to_windows"
      vfs_catia: fix the completely outdated manual page
      vfs_catia: add a sample for filename mapping to the manual page
      vfs_catia: add my copyright

Ira Cooper (1):
      s3: Make SMB2_GETINFO multi-volume aware.

Jelmer Vernooij (1):
      Move python modules from source4/scripting/python/ to python/.

Jeremy Allison (38):
      Fix bug #9642 - vfs_afsacl.c won't build.
      Fix bug 9519 - Samba returns unexpected error on SMB posix open.
      tevent: Preparing to fix "standard" backend fallback. Initialize standard after epoll.
      tevent: Ensure we return after every call to epoll_panic().
      tevent: Add an internal function tevent_epoll_set_panic_fallback().
      tevent: Plumb in the panic fallback code into the epoll_panic() runtime call.
      tevent: Add in some test code to allow the panic fallback path to be tested.
      tevent: Add in the same tevent_re_initialise() fix Metze put in the tevent_poll backend.
      tevent: Add a utility function tevent_find_ops_byname().
      tevent: Add a private function tevent_poll_event_add_fd_internal().
      tevent: Add in the new implementation of "standard" tevent backend.
      tevent: Remove the previous "standard" tevent backend implementation.
      tevent: Fix multiple handler on the same fd bug in the tevent select backend.
      tevent: Start to fix the epoll backend to support 2 fd events on the same fd correctly.
      tevent: Fix up epoll_del_event to cope with deleting a multiplexed fde event.
      tevent: Add utility function epoll_handle_hup_or_err()
      tevent: If epoll_ctl(..EPOLL_CTL_ADD,..) failes with EEXIST, merge the two fde's into one epoll event.
      tevent: Regression test to ensure that a tevent backend can cope with separate read/write events on a single fd.
      Fix typo to make master/lib/tevent identical to 4.0.x/lib/tevent
      libcli/smb: smb1cli_inbuf_parse_chain() and smb1cli_conn_dispatch_incoming() should use smb_len_tcp.
      s3:smbd: Fix off-by 4 error in wrap protection code in create_outbuf()
      s3:smbd: Remove server_will_accept_large_read() and erroneous comment.
      s3:smbd: Add functions calc_max_read_pdu()/calc_read_size() to work out the length we should return.
      s3:torture: Add new LARGE_READX test to investigate large SMBreadX behavior.
      s3:selftest: Add LARGE_READX test into our make test infrastructure.
      Fix bug #9724 - is_encrypted_packet() function incorrectly used inside server.
      Fix bad SMB2 opcode reading in server.
      Fix bug #9733 - smbcontrol close-share is not working.
      Optimization suggested by Volker. Don't do a stat system call on normal read path.
      Ensure we can never return an uninitialized EA list.
      Modify fill_ea_chained_buffer() to be able to do size calculation only, no marshalling.
      Change estimate_ea_size() to correctly estimate the EA size over SMB2.
      Fix bug #9130 - Certain xattrs cause Windows error 0x800700FF
      Fix bug #9130 - Certain xattrs cause Windows error 0x800700FF
      Add a test to show that zero-length EA's are never returned over SMB2.
      Ensure we don't return uninitialized memory in the pad bytes.
      Final fix for bug #9130 - Certain xattrs cause Windows error 0x800700FF
      Ensure EA value is allocated on the right context.

Karolin Seeger (6):
      VERSION: Bump version number up to 4.0.4
      Merge tag 'samba-4.0.4' into v4-0-test
      VERSION: Bump version number up to 4.0.5.
      WHATSNEW: Add changes since 4.0.4.
      WHATSNEW: Add major enhancements.
      VERSION: Disable git snapshots for the 4.0.5 release.

Landon Fuller (3):
      Fallback to the internal resolver on EAI_FAIL.
      Remove incomplete check for IPv6 link-local addresses.
      Handle EMSGSIZE on UNIX domain sockets.

Michael Adam (13):
      s3:winbindd: rename winbindd_getgrnam_lookupsid_done to winbindd_getgrnam_lookupname_done
      s3:winbindd: fix a cut'n'paste comment typo in wb_fill_pwent
      s3:winbindd: factor add_wbint_Principal_to_dict() out of wb_group_members_done()
      s3:winbindd: create group structs for gids that are coming from a user sid id-mapped with ID_TYPE_BOTH
      s3:winbindd:getgrnam: also produce a group struct for a user with ID_TYPE_BOTH
      s3:winbindd: check the correct variable for talloc success in rpc_query_user()
      s3:winbindd: change getpwsid() to return a passwd struct for a group sid id-mapped with ID_TYPE_BOTH
      s3:idmap_autorid: fix freeing of non-talloced memory (uninitialized pointer) (bug #9653)
      tevent: fix a comment typo in tevent_epoll.c
      tevent: add trace points BEFORE_LOOP_ONCE and AFTER_LOOP_ONCE
      WHATSNEW: clarify how being a domain member server is supported in Samba 4.0
      s4:winbindd: do not drop the workgroup name in the getgrnam and getgrent calls.
      s4:winbindd: do not drop the workgroup name in the getgrgid call

Richard Sharpe (4):
      Fix bug #9674 - Samba denies owner Read Control when there is a DENY entry while W2K08 does not.
      Make sure that domain joins work correctly when the DC disallows NTLM auth.
      Correct the name of the nss_winbind module for FreeBSD by creating a symlink from the FreeBSD required name to the built module.
      Make sure that we only propogate the INHERITED flag when we are allowed to.

Stefan Metzmacher (62):
      s3:auth: wbcAuthenticateEx gives unix times (bug #9625)
      tevent_poll: call tevent_common_fd_destructor() from poll_fresh_fde_destructor()
      tevent_poll: fix the usage of tevent_re_initialise()
      tevent_poll: add poll_event_loop_wait()
      tevent: pass 'bool replay' to epoll_panic()
      tevent: make sure tevent_backend_init() only runs once
      tevent: make use of tevent_find_ops_byname() in tevent_context_init_byname()
      s3:lib/events: make use of tevent_common_loop_timer_delay()
      wafsamba: add CHECK_VALUEOF() helper
      lib/replace: add AC_CHECK_VALUEOF() macro
      tevent: define TEVENT_NUM_SIGNALS based on configure checks
      tevent: fix some compiler warnings in testsuite.c
      tevent: fix compiler warning in tevent_context_init_byname()
      tevent: remember the errno from select(), poll() and epoll_wait()
      tevent: don't skip a fd event if the previous one was deleted during poll()
      tevent: make sure we cleanup the array passed to poll() after deleting an event
      tevent: use tevent_poll_event_add_fd_internal() in poll_event_add_fd()
      tevent: merge poll_fresh_fde_destructor() into poll_event_fd_destructor()
      tevent: maintain a list of disabled events in the poll backend
      tevent: traverse the ev->fd_event list instead of the poll_ev->fds array
      tevent: ignore POLLNVAL from poll() and disable the event
      tevent: revalidate fde->flags after poll()
      tevent: debug a FATAL message on EBADF from the select backend
      tevent: use DLIST_DEMOTE() before calling on fde handler after select() and poll()
      tevent: add epoll_{create,ctl}_panic_fallback() for testing
      tevent: avoid any operation on epoll_ev after a epoll_panic()
      tevent: don't call TALLOC_FREE(ev->additional_data) in std_fallback_to_poll()
      tevent: add std_event_loop_wait()
      tevent: remove unused if (epoll_ev->epoll_fd == -1) return; checks
      tevent: use helper variables to hold the epoll_ctl() result
      tevent: call epoll_panic() if EPOLL_CTL_DEL failed
      tevent: the content of event is ignored by EPOLL_CTL_DEL
      tevent: s/epoll_change_event/epoll_update_event
      tevent: always go through epoll_update_event()
      tevent: unify handling of HAS_EVENT and REPORT_ERROR in epoll_{add,mod,del}_event()
      tevent: ignore EBADF from epoll_ctl() and disable the event
      tevent: handle multiplexed fde's in epoll_add_event()
      tevent: Fix epoll_mod_event() to cope with modifying a multiplexed fde event.
      tevent: handle multiplexed fde's in epoll_event_fd_destructor()
      tevent: handle EPOLL_ADDITIONAL_FD_FLAG_HAS_MPX in epoll_update_event()
      tevent: In epoll_event_loop() ensure we trigger the right handler for a multiplexed fde event.
      tevent: preferr the write handler if there're two possible handlers registered with epoll
      tevent: use DEBUG_ERROR for the fallback message in epoll_panic()
      tevent: use better names for the subtests
      tevent: add test_event_fd1()
      tevent: add test_event_fd2()
      tevent: add a debug message in tevent_common_loop_timer_delay()
      tevent: optimize adding new timer events
      tevent: optimize adding new zero timer events
      tevent: change version to 0.9.18
      s3:lib/events: add missing TEVENT_TRACE_BEFORE/AFTER_WAIT handling
      libcli/smb: add SMB_CAP_LEGACY_CLIENT_MASK define
      s3:libsmb: make use of SMB_CAP_LEGACY_CLIENT_MASK instead of SMB_CAP_CLIENT_MASK
      libcli/smb: defer failing for missing NEGOTIATE_SECURITY_SIGNATURES_ENABLED
      s3:libsmb: let cli_read_andx_create() accept any length
      s3:smbd: keep global_client_caps and max_send from the first successful session setup
      s3:smbd: remove silly (SMB_OFF_T_BITS == 64) checks
      s3:smbd: add some const to req_is_in_chain()
      s4:smb_server: fix large read_andx requests
      s4:torture: raw.read fix large reads against windows
      s4:torture: let raw.read accept larger reads than 0x10000
      s3:waf fix build on AIX

Timur Bakeyev (1):
      Fix bug # 9666 - Broken filtering of link-local addresses.

Volker Lendecke (9):
      tevent: Fix a comment typo
      tevent_poll: Fix a crash in the poll backend
      tevent_poll: Re-order routines
      tevent_poll: Use the poll_event_context_destructor always
      tevent_poll: NULL out fde->event_ctx for "fresh" poll fdes
      tevent_poll: Avoid a crash in poll_fresh_fde_destructor
      tevent_poll: Avoid a crash in poll_event_set_fd_flags
      wkssvc: Fix bug 9727, NULL pointer dereference
      smbd: Tune "dir" a bit.


Samba Shared Repository

More information about the samba-cvs mailing list