build: Reduce build systems to just top level waf and autoconf
[ira/wip.git] / WHATSNEW.txt
index bb68817d1743ab94306be494baf93ee66e4fbe7a..3fac3606a8cd8209db6dc20ad89c7f4d93241567 100644 (file)
-                   =================================
-                   Release Notes for Samba 3.2.0pre2
-                               Feb 29, 2008
-                   =================================
+What's new in Samba 4 alpha17
+=============================
 
-This is the second preview release of Samba 3.2.0.  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 alpha 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.
 
-Please be aware that Samba is now distributed under the version 3
-of the new GNU General Public License.  You may refer to the COPYING
-file that accompanies these release notes for further licensing details.
+WARNINGS
+========
 
-Major enhancements in Samba 3.2.0 include:
+Samba4 alpha17 is not a final Samba release, however we are now making
+good progress towards a Samba 4.0 release, of which this is a preview.
+Be aware the this release contains both the technology of Samba 3.6
+(that you can reasonably expect to upgrade existing Samba 3.x releases
+to) and the AD domain controller work previously known as 'samba4'.
 
-  File Serving:
-  o Use of IDL generated parsing layer for several DCE/RPC
-    interfaces.
-  o Removal of the 1024 byte limit on pathnames and 256 byte limit on
-    filename components to honor the MAX_PATH setting from the host OS.
-  o Introduction of a registry based configuration system.
-  o Improved CIFS Unix Extensions support.
-  o Experimental support for file serving clusters.
-  o Support for IPv6 in the server, and client tools and libraries.
-  o Support for storing alternate data streams in xattrs.
-  o Encrypted SMB transport in client tools and libraries, and server.
+While binaries for the stable file server are provided in this
+release, for a stable, supported file server, Samba3 domain or AD
+domain member installation, please run a Samba 3.x release, as we are
+still bedding down the new single build system.
 
-  Winbind and Active Directory Integration:
-  o Full support for Windows 2003 cross-forest, transitive trusts
-    and one-way domain trusts
-  o Support for userPrincipalName logons via pam_winbind and NSS
-    lookups.
-  o Support in pam_winbind for logging on using the userPrincipalName.
-  o Expansion of nested domain groups via NSS calls.
-  o Support for Active Directory LDAP Signing policy.
-  o New LGPL Winbind client library (libwbclient.so)
-
-
-  Users & Groups:
-  o New ldb backend for local group mapping tables
-  o Raised level of security defaults for authentication operations.
-
-
-  Documentation:
-  o Inclusion of an HTLM version of the 3rd edition of "Using Samba"
-    from O'Reilly Publishing.
-
-
-Now Licensed under the GNU GPLv3
-================================
-
-The Samba Team has adopted the Version 3 of the GNU General Public
-License for the 3.2 and later releases.   The GPLv3 is the updated
-version of the GPLv2 license under which Samba is currently
-distributed. It has been updated to improve compatibility with other
-licenses and to make it easier to adopt internationally, and is an
-improved version of the license to better suit the needs of Free
-Software in the 21st Century.
-
-The original announcement is available on-line at
-
-    http://news.samba.org/announcements/samba_gplv3/
-
-
-New Security Defaults for Authentication
-========================================
-
-Support for LanMan passwords is now disabled in both client and server
-applications.  Additionally, clear text authentication requests are
-disabled by default in client utilities such as smbclient and all
-libsmbclient based applications.  This will affect connection both
-to and from hosts running DOS, Windows 9x/ME, and OS/2.  Please refer
-to the "Changes" section for details on the exact parameters that were
-updated.
-
-
-
-Registry Configuration Backend
-==============================
-
-Samba is now able to use a registry based configuration backed to
-supplement smb.conf setting.  This feature may be enabled by setting
-"config backend = registry" and "registry shares = yes" in the [global]
-section of smb.conf and may be managed using the "net conf" command.
-
-More information may be obtained from the smb.conf(5) and net(8) man
-pages.
-
-
-Removed Features
-================
-
-Both the Python bindings and the libmsrpc shared library have been
-removed from the tree due to lack of an official maintainer.
-
-
-
-######################################################################
-Changes
-#######
-
-smb.conf changes
-----------------
-
-    Parameter Name                      Description     Default
-    --------------                      -----------     -------
-    client lanman auth                 Changed Default No
-    client ldap sasl wrapping          New             plain
-    client plaintext auth              Changed Default No
-    clustering                         New             No
-    cluster addresses                  New             ""
-    config backend                     New             file
-    ctdb socket                                New             ""
-    debug class                                New             No
-    lanman auth                                Changed Default No
-    ldap debug level                   New             0
-    ldap debug threshold               New             10
-    mangle map                         Removed
-    open files database hashsize       Removed
-    read bmpx                          Removed                         
-    registry shares                    New             No
-    winbind expand groups              New             1
-    winbind rpc only                   New             No
-
-
-Changes since 3.2.0pre1:
------------------------
-
-o   Michael Adam <obnox@samba.org>
-    * Add library for access to the registry configuration data.
-    * BUG 5023: Separate NFS4 and POSIX ACL code in file access checks.
-    * BUG 4308: Fix Excel save operation ACL bug.
-    * Refactor and consolidate logic for retrieving the machine
-      trust password information.
-    * VFS API cleanup (remove redundant parameter).
-    * BUG 4801: Correctly implement LSA lookup levels for LookupNames.
-    * Add new option "debug class" to control printing of the debug class.
-      in debug headers.
-    * Enable building of the zfsacl and notify_fam vfs modules.
-    * BUG 5083: Fix memleak in solarisacl module.
-    * BUG 5063: Fix build on RHEL5.
-    * New smb.conf parameter "config backend = registry" to enable registry
-      only configuration.
-    * Move "net conf" functionality into a separate module libnet_conf.c
-    * Restructure registry code, eliminating the dynamic overlay.
-      Make use of reg_api instead of backend code in most places.
-    * Libreplace fixes.
-    * Build fixes.
-    * Initial support for using subsystems as shared libraries.
-      Use talloc, tdb, and libnetapi as shared libraries internally.
-
-
-o   Jeremy Allison <jra@samba.org>
-    * Added support for IPv6 client and server connections.
-    * Add in the recvfile entry to the VFS layer.
-    * Removal of pstring data type.
-    * Remove unused utilities: smbctool and rpctorture.
-    * Fix service principal detection to match Windows Vista
-      (based on work from Andreas Schneider).
-    * Encrypted SMB transport in client tools and libraries, and server.
+Samba4 is subjected to an awesome battery of tests on an automated
+basis, we have found Samba 4.0 to be very stable in it's behavior.
+However, we still recommend against upgrading production servers from
+Samba 3.x release to Samba 4.0 alpha at this stage.
 
-o   Kai Blin <kai@samba.org>
-    * Added support for an SMB_CONF_PATH environment variable
-      containing the path to smb.conf.
-    * Various fixes to ntlm_auth.
-    * make test now supports more extensive SPOOLSS testing using vlp.
-    * Correctly handle mixed-case hostnames in NTLMv2 authentication.
-
-
-o   Gerald (Jerry) Carter <jerry@samba.org>
-    * Add Winbind client library.
-    * Decouple static linking between smbd and winbindd's client
-      interface.
-
-
-o   Guenther Deschner <gd@samba.org>
-    * Enhance client and server remote registry access.
-    * Add client calls for remotely joining a computer to a domain
-      (including calls from "net dom" command).
-    * Add libnetapi.so library for joining domains including
-      sample GTK+ app.
-
-
-o   Steve Langasek <vorlon@debian.org>
-    * Integrate 2 out of 3 --with-fhs patches from Debian packaging
-      for better adherence to the FHS standard.
-
-
-o  Volker Lendecke <vl@samba.org>
-    * Add talloc_stackframe() and talloc_pool() features.
-    * Removal of pstring data type.
-    * Add generic a in-memory cache.
-    * Import the Linux red-black tree implementation.
-    * Remove large amount of global variables.
-    * Support for storing xattrs in tdb files
-    * Support for storing alternate data streams in xattrs
-    * Implement a generic in-memory cache based on rb-trees
-    * Add implicit temporary talloc contexts via talloc_stack()
-
-
-o   Stefan Metzmacher <metze@samba.org>
-    * Fixes for libreplace.
-    * Pidl fixes.
-    * Build fixes.
-    * Add nss_wrapper support.
-    * Start and test winbindd by 'make test'
-    * Split up child_dispatch_table into domain, idmap and locator tables
-      in winbindd.
-    * Fix for a crash bug in pidl generated client code.
-      This could have happend with [in,out,unique] pointers
-      when the client sends a valid pointer, but the server
-      responds with a NULL pointer (as samba-3.0.26a does for some calls).
-    * Change NTSTATUS into enum ndr_err_code in librpc/ndr.
-    * Remove unused calls in the struct based winbindd protocol.
-    * Add --configfile option to wbinfo.
-    * Convert winbind_env_set(), winbind_on() and winbind_off() into macros.
-    * Return rids and other_sids arrays in WBFLAG_PAM_INFO3_TEXT mode.
-    * Implement wbcErrorString() and wbcAuthenticateUserEx().
-    * Convert auth_winbind to use wbcAuthenticateUserEx().
-
-
-o   James Peach <jpeach@samba.org>
-    * Add support for DNS Service Discovery.  Based on work from
-      Rishi Srivatsavai <rishisv@gmail.com>.
-
-
-o   Andreas Schneider <anschneider@suse.de>
-    * Don't restart winbind if a corrupted tdb is found during
-      initialization.
-
-
-o   Karolin Seeger <ks@sernet.de>
-    * Improve error messages of net subcommands.
-    * Add 'net rap file user'.
-    * Change LDAP search filter to find machine accounts which
-      are not located in the user suffix.
-
-
-o   David Shaw <dshaw@jabberwocky.com>
-    * BUG 5073: Allow "delete readonly = yes" to correctly override
-      deletion of a file.
-
-
-o   Rishi Srivatsavai <rishisv@gmail.com>
-    * Register the smb service with mDNS if mDNS is supported.
-    * Add smbclient support for basic mDNS browsing.
+If you are upgrading, or looking to develop, test or deploy Samba 4.0
+alpha releases, you should backup all configuration and data.
 
+NEW FEATURES
+============
 
-o   Andrew Tridgell <tridge@samba.org>
-    * Fix padding between Winbind 32bit/64bit client library in
-      the request/response structures.
-    * Added a syncops VFS module for file systems which do not
-      guarantee meta-data operations are immediately committed to
-      disk in stable form.
+Samba 4.0 alpha 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.
 
-o   Jelmer Vernooij <jelmer@samba.org>
-    * Additional portability support for building shared libraries.
+Samba 4.0 alpha ships with two distinct file servers.  The file server
+from the Samba 3.x series is 'smbd', and works with the binaries users
+would expect from that series (nmbd, winbindd, smbpasswd).
 
+Samba 4.0 also ships with a new file server, which is tuned to match
+the requirements of an AD domain controller.  Users should not use the
+file server in the 'samba' binary for non-DC related tasks.
 
+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.
 
-Original 3.2.0pre1 commits:
----------------------------
-o   Michael Adam <obnox@samba.org>
-    * Unified POSIX ACL detection including support for FreeBSD and
-      HP-UX.
-    * Performance improvements for Winbind's lookup functions (names,
-      SIDs, and group membership) when joined to an AD domain.
-    * Winbind cache validation support.
-    * Store domain trust passwords for Samba domain controller's in
-      the domain's passdb backend.
-    * Merged \winreg server code from the SAMBA_3_2 development branch.
-    * Fixes for libreplace.
-    * Implement new registry configuration backend.
 
+CHANGES SINCE alpha16
+=====================
 
-o   Jeremy Allison <jra@samba.org>
-    * Add support for file system objectIDs.
-    * Winbind cache validation support.
-    * Add in the UNIX capability for 24-bit readX.
-    * Improve Delete-on-Close semantics.
-    * Removal of static file and path name buffers in SMB file serving
-      code.
+For a list of changes since alpha 15, please see the git log.
 
+$ git clone git://git.samba.org/samba.git
+$ cd samba.git
+$ git log release-4-0-0alpha16..release-4-0-0alpha17
 
-o   Danilo Almeida <dalmeida@centeris.com>
-    * Move the machine account to the OU specified when running "net
-      ads join".
+Some major user-visible changes include:
 
+samba-tool dbcheck
+------------------
 
-o   Andrew Bartlett <abartlet@samba.org>
-    * Tighten authentication protocol defaults in client tools and
-      servers.
+We now have an fsck-like tool for Samba's internal sam.ldb database.
+Run samba-tool dbcheck after installation to check your database for
+self-consistency.  Any database created with a previous Samba4 alpha
+will have a very large number of consistency errors, which this tool
+can fix.
 
+See also the -H option to point dbcheck at a different database to the
+default, and the --fix and --yes options to make changes and to not
+prompt about those changes. 
 
-o   Gerald (Jerry) Carter <jerry@samba.org>
-    * Implement support for one-way trusts and two-way cross-forest
-      transitive trust in winbindd.
-    * Fixes for Winbind's offline/disconnected logon support when
-      using remote idmap backends.
-    * Fix LookupNames and LookupSids to use the same resolution
-      heuristics as Windows XP.
-    * Fix lockups in Winbind when running nscd.
-    * UPN logon support in pam_winbind.
-    * Add support for GNU linker scripts when build shared libraries
-      (based on work by Julien Cristau <jcristau@debian.org> and James
-      Peach).
+After upgrading Samba, it is suggested that you do the following:
 
+  - stop samba
+  - take a backup copy of your sam.ldb and sam.ldb.d/* database files
+  - run samba-tool dbcheck --cross-ncs --fix
+  - use 'all' to say yes to fixing each type of error found
+  - after it has finished, run dbcheck again to ensure it reports no
+    errors
 
-o   Guenther Deschner <gd@samba.org>
-    * Additional support for decoding and downloading group policy
-      objects from Active Directory.
-    * Improvements to "net ads keytab" command.
-    * Fixes for linking against Heimdal Kerberos client libs.
-    * Support LDAP range retrieval searches.
-    * Fixes for failure to refresh user ticket caches in Winbind.
-    * UPN logon support in pam_winbind.
-    * Add KDC locator plugin for MIT kerberos 1.6 or later.
+There will be a lot of errors fixed, particularly related to
+bad/missing GUID values. This is due to a bug in previous releases
+that left many objects with bad GUID values. These can all be fixed
+using dbcheck with steps above.
 
 
-o   Steve Langasek <vorlon@debian.org>
-    * Allow SIGTERM to cause nmbd to exit while awaiting a interface
-      to come up.
+New default paths
+-----------------
 
+The configure options for paths have changed again, and the
+--enable-fhs option has been reinstated.  Packagers should attempt to
+first package Samba using:
 
-o   Volker Lendecke <vl@samba.org>
-    * Merge experimental cluster support patches from the ctdb branch.
-    * Add tdb storage abstraction for ctdb.
-    * Use IDL for internal message passing system.
-    * Add client support for the SamLogonEx() authentication request.
-    * Implement RPC proxy stubs in the Samba server code to allow
-      replacing implementation functions one by one.
-    * Remove static incoming and outgoing buffers from core server SMB
-      packet processing code.
-    * Add "net sam rights" command.
+./configure --enable-fhs --prefix=/usr --sysconfdir=/etc --localstatedir=/var
 
+and only after examining the location Samba uses with these options
+should further changes be made.  Existing packaging scripts are not
+expected to work unmodified, instead the Samba Team's aim is to
+simplify such scripts for the long term. 
 
-o   Steve French <sfrench@samba.org>
-    * Fixes for mount.cfs Linux utility.
+samba-tool domain samba3upgrade
+-------------------------------
 
+The new samba-tool domain samba3upgrade command is a supported upgrade route from Samba
+3.x domain controllers to Samba 4.0 AD domain controllers.  This
+provides a one-time migration of all users, domain members, passwords,
+groups, group members and account polcies. 
 
-o   Stefan Metzmacher <metze@samba.org>
-    * Fixes for libreplace.
-    * Add support for LDAP digital signing policy.
-    * Experimental clustered file system support.
+This tool is still under development and may fail when presented with
+an inconsistant Samba3 database (such as many LDAP configurations).
+We hope to improve the error handling and recovery in these
+situations, so please provide feedback using the samba-technical
+mailing list.
 
+KNOWN ISSUES
+============
 
-o   Lars Mueller <lars@samba.org>
-    * Makefile and build fixes.
-    * Add pam_pwd_expire for pam_winbind (original patch from Andreas
-      Schneider).
+- Installation on systems without a system iconv (and developer
+  headers at compile time) is known to cause errors when dealing with
+  non-ASCII characters.
 
+- In some situations, group members may not be upgraded by the
+  samba-tool domain upgrade_from_s3 script
 
-o   James Peach <jpeach@apple.com>
-    * Fixes for setgroups() and *BSD and Darwin.
-    * Support membership of >16 groups on Darwin.
+- The samba-tool domain join script will not join Windows 2000 domains.
 
+- Domain member support in the 'samba' binary is in it's 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.
 
-o   Jiri Sasek <Jiri.Sasek@Sun.COM>
-    * Added vfs_zfsacl module.
+- There is no printing support in the 'samba' binary (use smbd instead)
 
+- There is no NetBIOS browsing support (network neighbourhood) in the
+  'samba' binary (use nmbd and smbd instead)
 
-o   Karolin Seeger <ks@sernet.de>
-    * Add deletelocalgroup and unmapunixgroup subcommand to "net sam".
-    * Cleanup internal passdb functions.
+- 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. 
 
-o   Simo Sorce <idra@samba.org>
-    * Fixes for IDmap and Passdb backends.
+RUNNING Samba 4.0 as an AD DC
+=============================
 
+A short guide to setting up Samba 4 as an AD DC can be found on the wiki:
 
-o   Andrew Tridgell <tridge@samba.org>
-    * Port ldb from the Samba 4 tree and add ldb group mapping plugin.
-    * Move several file serving related tdb files to use the dbwrap
-      API internally.
-    * Cleanup the GPFS VFS plugin.
-    * Experimental clustered file system support.
+  http://wiki.samba.org/index.php/Samba4/HOWTO
 
-
-o   Jelmer Vernooij <jelmer@samba.org>
-    * Implement NDR basic to support utilizing IDL files from Samba 4
-      tree for general DCE/RPC parsing stubs.
-
-
-
-######################################################################
+#######################################
 Reporting bugs & Development Discussion
 #######################################
 
@@ -394,7 +170,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 3.2 product in the project's Bugzilla
+be filed under the Samba 4.0 product in the project's Bugzilla
 database (https://bugzilla.samba.org/).