- WHATS NEW IN 1.9.18 - January 7th 1998.
- =======================================
+ WHATS NEW IN Samba 3.0 alpha23
+ 30th March 2003
+ ==============================
-This is the latest stable release of Samba. This is the
-version that all production Samba servers should be running
-for all current bug-fixes.
+This is a pre-release of Samba 3.0. This is NOT a stable release.
+Use at your own risk.
-This release contains several major changes and much re-written
-code.
+The purpose of this alpha release is to get wider testing of the major
+new pieces of code in the current Samba 3.0 development tree. We have
+officially ceased development on the 2.2.x release of Samba and are
+concentrating on Samba 3.0. To reduce the time before the final Samba 3.0
+release we need as many people as possible to start testing these alpha
+releases, and hopefully giving us some high quality feedback on what needs
+fixing.
-The main changes are :
-
-1). Oplock support now operational.
------------------------------------
+Note that Samba 3.0 is not feature complete yet. There is a more
+coding we have planned, but unless we get what we have done already more
+widely tested we will have a hard time doing a stable release in a
+reasonable time frame.
-Samba now supports 'exclusive' and 'batch' oplocks.
-These are an advanced networked file system feature
-that allows clients to obtain a exclusive use of a
-file. This allows a client to cache any changes it
-makes locally, and greatly improves performance.
-
-Windows NT has this feature and prior to this
-release this was one of the reasons Windows NT
-could be faster in some situations. Samba has
-now been benchmarked as out performing Windows
-NT on equivalently priced hardware.
-
-The oplock code in Samba has been extensively
-tested and is believed to be completely stable.
-
-Please report any problems to the samba-bugs alias.
-
-2). NetBIOS name daemon re-written.
------------------------------------
-
-The old nmbd that has caused some users problems
-has now been completely re-written and now is
-much easier to maintain and add changes to.
-
-Changes include support for multi-homed hosts
-in the same way as an NT Server with multiple
-IP interfaces behaves (registers with the WINS
-server as a multi-homed name type), and also
-support for multi-homed name registration in
-the Samba WINS server. Another added feature
-is robustness in the face of WINS server failure,
-nmbd will now keep trying to contact the WINS
-server until it is successful, in the same
-way as an NT Server.
-
-Also in this release is an implementation
-of the Lanman announce protocol used by
-OS/2 clients. Thanks to Jacco de Leeuw for
-this code.
-
-3). New Internationalization support.
--------------------------------------
-
-With this release Samba no longer needs to be
-separately compiled for Japanese (Kanji) support,
-the same binary will serve both Kanji and non-Kanji
-clients.
+Major new features:
+-------------------
-A new method of dynamically loading client code pages
-has been added to allow the case insensitivity to
-be done dependent on the code page of the client.
+- Active Directory support. This release is able to join a ADS realm
+ as a member server and authenticate users using LDAP/kerberos.
-Note that Samba still will only handle one client
-code page at a time. This will be fixed when
-Samba is fully UNICODE enabled.
+- Unicode support. Samba will now negotiate UNICODE on the wire and
+ internally there is now a much better infrastructure for multi-byte
+ and UNICODE character sets.
-Please see the new man page for make_smbcodepage
-for details on adding additional client code page
-support.
+- New authentication system. The internal authentication system has
+ been almost completely rewritten. Most of the changes are internal,
+ but the new auth system is also very configurable.
-4). New Printing support.
--------------------------
+- new filename mangling system. The filename mangling system has been
+ completely rewritten. An internal database now stores mangling maps
+ persistently. This needs lots of testing.
-An implementation of the Windows 95 automatic printer
-driver installation has been added to smbd. To use this
-new feature please read the document:
+- new "net" command. A new "net" command has been added. It is
+ somewhat similar to the "net" command in windows. Eventually we plan
+ to replace a bunch of other utilities (such as smbpasswd) with
+ subcommands in "net", at the moment only a few things are
+ implemented.
-docs/PRINTER_DRIVER.txt
+- Samba now negotiates NT-style status32 codes on the wire. This
+ improves error handling a lot.
-Thanks to Jean-Francois Micouleau, and also Herb Lewis
-of Silicon Graphics for this new code.
+- better w2k printing support including publishing printer
+ attributes in active directory
-Printer support on System V systems (notably Solaris)
-has been improved with the addition of code generously
-donated by Norm Jacobs of Sun Microsystems. Sun have
-also made a Solaris SPARC workstation available to the
-Samba Team to aid in their porting efforts.
+- new loadable RPC modules
+- new dual-daemon winbindd support for better performance
-Changed code.
--------------
+- support for migrating from a Windows NT 4.0 domain
-Samba no longer needs the libdes library to support
-encrypted passwords. Samba now contains a restricted
-version of DES that can only be used for authentication
-purposes (to comply with the USA export encryption
-regulations and to allow USA Mirror sites to carry
-Samba source code). The 'encrypt passwords' parameter
-may now be used without recompiling.
+- support for establishing trust relationships with Windows NT 4.0
+ domain controllers
-Much of the internals of Samba has been re-structured
-to support the oplock and Domain controller changes.
+Plus lots of other changes!
-Samba now contains an implementation of share modes
-using System V shared memory as well as the mmap()
-based code. This was done to allow the 'FAST_SHARE_MODES'
-to be used on more systems (especially HPUX 9.x) that
-have System V shared memory, but not the mmap() call.
-The System V shared memory code is used by default on
-many systems as it has benchmarked as faster on many
-systems.
+Reporting bugs & Development Discussion
+---------------------------------------
-The Automount code has been slightly re-shuffled, such
-that the home directory (and profile location) can be
-specified by \\%N\homes and \\%N\homes\profiles
-respectively, which are the defaults for these values.
-If -DAUTOMOUNT is enabled, then %N is the server
-component of the user's NIS auto.home entry. Obviously,
-you will need to be running Samba on the user's home
-server as well as the one they just logged in on.
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
-The RPC Domain code has been moved into a separate directory
-rpc_pipe/, and a LGPL License issued specifically for code
-in this directory. This is so that people can use this
-code in other projects.
+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.
-Missing feature.
-----------------
-One feature that we wanted to get into this release
-that was not possible due to the re-write of the nmbd
-code was the scalability features in the Samba WINS server.
-This feature is now tentatively scheduled for the next
-release (1.9.19). Apologies to anyone who was hoping
-for this feature to be included. The nmbd re-write
-will make it much easier to add such things in future.
+Changes in alpha23:
+-------------------
-New parameters in smb.conf.
----------------------------
+ LDAP Group Mapping
+ ------------------
-New Global parameters.
-----------------------
+ pdbedit -i -e sets all SAM_ACCOUNT elements to CHANGED to
+ satisfy the new pdb_ldap.c handling. pdbedit -g transfers group
+ mappings. I made this separate from the user database, as current
+ installations have to live with a split backend. So, if you are
+ running 3_0 alphas with LDAP as a backend and upgrade to 3.0alpha23,
+ you must call
+
+ root# pdbedit -i tdbsam -e ldapsam -g
+
+ to transfer your group mapping database to LDAP.
+
+ All groups must be represented as posixGroup objects in
+ the directory and you must adapt your LDAP schema to support the
+ sambaGroupMapping before running this command. Refer to
+ examples/LDAP/samba.schema for details on the objectclass.
+
+
+ Parameters
+ ----------
+
+ Modified Parameters (see smb.conf(5) for details):
+
+ * passdb backend
+
+ Added Parameters
+
+ * ldap del only sam attr
+ * ldap delete dn
+
+
+ ChangeLog
+ ---------
+
+ See cvs log for SAMBA_3_0 for complete details. There are many
+ smaller numerous changes that would clutter the release notes.
+
+0) Include security fix from Samba 2.2.8
+1) Fix interop bug in tconX on port 445 with Windows 2000
+2) Interpret missing SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ, or
+ SMB_ACL_OTHER as "preserve current value" instead of attempting
+ to build one ourself.
+3) Rearrange set_nt_acl() such that chown is only done before
+ setting ACLs if there is either no change of owning user, or
+ change of owning user is towards the current user. Otherwise
+ chown is done after setting ACLs.
+4) Continuing work on NTLMSSP-based SMB signing
+5) When opening an existing TDB, don't require the hash_size
+ specified to the open call to be the same as that of the
+ existing tdb. The specified hash_size is only used if the
+ tdb needs to be (re)created.
+6) Add support for "WinXP" and "Win2K3" client architectures.
+7) Fixed the unmarshalling of the queryaliasmem SAMR call
+8) Windows 2000 can take much longer than the specified time to
+ respond to a lock - so to make the torture tests valid I give
+ it a grace time of 10 seconds instead of 2
+9) Continued work on string handling paranoia
+10) Merge new statcache.c from HEAD
+11) Add new 'net ads dn' option
+12) Sync up SessionSetup code to HEAD, including Luke Howard's
+ session key and auth verifier patches
+13) Work on cleaning up winbindd's mutex locking
+14) Add support for LDAP based Windows group mapping
+15) Improve LDAP update routines
+16) Fix memory leaks found by Valgrind
+17) Add a 'privileged' mode to Winbindd
+18) Work around platforms that have broken getgrnam() implementations
+19) Merge real time signal fixes for kernel oplock code from HEAD
+20) Fix CIDR hosts allow/deny notation
+21) Fixup tcon&X server responses and error codes
+22) Set domain for users in passdb created by "net rpc vampire"
+23) More scalable printing updates
+
+
+ ===============================
+
+Changes in older alpha releases follow:
+
+---------------------------------------------------------------------
+
+Changes in alpha22:
+-------------------
+
+ Added Parameters
+
+ * client NTLMv2 auth
+ * client lanman auth
+ * client signing
+ * client use spnego
+ * max reported print jobs
+ * msdfs proxy
+
+1) remove the global_myname string and replace with wrapper function
+ global_myname()
+2) create vfs/ and pdb/ subdirectories for library installs
+3) Fixup of ordered cleanup of get_dc_list()
+4) Added more autoconf tests for Stratus VOS
+5) Fixed nasty bug where file writes with start offsets in the
+ range 0x80000000 -> 0xFFFFFFFF would fail as they were being cast
+ from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed*
+ types). The sign extension would cause the offset to be treated
+ as negative.
+6) Add support to automatically retrieve the dns host name and domain
+ name of an AD server
+7) Add support for PRINTER_INFO_7 and publishing printer attributes
+ in active directory
+8) Fix for 64 bit issues with oplocks and allocation size
+9) Remove assert(count ==1) for multi-homed PDCs when resolving
+ DOMAIN<0x1b>
+10) Ensure that change_trust_account_password() always talks to
+ the PDC
+11) Add some docs on CUPS printing
+12) Fix rpcclient querygroup command
+13) The _abs time functions should not be converting from/to GMT
+14) Fix broken incremental tar in smbclient
+15) Adding supporting code for better testing using Valgrind
+16) Fix for old DOS client when veto files is set to /.*/
+17) Add win32 utility to query driver capabilities to publish
+ (examples/printing/prtpub.c)
+18) Fix memory leak when constructing an driver_level_6 structure and
+ no dependent files
+19) Add some friendly versions of NT_STATUS codes
+20) Protect nmbd against malformed reply packets
+21) Removal of unpopular winbind client environment variable
+22) Add msdfs proxy functionality; a CIFS share can directly be a
+ stand-in for another share, and when clients connect to the first
+ share, they will be redirected to the proxied share
+23) Make Samba compile cleanly with -Wwrite-strings
+24) Add new timegm() that actually works on solaris
+25) Add support for running smbd, nmbd, & winbindd under the daemontools
+ package
+26) Move user password changes into the NTSTATUS era, and add support
+ for the 'min password age' and 'min passwd len' concepts
+27) Add new gencache based namecache code
+28) Add profiles utility support to Samba 3.0.x
+29) Fix open problem with changing attributes on an existing file
+30) Efficiency fixes for internal messaging system
+31) Make sure to update print queue cache during timeout_processing()
+ to send notify events
+32) Make -i flag work like it did in 2.2
+33) Merge some rpcclient and net functionality from HEAD
+34) Add support for compiling with Heimdal kerberos libraries
+35) Connect to the actual netbios name in smb.conf and not LOCALHOST
+36) Add support for CUPS-PRINTER_CLASS
+37) Add ntlm_auth tool and update NTLMSSP support
+38) require Autoconf 2.53 and remove configure from CVS
+39) Check for too many processes *before* the fork
+40) Fix delete on close semantics to match W2K.
+41) merge desired_access for open_printer_ex from HEAD, allowing
+ cupsaddsmb to work again!
+42) Add support for dynamic RPC modules
+43) wrap all cm_get_XX calls and their subsequent requests in a retry loop
+ in case we've temporarily lost connection to the DC. Makes winbindd
+ more reliable
+44) Optimize user_ok() and user_in_group() when verifying group membership
+45) Add NTLMv2 client code (that works) and some SMB signing fixes
+46) Add caching of PRINTER_INFO_2 structures to open printer handles
+47) Add 1/3 second delay in OpenPrinter() reply to trigger a LAN/WAN
+ optimization in Windows 2000 clients
+48) Add "WinXP" to the possible values of the %a variable
+49) Fix to allow blocking lock notification to be done rapidly (no wait for
+ smb -> smb lock release). Adds new PENDING_LOCK type to lockdb (does
+ not interfere with existing locks)
+50) Limit the unix domain sockets used by winbindd (also solves FD_SETSIZE
+ problem in winbindd to boot !). Adds a "last_access" field to winbindd
+ connections, and will close the oldest idle connection once the number
+ of open connections goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined
+ in local.h as 200 currently)
+51) Limit the number of print jobs returned in EnumJobs()
-Documented in the smb.conf man pages :
-
- "bind interfaces only"
-
- "lm announce"
- "lm interval"
-
- "logon drive"
- "logon home"
-
- "min wins ttl"
- "max wins ttl"
-
- "username level"
-
-New Share level parameters.
----------------------------
-
-Documented in the smb.conf man pages :
-
- "delete veto files"
- "oplocks"
-
-Nascent web interface for configuration.
-----------------------------------------
-
-source/wsmbconf.c is a cgi-bin program for editing smb.conf. It can
-also be run standalone. This is in a very early stage of development.
-
-Debugging support.
-------------------
-
-smbd and nmbd will now modify their debug log level when
-they receive a USR1 signal (increase debug level by one)
-and USR2 signal (decrease debug level by one). This has
-been added to aid administrators track down faults that
-only occur after long periods of time, or transiently.
-
-Reporting bugs.
----------------
-
-If you have problems, or think you have found a
-bug please email a report to :
-
- samba-bugs@samba.anu.edu.au
-
-Please state the version number of Samba that
-you are running, and *full details* of the steps
-we need to reproduce the problem.
-
-As always, all bugs are our responsibility.
-
-Regards,
-
- The Samba Team.