Commit graph

362 commits

Author SHA1 Message Date
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
manu
5025e4cf01 Fix Samba ability to use LDAP/SSL with a SHA2 certificate
NetBSD's libc and Samba both proide SHA2 function with the same
protoype, but with different private context structures. The
Samba version must not override the libc version, otherwise they
are used when using LDAP/SSL, through libldap/libssl/libcrypto
but libcrtypo expect to use the libc flavor.

Without this fix, Samba cannot connect to a LDAP directory that
has a SHA2-signed certificate. This rather cryptic error is raised
in smbd logs:
error:0D0C5006:asn1 encoding routines:ASN1_item_verify:EVP lib
2015-05-29 09:01:09 +00:00
ryoon
e625ef9077 Restrict buildlink3 requirement, samba<4. 2015-05-19 11:48:05 +00:00
ryoon
292af37bce Fix pasto.
fam for File Alteration Monitor.
2015-05-10 12:55:03 +00:00
sevan
111419901a Account for the libraries installed on FreeBSD
Reviewed by wiz@
2015-03-01 18:27:25 +00:00
taca
d3d76f2a89 Update samba package to 3.6.25.
==============================
                   Release Notes for Samba 3.6.25
                          February 23, 2015
                   ==============================


This is a security release in order to address CVE-2015-0240 (Unexpected
code execution in smbd).

o  CVE-2015-0240:
   All versions of Samba from 3.5.0 to 4.2.0rc4 are vulnerable to an
   unexpected code execution vulnerability in the smbd file server
   daemon.

   A malicious client could send packets that may set up the stack in
   such a way that the freeing of memory in a subsequent anonymous
   netlogon packet could allow execution of arbitrary code. This code
   would execute with root privileges.

o  CVE-2014-0178:
   In preparing a response to an authenticated FSCTL_GET_SHADOW_COPY_DATA
   or FSCTL_SRV_ENUMERATE_SNAPSHOTS client request, affected versions of
   Samba do not initialize 8 bytes of the 16 byte SRV_SNAPSHOT_ARRAY
   response field. The uninitialized buffer is sent back to the client.

   A non-default VFS module providing the get_shadow_copy_data_fn() hook
   must be explicitly enabled for Samba to process the aforementioned
   client requests. Therefore, only configurations with "shadow_copy" or
   "shadow_copy2" specified for the "vfs objects" parameter are vulnerable.
2015-02-24 09:54:47 +00:00
jperkin
9f4aad720f SunOS inotify requires sys/filio.h for FIONREAD. 2015-02-02 10:42:17 +00:00
obache
14b8bc4e55 tell pidfile name 2015-01-23 08:09:37 +00:00
wiz
b22360e0c4 Do not enable ads on Darwin-10+ by default.
Fixes PR 49590 by Youri Mouton.
2015-01-20 23:49:52 +00:00
obache
29a0060c3d Haiku also supports some vfs modules too.
from diger.
2014-07-21 06:46:27 +00:00
obache
a14c716c5c Move Darwin specific PLIST entries to PLIST.Darwin, same as SunOS, Linux. 2014-07-21 06:44:30 +00:00
taca
8fa59df00f Update samba to 3.6.24, security release.
==============================
                   Release Notes for Samba 3.6.24
                           June 23, 2014
                   ==============================

This is a security release in order to address
CVE-2014-0244 (Denial of service - CPU loop) and
CVE-2014-3493 (Denial of service - Server crash/memory corruption).

o  CVE-2014-0244:
   All current released versions of Samba are vulnerable to a denial of
   service on the nmbd NetBIOS name services daemon. A malformed packet
   can cause the nmbd server to loop the CPU and prevent any further
   NetBIOS name service.

   This flaw is not exploitable beyond causing the code to loop expending
   CPU resources.

o  CVE-2014-3493:
   All current released versions of Samba are affected by a denial of service
   crash involving overwriting memory on an authenticated connection to the
   smbd file server.
2014-06-24 14:06:30 +00:00
wiz
a9dc16a509 Bump PKGREVISION for cups -> cups15 change. 2014-06-18 09:28:16 +00:00
wiz
a5caa2b4a1 Switch all cups packages to use cups15. 2014-06-18 09:26:09 +00:00
joerg
abf6111659 security/PAM/module.mk is gone. 2014-06-10 16:45:49 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
wiedi
d87cfa94f3 Add SMF manifest 2014-05-14 21:26:59 +00:00
tron
0d4405324d Remove "us5.samba.org" URL which no longer works. 2014-03-18 12:42:04 +00:00
taca
e482ec1789 Add patch to build problem with newer readline. 2014-03-18 03:35:04 +00:00
taca
250dd9b10a Update samba to 3.6.23.
==============================
                   Release Notes for Samba 3.6.23
                           March 11, 2014
                   ==============================


This is a security release in order to address
CVE-2013-4496 (Password lockout not enforced for SAMR password changes).

o  CVE-2013-4496:
   Samba versions 3.4.0 and above allow the administrator to implement
   locking out Samba accounts after a number of bad password attempts.

   However, all released versions of Samba did not implement this check for
   password changes, such as are available over multiple SAMR and RAP
   interfaces, allowing password guessing attacks.
2014-03-17 14:01:57 +00:00
jperkin
9e7a1ba4b9 Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do
not use libtool to do so.  This is required to correctly depend upon a
gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
2014-03-13 11:08:49 +00:00
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
obache
9525707f16 Replace log dir in the default sample config file correctly.
Bump PKGREVISION.
2014-03-03 08:15:10 +00:00
obache
f3f60da624 simplify with SUBST_VARS. 2014-03-03 08:05:07 +00:00
jperkin
481e9f342f Remove pam_smbpass README, build machine environment issue, apologies. 2014-02-27 13:03:25 +00:00
jperkin
7dec8e6b36 Add missing README for the pam case. 2014-02-26 10:12:49 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
obache
47f4eb371f Use GNU_CONFIGURE_LIBDIR for --libdir. 2014-01-28 12:14:23 +00:00
taca
858cabba26 Update samba to 3.6.22; Security fix for CVE-2012-6150.
Changes since 3.6.21:
---------------------

o   Jeremy Allison <jra@samba.org>
    * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.


o   Stefan Metzmacher <metze@samba.org>
    * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field.


o   Noel Power <noel.power@suse.com>
    * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't
      member of *any* require_membership_of specified groups.


Changes since 3.6.20:
---------------------

o   Jeremy Allison <jra@samba.org>
    * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
      messages.
    * BUG 10167: s3-smb2 server: smb2 breaks "smb encryption = mandatory".
    * BUG 10187: Missing talloc_free can leak stackframe in error path.
    * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.


o   Korobkin <korobkin+samba@gmail.com>
    * BUG 10118: Raise debug level for being unable to open a printer.


o   Volker Lendecke <vl@samba.org>
    * BUG 10195: nsswitch: Fix short writes in winbind_write_sock.


o   Arvid Requate <requate@univention.de>
    * BUG 10267: Fix Windows 8 printing via local printer drivers.


o   Andreas Schneider <asn@cryptomilk.org>
    * BUG 10194: Make offline logon cache updating for cross child domain
      group membership.
2013-12-09 10:44:22 +00:00
adam
629d4cf916 Changes 3.6.20:
These are security releases in order to address CVE-2013-4475 (ACLs are not checked on opening an alternate data stream on a file or directory) and CVE-2013-4476 (Private key in key.pem world readable).
2013-11-12 11:30:01 +00:00
taca
98825d7fa6 Update samba to 3.6.19.
Changes since 3.6.18:
---------------------

o   Jeremy Allison <jra@samba.org>
    * BUG 5917: Make Samba work on site with Read Only Domain Controller.


o   Christian Ambach <ambi@samba.org>
    * BUG 8955: NetrServerPasswordSet2 timeout is too short.


o   Günther Deschner <gd@samba.org>
    * BUG 9899: Fix fallback to ncacn_np in cm_connect_lsat().
    * BUG 9615: Fix fallback to ncacn_np in cm_connect_lsat().
    * BUG 10127: Fix 'smbstatus' as non-root user.


o   Volker Lendecke <vl@samba.org>
    * BUG 8955: Give machine password changes 10 minutes of time.
    * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
      requests.
    * BUG 10114: Handle Dropbox (write-only-directory) case correctly in
      pathname lookup.


o   Karolin Seeger <kseeger@samba.org>
    * BUG 10076: Fix variable list in man vfs_crossrename.


o   Andreas Schneider <asn@samba.org>
    * BUG 9994: s3-winbind: Do not delete an existing valid credential cache.
    * BUG 10073: 'net ads join': Fix segmentation fault in
      create_local_private_krb5_conf_for_domain.


o   Richard Sharpe <realrichardsharpe@gmail.com>
    * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
      out by Samba.
2013-10-09 14:46:35 +00:00
adam
bec3356707 Changes 3.6.18:
* BUG 9777: vfs_dirsort uses non-stackable calls, dirfd(), malloc instead
  of talloc and doesn't cope with directories being modified whilst reading.
* BUG 9678: Windows 8 Roaming profiles fail.
* BUG 9636: Fix parsing linemarkers in preprocessor output.
* BUG 9880: Use of wrong RFC2307 primary group field.
* BUG 9983: Fix output of syslog-facility check.
* BUG 10064: Linux kernel oplock breaks can miss signals.
2013-08-14 14:40:10 +00:00
taca
f4f57ff439 Update samba to 3.6.17, security release.
==============================
                   Release Notes for Samba 3.6.17
                          August 05, 2013
                   ==============================


This is a security release in order to address
CVE-2013-4124 (Missing integer wrap protection in EA list reading can cause
server to loop with DOS).

o  CVE-2013-4124:
   All current released versions of Samba are vulnerable to a denial of
   service on an authenticated or guest connection. A malformed packet
   can cause the smbd server to loop the CPU performing memory
   allocations and preventing any further service.

   A connection to a file share, or a local account is needed to exploit
   this problem, either authenticated or unauthenticated if guest
   connections are allowed.

   This flaw is not exploitable beyond causing the code to loop
   allocating memory, which may cause the machine to exceed memory
   limits.


Changes since 3.6.16:
---------------------

o   Jeremy Allison <jra@samba.org>
    * BUG 10010: CVE-2013-4124: Missing integer wrap protection in EA list
      reading can cause server to loop with DOS.
2013-08-12 02:45:55 +00:00
ryoon
f8e628f818 * .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
2013-07-15 02:02:17 +00:00
wiz
6e2aa18321 Fix URL. 2013-07-04 19:31:10 +00:00
adam
247f185205 Changes 3.6.16:
* BUG 9881: Link dbwrap_tool and dbwrap_torture against libtevent.
* BUG 9722: Properly handle Oplock breaks in compound requests.
* BUG 9822: Fix crash bug during Win8 sync.
* BUG 9927: errno gets overwritten in call to check_parent_exists().
* BUG 8997: Change libreplace GPL source to LGPL.
* BUG 9900: is_printer_published GUID retrieval.
* BUG 9941: Fix a bug of drvupgrade of smbcontrol.
* BUG 9868: Don't know how to make LIBNDR_PREG_OBJ.
* BUG 9688: Remove "experimental" label on "max protocol=SMB2" parameter.
* BUG 9881: Check for system libtevent.
2013-07-03 20:00:47 +00:00
wiz
220e245fa7 Remove GNU_CONFIGURE_LIBDIR.
Rationale: undocumented, easily replaced with "CONFIGURE_ARGS+=--libdir="
and only used by 10 packages.
2013-06-12 12:35:35 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
adam
a2ae2d3e53 Changes 3.6.15:
* BUG 9746: Fix "guest ok", "force user" and "force group" for guest users.
* BUG 9830: Fix panic in nt_printer_publish_ads.
* BUG 9854: Fix crash bug in Winbind.
* BUG 9817: Fix 'map untrusted to domain' with NTLMv2.
2013-05-09 07:36:14 +00:00
adam
a3562b4a6a Changes 3.6.14:
* BUG 9130: Certain xattrs cause Windows error 0x800700FF.
* BUG 9724: Use is_encrypted_packet() function correctly inside server.
* BUG 9733: Fix 'smbcontrol close-share' is not working.
* BUG 9747: Make sure that we only propogate the INHERITED flag when we are
  allowed to.
* BUG 9748: Remove unneeded fstat system call from hot read path.
* BUG 9811: Fix bug in old create temp SMB request. Only use VFS functions.
* BUG 9650: New or deleted CUPS printerqueues are not recognized by Samba.
* BUG 9807: wbinfo: Fix segfault in wbinfo_pam_logon.
* BUG 9727: wkssvc: Fix NULL pointer dereference.
* BUG 9736: smbd: Tune "dir" a bit.
* BUG 9775: Fix segfault for "artificial" conn_structs.
* BUG 9809: RHEL SPEC: Package dbwrap_tool man page.
* BUG 9139: Fix the username map optimization.
* BUG 9699: Fix adding case sensitive spn.
* BUG 9723: Add a tool to migrate latin1 printing tdbs to registry.
* BUG 9735: Fix Winbind separator in upn to username conversion.
* BUG 9766: Cache name_to_sid/sid_to_name correctly.
2013-04-30 20:08:10 +00:00
sborrill
f35e444a96 Removeing -> Removing 2013-04-19 07:17:46 +00:00
wiz
d1b820f37b Recursive bump for png-1.6. 2013-02-16 11:18:58 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
taca
996aedc1cf Update samba to 3.6.12.
==============================
                   Release Notes for Samba 3.6.12
                          January 30, 2013
                   ==============================


This is a security release in order to address
CVE-2013-0213 (Clickjacking issue in SWAT) and
CVE-2013-0214 (Potential XSRF in SWAT).

o  CVE-2013-0213:
   All current released versions of Samba are vulnerable to clickjacking in the
   Samba Web Administration Tool (SWAT). When the SWAT pages are integrated into
   a malicious web page via a frame or iframe and then overlaid by other content,
   an attacker could trick an administrator to potentially change Samba settings.

   In order to be vulnerable, SWAT must have been installed and enabled
   either as a standalone server launched from inetd or xinetd, or as a
   CGI plugin to Apache. If SWAT has not been installed or enabled (which
   is the default install state for Samba) this advisory can be ignored.

o  CVE-2013-0214:
   All current released versions of Samba are vulnerable to a cross-site
   request forgery in the Samba Web Administration Tool (SWAT). By guessing a
   user's password and then tricking a user who is authenticated with SWAT into
   clicking a manipulated URL on a different web page, it is possible to manipulate
   SWAT.

   In order to be vulnerable, the attacker needs to know the victim's password.
   Additionally SWAT must have been installed and enabled either as a standalone
   server launched from inetd or xinetd, or as a CGI plugin to Apache. If SWAT has
   not been installed or enabled (which is the default install state for Samba)
   this advisory can be ignored.


Changes since 3.6.11:
--------------------

o   Kai Blin <kai@samba.org>
    * BUG 9576: CVE-2013-0213: Fix clickjacking issue in SWAT.
    * BUG 9577: CVE-2013-0214: Fix potential XSRF in SWAT.
2013-01-30 11:42:54 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
obache
64deda1dc9 recursive bump from cyrus-sasl libsasl2 shlib major bump. 2012-12-16 01:51:57 +00:00
adam
9d43940213 Major enhancements in Samba 3.6.10 include:
o  Respond correctly to FILE_STREAM_INFO requests.
o  Fix segfault when "default devmode" is disabled.
o  Fix segfaults in "log level = 10" on Solaris.
2012-12-14 07:39:34 +00:00
drochner
72f07b2eba resolve the CONFLICT between tdb and samba - make sambe use
an external libtdb instead of the internal duplicate
2012-10-30 13:24:31 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00