Subject: CVS commit: pkgsrc/net/samba
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 11/14/2005 08:05:28
Module Name:	pkgsrc
Committed By:	jlam
Date:		Mon Nov 14 08:05:28 UTC 2005

Modified Files:
	pkgsrc/net/samba: DESCR Makefile PLIST distinfo options.mk
	pkgsrc/net/samba/files: nmbd.sh samba.sh smbd.sh winbindd.sh
	pkgsrc/net/samba/patches: patch-ab patch-ac patch-ad patch-af patch-ag
	    patch-at patch-au
Added Files:
	pkgsrc/net/samba: MESSAGE Makefile.mirrors Makefile.patches
	pkgsrc/net/samba/patches: patch-ae patch-ah patch-ai patch-aj patch-ak
	    patch-al patch-am patch-av patch-aw patch-ax patch-ay patch-ba
	    patch-bb patch-bc patch-bd patch-be patch-bf patch-bg patch-bh
	    patch-bi patch-bj patch-bk patch-bl patch-bm patch-bn patch-bo
	    patch-bp patch-bq patch-br patch-bs patch-bt patch-bu patch-bv
	    patch-bw patch-bx patch-by patch-bz patch-ca patch-cb patch-cc
Removed Files:
	pkgsrc/net/samba/patches: patch-aa

Log Message:
Update net/samba to 3.0.20.2 from samba-3.0.20b.  Recommended patches
for samba-3.0.20b that are applied as part of this update include:

	http://www.samba.org/samba/patches/print_lprm.patch
	http://www.samba.org/samba/patches/quota.patch
	http://www.samba.org/samba/patches/bug3201_wbinfo.patch

This fixes PRs pkg/31352 and pkg/31991.  Important changes that were
made as part of porting this Samba release to pkgsrc include the
following:

* The new release model for Samba includes distributing patches for
  urgent bug fixes that will be included in the next release of Samba,
  and are available at http://www.samba.org/samba/patches/.  Since
  these patches are rather generically named, we download all DISTFILES
  and PATCHFILES for Samba into a ${DISTNAME}-specific directory.

* The default configuration for the samba package no longer builds the
  "winbind" portions of samba, which are really only useful when
  attempting to unify logons between Unix and Microsoft Windows.  When
  the "winbind" option is specified, we also build the RID and AD idmap
  backends, which allow sharing UIDs/GIDs across Unix machines.

* New package options have been added to the build: "mysql", "pgsql",
  and "xml" allow adding optional support for experimental passdb
  storage backends, and "winbind" allows for optionally building the
  winbindd daemon and associated plugins.

* Two new smb.conf options were added -- "passwd expand gecos" and
  "state directory".  The first describes whether "&" in the GECOS
  field of a passwd db entry is expanded to the login name.  The
  second describes the location where the persistent-state database
  files are stored.

* Luke Mewburn contributed code to allow nss_winbind.so to work properly
  on supported NetBSD systems.  The FreeBSD NSS winbind code should
  probably be replaced with a suitably tweaked version of the NetBSD
  code since the latter is much more complete in the functions that are
  provided, but I'll leave that to freebsd-pkg-people.

* Samba dumps all of its files into "lock directory", but some of them
  need to persist across reboots.  We make a distinction between these
  files and the temporary files that are re-created by the Samba
  daemons when they are restarted -- the former are now stored in a
  "state directory" and the latter are stored in the "lock directory".
  This is modeled after the Debian patch to Samba located in:

	packaging/Debian/debian-unstable/patches/fhs.patch

  The "lock directory" default has been moved to ${VARBASE}/run/samba
  to emphasize the temporary status of the files stored in that
  directory.

* Samba persists in using PAM_AUTHTOK_RECOVER_ERR, when there is almost
  universal agreement that PAM_AUTHTOK_RECOVERY_ERR is the right
  constant to use.  Even the Linux-PAM distribution ensures that
  PAM_AUTHTOK_RECOVERY_ERR is correctly defined.  To work around this,
  we define PAM_AUTHTOK_RECOVER_ERR appropriately in all the places
  where it is used.

* The configure script checks for OpenSSL's libcrypto.so by looking
  for the symbol "des_set_key".  However, libcrypto.so might not
  contain that symbol because the DES functions might come from a
  separate library, e.g. libdes.so.  In this case, the configure script
  will think that libcrypto.so is not available, when it actually may
  be.  Instead, look for EVP_des_cbc, which is always provided by
  libcrypto.so.

* Add some missing $(PASSDB_LIBS) references to the Makefile to fix
  compilation problems if the experimental passdb backends are statically
  compiled into the Samba suite programs.

* Fix compilation problems in sam/idmap_rid.c and sam/idmap_ad.c if the
  "rid" and "ad" idmap backends are statically compiled into winbindd.

Changes between version 3.0.14a and 3.0.20b include:

  o Reporting files as read-only instead of returning the correct error
    code of "access denied"
  o File system quota support defects
  o Crash bugs caused by incompatibilities on 64-bit systems.
  o User Manager interoperability problems.
  o Support for several new Win32 rpc pipes.
  o New 'net rpc service' tool for managing Win32 services.
  o Capability to set the owner on new files and directory based on the
    parent's ownership.
  o Experimental, asynchronous IO file serving support.
  o Support for Microsoft Print Migrator.
  o New Winbind IDmap plugin (ad) for retrieving uid and gid from AD
    servers which maintain the SFU user and group attributes.
  o Rewritten support for POSIX pathnames when utilizing the Linux CIFS
    fs client.
  o New asynchronous winbindd.
  o New Windows NT registry file I/O library.
  o New user right (SeTakeOwnershipPrivilege) added.
  o New "net share migrate" options.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/net/samba/DESCR
cvs rdiff -r0 -r1.4 pkgsrc/net/samba/MESSAGE
cvs rdiff -r1.146 -r1.147 pkgsrc/net/samba/Makefile
cvs rdiff -r0 -r1.1 pkgsrc/net/samba/Makefile.mirrors \
    pkgsrc/net/samba/Makefile.patches
cvs rdiff -r1.31 -r1.32 pkgsrc/net/samba/PLIST
cvs rdiff -r1.45 -r1.46 pkgsrc/net/samba/distinfo
cvs rdiff -r1.8 -r1.9 pkgsrc/net/samba/options.mk
cvs rdiff -r1.9 -r1.10 pkgsrc/net/samba/files/nmbd.sh
cvs rdiff -r1.16 -r1.17 pkgsrc/net/samba/files/samba.sh
cvs rdiff -r1.10 -r1.11 pkgsrc/net/samba/files/smbd.sh
cvs rdiff -r1.1 -r1.2 pkgsrc/net/samba/files/winbindd.sh
cvs rdiff -r1.29 -r0 pkgsrc/net/samba/patches/patch-aa
cvs rdiff -r1.23 -r1.24 pkgsrc/net/samba/patches/patch-ab
cvs rdiff -r1.12 -r1.13 pkgsrc/net/samba/patches/patch-ac
cvs rdiff -r1.15 -r1.16 pkgsrc/net/samba/patches/patch-ad
cvs rdiff -r0 -r1.8 pkgsrc/net/samba/patches/patch-ae
cvs rdiff -r1.6 -r1.7 pkgsrc/net/samba/patches/patch-af
cvs rdiff -r1.4 -r1.5 pkgsrc/net/samba/patches/patch-ag
cvs rdiff -r0 -r1.3 pkgsrc/net/samba/patches/patch-ah \
    pkgsrc/net/samba/patches/patch-ai pkgsrc/net/samba/patches/patch-aj
cvs rdiff -r0 -r1.4 pkgsrc/net/samba/patches/patch-ak \
    pkgsrc/net/samba/patches/patch-al
cvs rdiff -r0 -r1.5 pkgsrc/net/samba/patches/patch-am
cvs rdiff -r1.2 -r1.3 pkgsrc/net/samba/patches/patch-at \
    pkgsrc/net/samba/patches/patch-au
cvs rdiff -r0 -r1.1 pkgsrc/net/samba/patches/patch-av \
    pkgsrc/net/samba/patches/patch-aw pkgsrc/net/samba/patches/patch-ax \
    pkgsrc/net/samba/patches/patch-ay pkgsrc/net/samba/patches/patch-ba \
    pkgsrc/net/samba/patches/patch-bb pkgsrc/net/samba/patches/patch-bc \
    pkgsrc/net/samba/patches/patch-bd pkgsrc/net/samba/patches/patch-be \
    pkgsrc/net/samba/patches/patch-bf pkgsrc/net/samba/patches/patch-bg \
    pkgsrc/net/samba/patches/patch-bh pkgsrc/net/samba/patches/patch-bi \
    pkgsrc/net/samba/patches/patch-bj pkgsrc/net/samba/patches/patch-bk \
    pkgsrc/net/samba/patches/patch-bl pkgsrc/net/samba/patches/patch-bm \
    pkgsrc/net/samba/patches/patch-bn pkgsrc/net/samba/patches/patch-bo \
    pkgsrc/net/samba/patches/patch-bp pkgsrc/net/samba/patches/patch-bq \
    pkgsrc/net/samba/patches/patch-br pkgsrc/net/samba/patches/patch-bs \
    pkgsrc/net/samba/patches/patch-bt pkgsrc/net/samba/patches/patch-bu \
    pkgsrc/net/samba/patches/patch-bv pkgsrc/net/samba/patches/patch-bw \
    pkgsrc/net/samba/patches/patch-bx pkgsrc/net/samba/patches/patch-by \
    pkgsrc/net/samba/patches/patch-bz pkgsrc/net/samba/patches/patch-ca \
    pkgsrc/net/samba/patches/patch-cb pkgsrc/net/samba/patches/patch-cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.