From owner-svn-ports-head@freebsd.org Sun Jun 30 23:09:38 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B671815E28A8; Sun, 30 Jun 2019 23:09:38 +0000 (UTC) (envelope-from timur@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D57B75DD8; Sun, 30 Jun 2019 23:09:38 +0000 (UTC) (envelope-from timur@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 347534736; Sun, 30 Jun 2019 23:09:38 +0000 (UTC) (envelope-from timur@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5UN9c8s006950; Sun, 30 Jun 2019 23:09:38 GMT (envelope-from timur@FreeBSD.org) Received: (from timur@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5UN9cOD006949; Sun, 30 Jun 2019 23:09:38 GMT (envelope-from timur@FreeBSD.org) Message-Id: <201906302309.x5UN9cOD006949@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: timur set sender to timur@FreeBSD.org using -f From: "Timur I. Bakeyev" Date: Sun, 30 Jun 2019 23:09:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505523 - head X-SVN-Group: ports-head X-SVN-Commit-Author: timur X-SVN-Commit-Paths: head X-SVN-Commit-Revision: 505523 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5D57B75DD8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2019 23:09:39 -0000 Author: timur Date: Sun Jun 30 23:09:37 2019 New Revision: 505523 URL: https://svnweb.freebsd.org/changeset/ports/505523 Log: Add two entries about upgradinf from previous versions of Samba to Samba 4.10. Modified: head/UPDATING Modified: head/UPDATING ============================================================================== --- head/UPDATING Sun Jun 30 23:02:44 2019 (r505522) +++ head/UPDATING Sun Jun 30 23:09:37 2019 (r505523) @@ -5,6 +5,71 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. + +20190630: + AFFECTS: users of net/samba410 + AUTHOR: timur@FreeBSD.org + + If you used Samba in AD/DC mode with the previous versions of the port on UFS2 + backed storage you have to add usage of vfs_freebsd VFS module for at least + SYSVOL share and confugure it to use 'legacy' mode(see manpage). + + The reason behind this is that previous versions Samba port used a hack to + workaround broken mapping of Linux security and trusted extended attributes + into FreeBSD namespace. In particular, essential security.NTACL attribute + was replaced with the user.NTACL and placed in a insecure USER namespace. + + This port dropped this hack in favor of vfs_freebsd module, which should + provide more controlled way of such a mapping. + + To maintain the compatibility with the previous installations on UFS2 storage + (as ZFS uses it's own way of mapping SYSVOL, thanks to the iXsystems patches) + the vfs_freebsd module provides 'legacy' mode that implements old functionality. + + For the presh installations it is recommended to use 'secure' mode of operations + for this module and use it as a global vfs objects. + + Caution: The given module is still considered EXPERIMENTAL. + +20190630: + AFFECTS: users of net/samba410, net/samba4[6-8] and devel/talloc?, devel/tevent?, + databases/tdb?, databases/ldb* + AUTHOR: timur@FreeBSD.org + + The port of the new version of Samba 4.10 is introduced. Due necessirity + to keep backwards compatibility for the legacy samba4[6-8] ports the + upgrade procedure is a bit convoluted. + + You are safe to perform fresh new install of samba410 port. In case you + are upgrading from the previous versions of Samba, please use the + following procedure: + + 0. Take backups of all the relevant files, in particular PREFIX/etc/smb4.conf + and /var/db/samba4/ subdirectory. Keep in mind that files there (may) + have extended attributes, so use appropriate tools to preserve them. + + 1a. If you haven't updated Samba between 20190619 and 20190630 then next + step should be as simple as: + + portmaster -o net/samba410 net/samba48 + + 1b. If you have been affected by the archiving legacy versions of + Samba-related libraries for legacy versions of Samba, which happened + in the given time frame, then you need to reverse operation from the + 20190619 entry: + + for users of portmaster: + portmaster -o devel/talloc devel/talloc1 + portmaster -o devel/tevent devel/tevent1 + portmaster -o databases/tdb databases/tdb1 + portmaster -o net/samba410 net/samba48 + + for users of portupgrade: + portupgrade -o devel/talloc devel/talloc1 + portupgrade -o devel/tevent devel/tevent1 + portupgrade -o databases/tdb databases/tdb1 + portupgrade -o net/samba410 net/samba48 + 20190619: AFFECTS: users of samba4[6-8] and devel/talloc, devel/tevent, databases/tdb, databases/ldb* AUTHOR: timur@FreeBSD.org @@ -22,7 +87,7 @@ you update your ports collection, before attempting an portmaster -o devel/talloc1 devel/talloc portmaster -o devel/tevent1 devel/tevent portmaster -o databases/tdb1 databases/tdb - portmaster -r devel/talloc1 + portmaster -r talloc1 for users of portupgrade: portupgrade -o devel/talloc1 devel/talloc