[SCM] Samba Shared Repository - branch v4-1-stable updated

Karolin Seeger kseeger at samba.org
Thu Jul 11 11:57:55 MDT 2013


The branch, v4-1-stable has been updated
       via  ae2e0a6 VERSION: Disable git snapshots for the 4.1.0rc1 release.
       via  55b3970 WHATSNEW: Some updates.
       via  fd036b8 WHATSNEW: Start release notes for Samba 4.1.0rc1.
       via  e5465d7 VERSION: Set version to 4.1.0rc1-GITSNAPSHOT.
       via  a0130c6 Merge remote-tracking branch 'origin/v4-1-test' into master
       via  e56343f VERSION: Set version to 4.1.0rc1-GITSNAPSHOT.
       via  af6d9ce tevent: Fix a typo
       via  0025e97 WHATSNEW: Start release notes for Samba 4.1.0rc1.
       via  a68cea6 docs: Fix typos in "use ntdb" section.
       via  2763cad dsdb-ridalloc: Fix RID pools - RID numbers increase too quickly
       via  d641469 Make the output of the crackname script more readable
       via  47bd903 s3-winbind: Allow sec_initial_uid() to store creds.
       via  c153e6c selftest: Use higher ip numbers.
       via  bb122b0 selftest: Add a newline to root entries in the nss files.
       via  6a0cb7d selftest: Fix domain name of plugindc.
       via  99c800b torture: Don't segfault in smb2.session on error.
       via  096ff2e torture: Don't segfault in raw.session on error.
       via  67c8f87 torture: Fix comparsion of uninitalized bytes.
       via  2536ee8 Make the output of the crackname script more readable
       via  caf3af3 s3-winbind: Allow sec_initial_uid() to store creds.
       via  a4af4fa selftest: Use higher ip numbers.
       via  d5511b1 selftest: Add a newline to root entries in the nss files.
       via  7392985 selftest: Fix domain name of plugindc.
       via  bf5bc72 torture: Don't segfault in smb2.session on error.
       via  d295e18 torture: Don't segfault in raw.session on error.
       via  474eee0 torture: Fix comparsion of uninitalized bytes.
       via  bef3fc8 tsocket: Pass the full port number to getaddrinfo().
       via  0b58eed tsocket: Pass the full port number to getaddrinfo().
       via  3d20d20 smbtorture: Make cracksname easier to debug by outputing the offered format
       via  74dd365 Fix a missing parenthesis in the LDAP search request
       via  af41eb6 docs-xml/manpages/smbclient.1.xml: fix case of -T flag in example.
       via  59462f2 winbindd and nmbd don't set their umask to zero on startup like smbd does.
       via  011dc52 sharesec: Document --view-all
       via  4da8984 sharesec: Document -v/--view
       via  780e2b0 sharesec: Implement --view-all
       via  4ee73fd s3:smbd/close remove filesystem lock before removing sharemode
       via  935992f s3:smbd/close use common exit path
       via  245b5ff s3:lib add mapping for ETXTBSY
       via  526f0df s3-ctdb: Fix auto-enabling of CTDB readonly support
       via  c9924eb s3:smbd/aio mark file as modified in the SMB2 case
       via  e65c532 nsswitch: fix a comment
       via  48ae86f heimdal_build: Add missing dep on samba4kgetcred
       via  7bf8fc7 torture: Add tests for LDAP substring search with no strings provided
       via  70cb7fd libcli/ldap: Cope with substring match with no chunks in ldap_push_filter
       via  4ca9639 ldb: bump version to allow a depencency on the substring crash fix
       via  1a279f7 ldb: Cope with substring match with no chunks in ldb_filter_from_tree
       via  32d0b75 Note how vfs_gpfs uses the "acl map full control" parameter.
       via  056e636 Add missing documentation for vfs_zfsacl.
       via  b00d9d2 Use existing "acl map full control" parameter to control the adding of the DELETE_CHILD parameter on NFSv4/ZFS/GPFS file ACE's.
       via  398ee49 s3/smbclient: fix incorrect command tab completions
       via  d544d17 build: Remove the struct MD5Context conf file check.
       via  9b88166 lsa4: Fix a set but unused variable warning
       via  0ee8650 ldb: Ensure not to segfault on a filter such as (mail=)
       via  bbe09b3 Add missing SMB2/SMB3 share capability flag define
       via  06e5401 lsa4: Fix a set but unused variable warning
       via  7d5daaa lsa4: Remove an unused variable
       via  2448fe3 lsa4: Remove an unused variable
       via  720b4d3 lsa4: Remove an unused variable
       via  6c49f90 Fix glusterfs backend crash found at the Microsoft interop event.
       via  b96cea4 Fix some blank line endings
       via  d2642cb dns: Fix CID 1034969 Uninitialized scalar variable
       via  ad86e2a s3:passdb/pdb_util make pdb_create_builtin consider whether backend deals with BUILTIN
       via  2d2d13e s3:passdb add a gid argument to pdb_create_builtin_alias
       via  212baed s3:utils/net_sam make use of pdb_create_builtin helper function
       via  df41835 s3:passdb expose pdb_create_builtin function
       via  6a048b4 s3:passdb/pdb_tdb add parameter to control handling of BUILTIN
       via  324b3cc s3:passdb/pdb_ldap remove an unnecessary check
       via  01e094b s3:passdb/pdb_ldap make the module handle well-known
       via  987de8a s3:passdb make pdb_sid_to_id honor backend responsibilities
       via  55dd9e6 s3:passdb/pdb_samba_dsdb make the module handle well-known
       via  56df37d s3:lib/util_sid_passdb make use of pdb_is_responsible_for_* functions
       via  0ad38d7 s3:passdb add pdb_*_is_responsible_for* functions
       via  9eb67f2 s3:passdb add idmap control functions
       via  0ad89c3 s3:passdb/samba_dsdb fix some compiler warnings
       via  e211b5c s3:passdb/samba_dsdb fix a compiler warning
       via  e17bc56 s3:utils/net_lookup fix a format-error
       via  88c72fc s4-winbind: Add special case for BUILTIN domain
       via  d4091c5 Fix bug #9166 - Starting smbd or nmbd with stdin from /dev/null results in "EOF on stdin"
       via  fc13489 build: Build with system md5.h on OpenIndiana
       via  5c4772e Re-add umask(0) code removed by commit 3a7c2777ee0de37d758fe81d67d6836a8354825e
       via  fcc43cf Fix xx_path() - return check from mkdir() is incorrect.
       via  d924da9 docs/vfs_catia: rework man page
       via  8ac17ff docs/vfs_catia: remove space-char mapping recommendation
       via  8d75965 vfs_catia: use translate direction enum instead of int
       via  4cd7e1d vfs_streams_xattr: Do not attempt to write empty attribute twice
       via  9f25ad4 librpc: Shorten dcerpc_binding_handle_call a bit
       via  7982d2a librpc: Use tevent_req_poll_ntstatus
       via  20bede7 libsmbclient: Fix typos
       via  fffb701 tsocket: Add some const
       via  cf86f3e gencache: Simplify gencache_init a bit
       via  c71d6ec genrand: Slightly simplify do_reseed
       via  dd0e38b tevent: Fix Coverity ID 989236 Operands don't affect result
       via  f1781ad dsdb: remove a wrong comment in dsdb_check_access_on_dn_internal()
       via  122214b dsdb: don't allow a missing nTSecurityDescriptor in dsdb_get_sd_from_ldb_message()
       via  5959aff dsdb: use AS_SYSTEM | SHOW_RECYCLED for access check searches
       via  afb2bcc s4:smb_server: call irpc_add_name() at startup (bug #9905)
       via  12d9728 s4:rpc_server: call irpc_add_name() at startup (bug #9905)
       via  a1aeeee s4:ldap_server: call irpc_add_name() at startup (bug #9905)
       via  6c8cccc dsdb repl_meta_data: Use dsdb_request_add_controls()
      from  5c488cf Initialize the file descriptor in the files_struct before trying to close it. Otherwise, if one of the SETXATTR calls had failed, the close() call will return EBADF.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-1-stable


- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 VERSION                                            |    6 +-
 WHATSNEW.txt                                       |  303 ++--------
 auth/credentials/credentials_ntlm.c                |    2 +-
 auth/ntlmssp/ntlmssp_server.c                      |    2 +-
 auth/ntlmssp/ntlmssp_sign.c                        |    2 +-
 docs-xml/manpages/sharesec.1.xml                   |   15 +
 docs-xml/manpages/smbclient.1.xml                  |    2 +-
 docs-xml/manpages/vfs_catia.8.xml                  |   77 ++--
 docs-xml/manpages/vfs_gpfs.8.xml                   |   10 +
 docs-xml/manpages/vfs_zfsacl.8.xml                 |  160 ++++++
 docs-xml/smbdotconf/tuning/usentdb.xml             |    4 +-
 lib/crypto/hmacmd5.c                               |    4 +-
 lib/crypto/hmacmd5.h                               |    2 +-
 lib/crypto/md5.c                                   |    6 +-
 lib/crypto/md5test.c                               |    2 +-
 lib/crypto/wscript_build                           |    2 +-
 lib/ldb/ABI/{ldb-1.1.14.sigs => ldb-1.1.16.sigs}   |    0
 ...ldb-util-1.1.10.sigs => pyldb-util-1.1.16.sigs} |    0
 lib/ldb/common/ldb_match.c                         |    5 +
 lib/ldb/common/ldb_parse.c                         |    2 +-
 lib/ldb/wscript                                    |    2 +-
 lib/tevent/doc/tevent_request.dox                  |    2 +-
 lib/tevent/tevent_poll.c                           |    2 +-
 lib/tevent/tevent_signal.c                         |    8 +-
 lib/tsocket/tsocket.h                              |    4 +-
 lib/tsocket/tsocket_bsd.c                          |    4 +-
 lib/util/genrand.c                                 |   24 +-
 libcli/auth/credentials.c                          |    2 +-
 libcli/auth/schannel_sign.c                        |    2 +-
 libcli/auth/smbencrypt.c                           |    8 +-
 libcli/drsuapi/repl_decrypt.c                      |    4 +-
 libcli/ldap/ldap_message.c                         |   41 +-
 libcli/smb/smb2_constants.h                        |    1 +
 libcli/smb/smb_signing.c                           |    2 +-
 librpc/rpc/binding_handle.c                        |   22 +-
 nsswitch/pam_winbind.h                             |    2 +-
 selftest/target/Samba.pm                           |   11 +-
 selftest/target/Samba3.pm                          |    6 +-
 selftest/target/Samba4.pm                          |    2 +-
 source3/client/client.c                            |   16 +-
 source3/groupdb/mapping.c                          |   34 +-
 source3/include/libsmb_internal.h                  |   31 +-
 source3/include/libsmbclient.h                     |  342 ++++++------
 source3/include/passdb.h                           |   17 +-
 source3/lib/errmap_unix.c                          |    3 +
 source3/lib/gencache.c                             |   29 +-
 source3/lib/util.c                                 |   11 +-
 source3/lib/util_sid_passdb.c                      |   49 ++-
 source3/lib/util_sock.c                            |    9 +-
 source3/libsmb/libsmb_cache.c                      |   22 +-
 source3/libsmb/libsmb_compat.c                     |   16 +-
 source3/libsmb/libsmb_context.c                    |    6 +-
 source3/libsmb/libsmb_file.c                       |   14 +-
 source3/libsmb/libsmb_misc.c                       |   10 +-
 source3/libsmb/libsmb_path.c                       |    6 +-
 source3/libsmb/libsmb_printjob.c                   |    4 +-
 source3/libsmb/libsmb_server.c                     |   18 +-
 source3/libsmb/libsmb_setget.c                     |    6 +-
 source3/libsmb/libsmb_stat.c                       |    6 +-
 source3/libsmb/ntlmssp.c                           |    2 +-
 source3/modules/nfs4_acls.c                        |   19 +-
 source3/modules/vfs_catia.c                        |    2 +-
 source3/modules/vfs_glusterfs.c                    |    6 +-
 source3/modules/vfs_streams_xattr.c                |   44 +-
 source3/nmbd/nmbd.c                                |   20 +-
 source3/passdb/ABI/pdb-0.sigs                      |    8 +-
 source3/passdb/pdb_interface.c                     |   81 +++
 source3/passdb/pdb_ldap.c                          |   11 +-
 source3/passdb/pdb_samba_dsdb.c                    |   13 +-
 source3/passdb/pdb_tdb.c                           |   10 +
 source3/passdb/pdb_util.c                          |   43 ++-
 source3/rpc_client/init_samr.c                     |    2 +-
 source3/smbd/aio.c                                 |    2 +
 source3/smbd/close.c                               |   20 +-
 source3/smbd/server.c                              |   14 +-
 source3/utils/net_lookup.c                         |    2 +-
 source3/utils/net_sam.c                            |    2 +-
 source3/utils/sharesec.c                           |   35 ++-
 source3/winbindd/winbindd.c                        |   21 +-
 source3/winbindd/winbindd_ccache_access.c          |    2 +-
 source3/wscript                                    |   28 +
 source4/dsdb/common/dsdb_access.c                  |   19 +-
 source4/dsdb/samdb/ldb_modules/password_hash.c     |    2 +-
 source4/dsdb/samdb/ldb_modules/repl_meta_data.c    |   19 +-
 source4/dsdb/samdb/ldb_modules/ridalloc.c          |    3 +-
 source4/heimdal_build/wscript_build                |    2 +-
 source4/ldap_server/ldap_server.c                  |    3 +
 source4/libcli/raw/smb_signing.c                   |    4 +-
 source4/libnet/libnet_passwd.c                     |    4 +-
 source4/ntp_signd/ntp_signd.c                      |    2 +-
 source4/rpc_server/dnsserver/dnsutils.c            |    2 +-
 source4/rpc_server/drsuapi/dcesrv_drsuapi.c        |    2 +-
 source4/rpc_server/lsa/dcesrv_lsa.c                |  604 ++++++++++----------
 source4/rpc_server/samr/samr_password.c            |    2 +-
 source4/rpc_server/service_rpc.c                   |    1 +
 source4/scripting/devel/crackname                  |    8 +-
 source4/smb_server/service_smb.c                   |    1 +
 source4/smbd/server.c                              |   17 +-
 source4/torture/ldap/basic.c                       |  110 ++++
 source4/torture/ntp/ntp_signd.c                    |    2 +-
 source4/torture/raw/session.c                      |    4 +-
 source4/torture/rpc/drsuapi_cracknames.c           |   67 ++-
 source4/torture/rpc/samba3rpc.c                    |    2 +-
 source4/torture/rpc/samlogon.c                     |    2 +-
 source4/torture/rpc/samr.c                         |    8 +-
 source4/torture/smb2/session.c                     |    2 +-
 source4/winbind/wb_dom_info.c                      |    5 +-
 source4/winbind/wb_init_domain.c                   |   38 +-
 source4/winbind/wb_sid2domain.c                    |   14 +
 109 files changed, 1599 insertions(+), 1141 deletions(-)
 create mode 100644 docs-xml/manpages/vfs_zfsacl.8.xml
 copy lib/ldb/ABI/{ldb-1.1.14.sigs => ldb-1.1.16.sigs} (100%)
 copy lib/ldb/ABI/{pyldb-util-1.1.10.sigs => pyldb-util-1.1.16.sigs} (100%)


Changeset truncated at 500 lines:

diff --git a/VERSION b/VERSION
index 766989c..83a32b3 100644
--- a/VERSION
+++ b/VERSION
@@ -77,7 +77,7 @@ SAMBA_VERSION_BETA_RELEASE=
 # e.g. SAMBA_VERSION_PRE_RELEASE=1                     #
 #  ->  "2.2.9pre1"                                     #
 ########################################################
-SAMBA_VERSION_PRE_RELEASE=1
+SAMBA_VERSION_PRE_RELEASE=
 
 ########################################################
 # For 'rc' releases the version will be                #
@@ -87,7 +87,7 @@ SAMBA_VERSION_PRE_RELEASE=1
 # e.g. SAMBA_VERSION_RC_RELEASE=1                      #
 #  ->  "3.0.0rc1"                                      #
 ########################################################
-SAMBA_VERSION_RC_RELEASE=
+SAMBA_VERSION_RC_RELEASE=1
 
 ########################################################
 # To mark SVN snapshots this should be set to 'yes'    #
@@ -99,7 +99,7 @@ SAMBA_VERSION_RC_RELEASE=
 # e.g. SAMBA_VERSION_IS_SVN_SNAPSHOT=yes               #
 #  ->  "3.0.0-SVN-build-199"                           #
 ########################################################
-SAMBA_VERSION_IS_GIT_SNAPSHOT=yes
+SAMBA_VERSION_IS_GIT_SNAPSHOT=no
 
 ########################################################
 # This is for specifying a release nickname            #
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 25bd1ab..e49a781 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,98 +1,64 @@
 Release Announcements
 =====================
 
-This is the second release candidate of Samba 4.0.  This is *not*
+This is the first release candidate of Samba 4.1.  This is *not*
 intended for production environments and is designed for testing
 purposes only.  Please report any defects via the Samba bug reporting
 system at https://bugzilla.samba.org/.
 
-Samba 4.0 will be the next version of the Samba suite and incorporates
-all the technology found in both the Samba4 series and the
-stable 3.x series. The primary additional features over Samba 3.6 are
+Samba 4.1 will be the next version of the Samba suite and includes
+all the technology found in both the Samba4 series and the stable 3.x
+series. The primary additional features over Samba 3.6 are
 support for the Active Directory logon protocols used by Windows 2000
 and above.
 
-This release contains the best of all of Samba's
-technology parts, both a file server (that you can reasonably expect
-to upgrade existing Samba 3.x releases to) and the AD domain
-controller work previously known as 'samba4'.
-
-If you are upgrading, or looking to develop, test or deploy Samba 4.0
+If you are upgrading, or looking to develop, test or deploy Samba 4.1
 releases candidates, you should backup all configuration and data.
 
 
-UPGRADING
-=========
+NEW FEATURES
+============
+
+Directory database replication (AD DC mode)
+===========================================
 
-Users upgrading from Samba 3.x domain controllers and wanting to use
-Samba 4.0 as an AD DC should use the 'samba-tool domain
-classicupgrade' command.  See the wiki for more details:
-https://wiki.samba.org/index.php/Samba4/samba3upgrade/HOWTO.
+Directory replication has been reworked in order to improve the
+correctness and efficiency.
+As a net effect of it, replication with other domain controllers with
+a heavily modified schema is now possible (ie. Windows 2012 DCs or
+other Windows DC with exchange installed) and replication didn't fail
+anymore in such environments.
 
-Users upgrading from Samba 4.0 alpha and beta releases since alpha15
-should run 'samba-tool dbcheck --cross-ncs --fix' before re-starting
-Samba.  Users upgrading from earlier alpha releases should contact the
-team for advice.
 
-Users upgrading an AD DC from any previous release should run
-'samba-tool ntacl sysvolreset' to re-sync ACLs on the sysvol share
-with those matching the GPOs in LDAP and the defaults from an initial
-provision.  This will set an underlying POSIX ACL if required (eg not
-using the NTVFS file server).
+Server-Side Copy Support
+========================
 
-If you used the BIND9_FLATFILE or BIND9_DLZ features,
-you'll have to add '-dns' to the 'server services' option,
-as the internal dns server (SAMBA_INTERNAL) is the default now.
+Samba 4.1.0 adds support for server-side copy operations via the SMB2
+FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy
+support, such as Windows Server 2012, should experience considerable
+performance improvements for file copy operations, as file data need not
+traverse the network.
+This feature is enabled by default on the smbd file server.
 
 
-NEW FEATURES
-============
+Btrfs Filesystem Integration
+============================
 
-Samba 4.0 supports the server-side of the Active Directory logon
-environment used by Windows 2000 and later, so we can do full domain
-join and domain logon operations with these clients.
-
-Our Domain Controller (DC) implementation includes our own built-in
-LDAP server and Kerberos Key Distribution Center (KDC) as well as the
-Samba3-like logon services provided over CIFS.  We correctly generate
-the infamous Kerberos PAC, and include it with the Kerberos tickets we
-issue.
-
-Samba 4.0.0rc2 ships with two distinct file servers.  We now use the
-file server from the Samba 3.x series 'smbd' for all file serving by
-default.
-
-Samba 4.0 also ships with the 'NTVFS' file server.  This file server
-is what was used in all previous releases of Samba 4.0, and is
-tuned to match the requirements of an AD domain controller.  We
-continue to support this, not only to provide continuity to
-installations that have deployed it as part of an AD DC, but also as a
-running example of the NT-FSA architecture we expect to move smbd to in
-the longer term.
-
-For pure file server work, the binaries users would expect from that
-series (nmbd, winbindd, smbpasswd) continue to be available.  When
-running an AD DC, you only need to run 'samba' (not
-nmbd/smbd/winbind), as the required services are co-coordinated by this
-master binary.
-
-As DNS is an integral part of Active Directory, we also provide two DNS
-solutions, a simple internal DNS server for 'out of the box' configurations
-and a more elaborate BIND plugin using the BIND DLZ mechanism in versions
-9.8 and 9.9. During the provision, you can select which backend to use.
-With the internal backend, your DNS server is good to go.
-If you chose the BIND_DLZ backend, a configuration file will be generated
-for bind to make it use this plugin, as well as a file explaining how to
-set up bind.
-
-To provide accurate timestamps to Windows clients, we integrate with
-the NTP project to provide secured NTP replies.  To use you need to
-start ntpd and configure it with the 'restrict ... ms-sntp' and
-ntpsigndsocket options.
-
-Finally, a new scripting interface has been added to Samba 4, allowing
-Python programs to interface to Samba's internals, and many tools and
-internal workings of the DC code is now implemented in python.
+The Btrfs VFS module provided with Samba 4.1.0 further improves the
+performance of server-side copy operations on shares backed by a Btrfs
+filesystem. It does so by allowing multiple files to share the same
+on-disk extents, avoiding the unnecessary duplication of source and
+destination file data during a server-side copy operation.
+
+This feature can be explicitly enabled on smbd shares backed by a Btrfs
+filesystem with the smb.conf parameter:
+vfs objects = btrfs
+
+
+REMOVED COMPONENTS
+==================
+
+The Samba Web Administration Tool (SWAT) has been removed.
 
 
 ######################################################################
@@ -105,191 +71,28 @@ smb.conf changes
    Parameter Name			Description	Default
    --------------			-----------	-------
 
-   allow dns updates			New		secure only
-   announce as				Removed
-   announce version			Removed
-   cldap port				New		0
-   client max protocol			New
-   client min protocol			New
-   client signing			Changed default	default
-   dcerpc endpoint servers		New
-   dgram port				New		0
-   directory security mask		Removed
-   display charset			Removed
-   dns forwarder			New
-   dns update command			New
-   force security mode			Removed
-   force directory security mode	Removed
-   homedir map				Changed default	auto.home
-   kernel share modes			New		Yes
-   kpasswd port				New		0
-   krb5 port				New		0
-   max protocol				Removed
-   min protocol				Removed
-   nbt client socket address		New		0.0.0.0
-   nbt port				New		0
-   nsupdate command			New
-   ntp signd socket directory		New
-   ntvfs handler			New
-   paranoid server security		Removed
-   pid directory			New
-   printer admin			Removed
-   rndc command 			New
-   rpc big endian			New		No
-   samba kcc command			New
-   security mask			Removed
-   send spnego principal		Removed
-   server max protocol			New		SMB3
-   server min protocol			New		LANMAN1
-   server role				New		auto
-   server services			New
-   server signing			Changed default	default
-   share backend			New
-   share modes				Removed
-   smb2 max read			Changed default 1048576
-   smb2 max write			Changed default 1048576
-   smb2 max trans			Changed default 1048576
-   socket address			Removed
-   spn update command			New
-   time offset				Removed
-   tls cafile				New
-   tls certfile				New
-   tls crlfile				New
-   tls dh params file			New
-   tls enabled				New		No
-   tls keyfile				New
-   unicode				New		Yes
-   web port				New		0
-   winbindd privileged socket directory	New
-   winbind sealed pipes			New		No
-   winbindd socket directory		New
-
-
-CHANGES SINCE 4.0.0rc1
-======================
-
-o   Michael Adam <obnox at samba.org>
-    * BUG 9173: Make the SMB2 compound request create/delete_on_close/
-      close work as Windows.
-
-
-o   Jeremy Allison <jra at samba.org>
-    * BUG 9161: Re-add the vfs_Chdir() cache.
-    * BUG 9189: SMB2 Create doesn't return correct MAX ACCESS access mask in
-      blob.
-    * BUG 9213: Bad ASN.1 NegTokenInit packet can cause invalid free.
-
-
-o   Christian Ambach <ambi at samba.org>
-    * BUG 9162: Fix the build of the GPFS VFS module.
-    * BUG 9197: Only do 'printing_subsystem_update' when printing is enabled.
-
-
-o   Alexander Bokovoy <ab at samba.org>
-    * BUG 9157: Cleanup idmap_ldap build dependencies.
-
-
-o   Ira Cooper <ira at samba.org>
-    * BUG 9162: Fix build on Illumos/Solaris using '--with-acl'.
-    * BUG 9173: Compound requests should continue processing.
-
-
-o   Björn Jacke <bj at sernet.de>
-    * BUG 9162: Fix the build of the ACL VFS modules.
-    * BUG 9172: Fix reporting of gfs2 quotas.
-
-
-o   Volker Lendecke <vl at samba.org>
-    * BUG 9217: CreateFile with FILE_DIRECTORY_FILE can create directories
-      on read-only shares.
-
-
-o   Stefan Metzmacher <metze at samba.org>
-    * BUG 9173: Make the SMB2 compound request create/delete_on_close/
-      close work as Windows.
-    * BUG 9184: Fix receiving of UDP packets from 0 bytes.
-    * BUG 9191: Release the share mode lock before calling exit_server().
-    * BUG 9193: Fix usage of invalid memory in smb2_signing_check_pdu().
-    * BUG 9194: Disallow '--prefix=/usr' and '--prefix=/usr/local' without
-      '--enable-fhs'.
-    * BUG 9198: Fix RHEL-CTDB packaging.
-
-
-o   Matthieu Patou <mat at matws.net>
-    * BUG 9199: Fix usage of "panic action".
-
-
-o   Andreas Schneider <asn at samba.org>
-    * BUG 8632: Fix builtin forms order to match Windows again.
-    * BUG 9159: Fix generating idmap manpages.
-    * BUG 9218: Don't segfault if user specified ports out for range.
-
-
-KNOWN ISSUES
-============
+   password level			Removed
+   set directory			Removed
+   use ntdb				New		No
 
-- 'samba-tool domain classicupgrade' will fail when setting ACLs on
-  the GPO folders with NT_STATUS_INVALID_ONWER in the default
-  configuration.  This happens if, as is typical a 'domain admins'
-  group (-512) is mapped in the passdb backend being upgraded.  This
-  is because the group mapping to a GID only prevents Samba from
-  allocating a uid for that group.  The uid is needed so the 'domain
-  admins' group can own the GPO file objects.
 
-  To work around this issue, remove the 'domain admins' group before
-  upgrade, as it will be re-created automatically.  You will
-  of course need to fill in the group membership again.  A future release
-  will make this automatic, or find some other workaround.
+COMMIT HIGHLIGHTS
+=================
 
-- This release makes the s3fs file server the default, as this is the
-  file server combination we will use for the Samba 4.0 release.
+o   David Disseldorp <ddiss at samba.org>
+    * Add vfs_btrfs module.
+    * Add support for server-side copy operations via the
+      SMB2 FSCTL_SRV_COPYCHUNK request.
 
-- For similar reasons, sites with ACLs stored by the ntvfs file server
-  may wish to continue to use that file server implementation, as a
-  posix ACL will similarly not be set in this case.
 
-- Replication of DNS data from one AD server to another may not work.
-  The DNS data used by the internal DNS server and bind9_dlz is stored
-  in an application partition in our directory.  The replication of
-  this partition is not yet reliable.
-
-- Replication may fail on FreeBSD due to getaddrinfo() rejecting names
-  containing _.  A workaround will be in a future release.
-
-- samba_upgradeprovision should not be run when upgrading to this release
-  from a recent release.  No important database format changes have
-  been made since alpha16.
-
-- Installation on systems without a system iconv (and developer
-  headers at compile time) is known to cause errors when dealing with
-  non-ASCII characters.
-
-- Domain member support in the 'samba' binary is in its infancy, and
-  is not comparable to the support found in winbindd.  As such, do not
-  use the 'samba' binary (provided for the AD server) on a member
-  server.
-
-- There is no NetBIOS browsing support (network neighbourhood)
-  available for the AD domain controller.  (Support in nmbd and smbd
-  for classic domains and member/standalone servers is unchanged).
-
-- Clock Synchronisation is critical.  Many 'wrong password' errors are
-  actually due to Kerberos objecting to a clock skew between client
-  and server.  (The NTP work in the previous alphas are partly to assist
-  with this problem).
-
-- The DRS replication code may fail.  Please contact the team if you
-  experience issues with DRS replication, as we have fixed many issues
-  here in response to feedback from our production users.
-
-
-RUNNING Samba 4.0 as an AD DC
+RUNNING Samba 4.1 as an AD DC
 =============================
 
 A short guide to setting up Samba 4 as an AD DC can be found on the wiki:
 
   http://wiki.samba.org/index.php/Samba4/HOWTO
 
+
 #######################################
 Reporting bugs & Development Discussion
 #######################################
@@ -300,7 +103,7 @@ joining the #samba-technical IRC channel on irc.freenode.net.
 If you do report problems then please try to send high quality
 feedback. If you don't provide vital information to help us track down
 the problem then you will probably be ignored.  All bug reports should
-be filed under the Samba 4.0 product in the project's Bugzilla
+be filed under the Samba 4.1 product in the project's Bugzilla
 database (https://bugzilla.samba.org/).
 
 
diff --git a/auth/credentials/credentials_ntlm.c b/auth/credentials/credentials_ntlm.c
index 2d6d6f6..8f143bf 100644
--- a/auth/credentials/credentials_ntlm.c
+++ b/auth/credentials/credentials_ntlm.c
@@ -110,7 +110,7 @@ _PUBLIC_ NTSTATUS cli_credentials_get_ntlm_response(struct cli_credentials *cred
 		/* LM Key is incompatible... */
 		*flags &= ~CLI_CRED_LANMAN_AUTH;
 	} else if (*flags & CLI_CRED_NTLM2) {
-		struct MD5Context md5_session_nonce_ctx;
+		MD5_CTX md5_session_nonce_ctx;
 		uint8_t session_nonce[16];
 		uint8_t session_nonce_hash[16];
 		uint8_t user_session_key[16];
diff --git a/auth/ntlmssp/ntlmssp_server.c b/auth/ntlmssp/ntlmssp_server.c
index 442bd5d..57179e1 100644
--- a/auth/ntlmssp/ntlmssp_server.c
+++ b/auth/ntlmssp/ntlmssp_server.c
@@ -369,7 +369,7 @@ static NTSTATUS ntlmssp_server_preauth(struct gensec_security *gensec_security,
 	*/
 	if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) {
 		if (ntlmssp_state->nt_resp.length == 24 && ntlmssp_state->lm_resp.length == 24) {
-			struct MD5Context md5_session_nonce_ctx;
+			MD5_CTX md5_session_nonce_ctx;
 			state->doing_ntlm2 = true;
 
 			memcpy(state->session_nonce, ntlmssp_state->internal_chal.data, 8);
diff --git a/auth/ntlmssp/ntlmssp_sign.c b/auth/ntlmssp/ntlmssp_sign.c
index 4d07a81..c0be914 100644
--- a/auth/ntlmssp/ntlmssp_sign.c
+++ b/auth/ntlmssp/ntlmssp_sign.c
@@ -51,7 +51,7 @@ static void calc_ntlmv2_key(uint8_t subkey[16],
 			    DATA_BLOB session_key,
 			    const char *constant)
 {
-	struct MD5Context ctx3;
+	MD5_CTX ctx3;
 	MD5Init(&ctx3);
 	MD5Update(&ctx3, session_key.data, session_key.length);
 	MD5Update(&ctx3, (const uint8_t *)constant, strlen(constant)+1);
diff --git a/docs-xml/manpages/sharesec.1.xml b/docs-xml/manpages/sharesec.1.xml
index 5cd4a48..b983408 100644
--- a/docs-xml/manpages/sharesec.1.xml
+++ b/docs-xml/manpages/sharesec.1.xml
@@ -26,6 +26,7 @@
 		<arg choice="opt">-R, --replace=ACLs</arg>
 		<arg choice="opt">-D, --delete</arg>
 		<arg choice="opt">-v, --view</arg>
+		<arg choice="opt">--view-all</arg>
 		<arg choice="opt">-M, --machine-sid</arg>
 		<arg choice="opt">-F, --force</arg>
 		<arg choice="opt">-d, --debuglevel=DEBUGLEVEL</arg>
@@ -98,6 +99,20 @@
 		</para></listitem>
 		</varlistentry>
 
+		<varlistentry>
+		<term>-v|--view</term>
+		<listitem><para>
+		List a share acl
+		</para></listitem>
+		</varlistentry>
+
+		<varlistentry>
+		<term>--view-all</term>
+		<listitem><para>
+		List all share acls
+		</para></listitem>
+		</varlistentry>
+
 		&stdarg.help;
 		&stdarg.server.debug;
 		&popt.common.samba;
diff --git a/docs-xml/manpages/smbclient.1.xml b/docs-xml/manpages/smbclient.1.xml
index d7a017c..328fd50 100644
--- a/docs-xml/manpages/smbclient.1.xml
+++ b/docs-xml/manpages/smbclient.1.xml
@@ -446,7 +446,7 @@
 		<para>Create the same tar file as above, but now use 
 		a DOS path name. </para>
 		
-		<para><command>smbclient //mypc/myshare "" -N -tc backup.tar 
+		<para><command>smbclient //mypc/myshare "" -N -Tc backup.tar
 		users\edocs </command></para>
 		
 		<para>Create a tar file of the files listed in the file <filename>tarlist</filename>.</para>
diff --git a/docs-xml/manpages/vfs_catia.8.xml b/docs-xml/manpages/vfs_catia.8.xml
index b18dc48..02a9473 100644
--- a/docs-xml/manpages/vfs_catia.8.xml
+++ b/docs-xml/manpages/vfs_catia.8.xml
@@ -37,35 +37,38 @@
 
 	<para>This module is stackable.</para>
 
-	<para>Up to samba version 3.4.x a fixed character mapping was used.
-	The invalid windows characters  \ / : * ? " < > | and the blank
-	character were mapped in a hardcoded way.
+	<para>The parameter "catia:mappings" specifies the mapping on a
+	per-character basis, see below.
 	</para>
+</refsect1>
 
-	<para>Starting with samba-3.5.0 a more flexible mapping was introduced.
-	The new parameter "catia:mappings" now specifies the mapping on a char by char
-	basis using the notation: unix hex char 0x.. : windows hex char 0x..
-	Multiple character mappings are separated by a comma.
-	</para>
 
 
+<refsect1>
+        <title>OPTIONS</title>
+        <variablelist>
+		<varlistentry>
+		<term>catia:mappings = SERVER_HEX_CHAR:CLIENT_HEX_CHAR


-- 
Samba Shared Repository


More information about the samba-cvs mailing list