================================ Release Notes for Samba 3.3.0rc2 December, 15 2008 ================================ This is the second release candidate of Samba 3.3.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/. Major enhancements in Samba 3.3.0 include: Configuration/installation: o Splitting of library directory into library directory and separate modules directory. o The default value of "ldap ssl" has been changed to "start tls". File Serving: o Extended Cluster support. Winbind: o Simplified idmap configuration. o New idmap backends "adex" and "hash". o Added new parameter "winbind reconnect delay". o Added support for user and group aliasing. o Added support for multiple domains to idmap_ad. Administrative tools: o The destination "all" of smbcontrol does now affect all running daemons including nmbd and winbindd. o New 'net rpc vampire keytab' and 'net rpc vampire ldif' commands. o The 'net' utility can now use kerberos for joining and authentication. o The 'wbinfo' utility can now add, modify and remove identity mapping entries. Libraries: o NetApi library implements various new calls for User- and Group Account Management. Configure changes ================= The configure option "--with-libdir" has been removed. The library directory can still be specified by using the existing "--libdir" option. A new option "--with-modulesdir" has been added to allow the specification of a separate directory for the shared modules. Configuration changes ===================== The default value of "ldap ssl" has been changed to "start tls". This means, Samba will use the LDAPv3 StartTLS extended operation (RFC2830) for communicating with directory servers by default. If your directory servers do not support this extended operation, you will have to set "ldap ssl = no". Otherwise, Samba could not contact the directory servers anymore! Winbind idmap backend changes ============================= The idmap configuration has changed with version 3.3 to something that allows a smoother upgrade path from pre-3.0.25 configurations that use "idmap backend". The reason for this change is that to many, also to Samba developers, the 3.0.25 style configuration with "idmap config" turned out to be very complex. Version 3.3 no longer deprecates the "idmap backend" parameter, instead with "idmap backend" the default idmap backend is specified. Accordingly, the "idmap config : default = yes" setting is no longer being looked at. The alloc backend defaults to the default backend, which should be able to allocate IDs. In the default distribution the tdb and ldap backends can allocate, the ad and rid backends can not. The idmap alloc range is now being set with the "old" parameters "idmap uid" and "idmap gid". The "idmap domains" parameter has been removed. winbind reconnect delay ======================= This is a new parameter which specifies the number of seconds the Winbind daemon will wait between attempts to contact a Domain controller for a domain that is determined to be down or not contactable. Winbind's Name Aliasing ======================= Name aliasing in Winbind is a feature that allows an administrator to map a fully qualified user or group name from a Windows domain to a convenient short name for Unix access. This is similar to the username map functionality supported by smbd but is primary intended for clients and servers making use of Winbind's PAM and NSS libraries. For example, the user "DOMAIN\fred" has been mapped to the Unix name "freddie". $ getent passwd "DOMAIN\fred" freddie:x:1000:1001:Fred Jones:/home/freddie:/bin/bash $ getent passwd freddie freddie:x:1000:1001:Fred Jones:/home/freddie:/bin/bash The name aliasing support is provided by individual nss_info plugins. For example, the new "adex" plugin reads the uid attribute from Active Directory to make a short login name to the fully qualified name. While the new "hash" module utilizes a local file to map "short_name = QUALIFIED\name". Both user and group name mapping is supported. Please refer to the "winbind nss info" option in smb.conf(5) and to individual plugin man pages for further details. idmap_hash ========== The idmap_hash plugin provides similar support as the idmap_rid module. However, uids and gids are generated from the full domain SID using a hashing algorithm that maps the lower 19 bits from the user or group RID to bits 0 - 19 in the Unix id and hashes 96 bits from the domain SID to bits 20 - 30 in the Unix id. The result is a 31 bit uid or gid that is consistent across machines and provides support for trusted domains. Please refer to the idmap_hash(8) man page for more details. idmap_adex ========== The adex idmap/nss_info plugin is an adaptation of the Likewise Enterprise plugin with support for OU based cells removed (since the Windows pieces to manage the cells are not available). This plugin supports * The RFC2307 schema for users and groups. * Connections to trusted domains * Global catalog searches * Cross forest trusts * User and group aliases Prerequisite: Add the following attributes to the Partial Attribute Set in global catalog: * uidNumber * uid * gidNumber A basic config using the current trunk code would look like: [global] idmap backend = adex idmap uid = 10000 - 29999 idmap gid = 10000 - 29999 winbind nss info = adex winbind normalize names = yes winbind refresh tickets = yes template homedir = /home/%D/%U template shell = /bin/bash Please refer to the idmap_adex(8) man page for more details. ###################################################################### Changes ####### smb.conf changes ---------------- Parameter Name Description Default -------------- ----------- ------- cups connection timeout New 30 idmap domains Removed init logon delayed hosts New "" init logon delay New 100 ldap ssl Changed Default start tls winbind reconnect delay New 30 Changes since 3.3.0rc1: ------------------------ o Jeremy Allison * BUG 1254: Fix "write list" in setups using "security = share". * BUG 5937: Fix filenames with "*" char hiding other files. * BUG 5953: Fix segfaults in smbclient. * Fix usrmgr opening a user object as non-root. o Michael Adam * BUG 3661: Add support for trusted domains to idmap_ad. * Fix default backend handling for ad backends. * Fix potential segfault in vfs_tsmsm. * Fix several RHEL CTDB packaging issues. o Günther Deschner * BUG 5957: Do not abort rename process on valid rename script. * Fix various potential memleaks in samr_SetUserInfo. * Fix access bits in netapi. o Steve French * BUG 5934: Use USER environment in mount.cifs when no user is specified. * variable o SATOH Fumiyasu * BUG 5688: LPQ process is orphaned if socket address parameter is invalid. * Vars for signals must be volatile sig_atomic_t. o Henning Henkel * BUG 5929: Fix build of vfs_prealloc with option --with-cluster-support and GPFS. o Tomasz Krasuski * BUG 5928: Fix 'testparm --version'. o Jeff Layton * Allow mounts to ipv6 capable servers in mount.cifs. o Volker Lendecke * Fix crash bug when freeing a non-malloc'ed buffer if the client sends a non-encrypted packet with the crypto state set. * Fix error code when smbclient puts a file over an existing directory. * Pass the get_real_filename operation through the VFS. o Stefan Metzmacher * BUG 5749: Re-set acctflags while joining. * Fix several issues concerning Alternate Data Streams. * Fix valgrind bug lp_parm_const_string(). * Fix setting of trust passwords using 'net rpc trustdom add'. * Correctly detect if the current dc is the closest one. o Tim Prouty * Fix a delete on close divergence from windows. o Dan Sledz * Fix logging to syslog. o Yasuma Takeda * BUG 5944: Fix starting of nmbd with "socket address" set to "". o Bo Yang * Fix script installmo.sh when no .po file exists. ###################################################################### Reporting bugs & Development Discussion ####################################### Please discuss this release on the samba-technical mailing list or by 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.3 product in the project's Bugzilla database (https://bugzilla.samba.org/). ====================================================================== == Our Code, Our Bugs, Our Responsibility. == The Samba Team ======================================================================