Commit graph

88 commits

Author SHA1 Message Date
Timur I. Bakeyev
a43beb0c91 -CVE-2009-2813: Misconfigured /etc/passwd file may share folders unexpectedly
-CVE-2009-2948: Information disclosure by setuid mount.cifs
-CVE-2009-2906: Remote DoS against smbd on authenticated connections

Security:	CVE-2009-2813, CVE-2009-2948, CVE-2009-2906
2009-10-07 01:54:16 +00:00
Timur I. Bakeyev
b8fbc9db59 Bump port version to Samba 3.0.36
Please note, that the 3.0 series will be DISCONTINUED after this release!

Major enhancements included in Samba 3.0.36 are:

 o Fix Winbind crash on 'getent group' (bug #5906).
 o Excel save operation corrupts file ACLs (bug #4308).
 o Prevent segmentation fault on joining a very long domain name.
2009-08-17 01:49:08 +00:00
Timur I. Bakeyev
900b0cc5de Security update to the latest version 3.0.35.
Security:	CVE-2009-1888
2009-06-25 23:51:22 +00:00
Timur I. Bakeyev
43160f58a8 Upgrade port to the 3.0.34 version. Major enhancements included in Samba:
o Fix update of machine account passwords.
  o Fix SMB signing issue on Windows Vista with MS Hotfix KB955302.
  o Fix Winbind crashes.
  o Correctly detect if the current dc is the closest one.
  o Add saf_join_store() function to memorize the dc used at join time.
    This avoids problems caused by replication delays shortly after domain
    joins.
  o Fix write list in setups using "security = share".
2009-01-20 18:40:43 +00:00
Martin Wilke
eefda272ac - Fix potential leakage of arbitrary memory contents
- Bump PORTREVISION

PR:		based on 129239
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Approved by:	maintainer (timeout, security issue, 2 days), secteam (myself)
Obtained from:	samba git
Security:	http://www.vuxml.org/freebsd/1583640d-be20-11dd-a578-0030843d3802.html
		http://www.samba.org/samba/security/CVE-2008-4314.html
2008-11-29 18:23:52 +00:00
Timur I. Bakeyev
35c62df75b Update port to the 3.0.32 release. Visible changes are:
o Prevent crash bug in Winbind caused by a race condition
   when a child process becomes unresponsive.
 o Fix interactive password prompting in the "net" command.
 o Documentation clarifications and typographical fixes.
2008-09-04 23:09:51 +00:00
Timur I. Bakeyev
0f1f6a955c Update net/samba3 to the 3.0.31 version.
o Correct issues with running Winbind runing on a Samba PDC.
o Problems with trusted Windows 2008 domains.
o Difficulty joining an NT4 or Windows 2000 AD domain.

Fix NFS quota handling
2008-07-28 00:59:48 +00:00
Timur I. Bakeyev
e00b4f4c4a Update net/samba3 to the 3.0.30. Problems, addressed in this version:
o Problems following domain trusts on a Samba DC.
  o SMB Signing errors.
  o Interoperability issues with Windows 2008 domains.

Approved by:	shaun (mentor, implicit)
2008-07-02 00:28:44 +00:00
Timur I. Bakeyev
68ddaf05b5 Update port to the 3.0.28a revision.
Major changes:

  o Failure to join Windows 2008 domains
  o Windows Vista (including SP1 RC) interop issues

Approved by:	shaun (mentor, implicit)
2008-05-01 16:32:54 +00:00
Timur I. Bakeyev
16c048e9f1 Samba 3.0.28 is a security release to address CVE-2007-6015.
Approved by:		portmgr (marcus)
2007-12-15 00:00:02 +00:00
Martin Wilke
20417ce3a5 - Fix 2 Security bugs
o CVS-2007-4572
     Stack buffer overflow in nmbd's logon request processing.

 o CVE-2007-5398
     Remote code execution in Samba's WINS server daemon (nmbd)
     when processing name registration followed name query requests.
- Bump PORTREVISION

Approved by:	portmgr (erwin), maintainer
Security:	http://www.vuxml.org/freebsd/a63b15f9-97ff-11dc-9e48-0016179b2dd5.html
2007-11-21 13:01:17 +00:00
Timur I. Bakeyev
2a1c6bc502 This is a cummulative update of net/samba3 from version 3.0.25a to
3.0.26a. Detailed list of all the changes can be found:

  http://www.samba.org/samba/history/samba-3.0.26a.html

Changes are:
o Memory leaks in Winbind's IDMap manager.
o CVE-2007-4138 - Incorrect primary group assignment for domain
  users using the rfc2307 or sfu winbind nss info plugin.
o File sharing with Widows 9x clients.
o Winbind running out of file descriptors due to stalled child
  processes.
o MS-DFS inter-operability issues.
o Offline caching of files with Windows XP/Vista clients.
o Improper cleanup of expired or invalid byte range locks on files.
o Crashes is idmap_ldap and idmap_rid.

Approved by:	shaun (mentor)
2007-09-18 22:27:58 +00:00
Tim Bishop
c89e412277 - Update to 3.0.25a.
Major bug fixes included in Samba 3.0.25a are:

  o Missing supplementary Unix group membership when using "force
    group".
  o Premature expiration of domain user passwords when using a
    Samba domain controller.
  o Failure to open the Windows object picker against a server
    configured to use "security = domain".
  * Authentication failures when using security = server.

Plus additional local fixes.

PR:		ports/113358
Submitted by:	maintainer
2007-06-05 10:55:06 +00:00
Kirill Ponomarev
cbf318b29d An update of net/samba3 to the 3.0.25 version plus security fixes.
Major features included in the 3.0.25 code base are:

  o Significant improvements in the winbind off-line logon support.
  o Support for secure DDNS updates as part of the 'net ads join'
    process.
  o Rewritten IdMap interface which allows for TTL based caching and
    per domain backends.
  o New plug-in interface for the "winbind nss info" parameter.
  o New file change notify subsystem which is able to make use of
    inotify on Linux.
  o Support for passing Windows security descriptors to a VFS
    plug-in allowing for multiple Unix ACL implements to running
    side by side on the Same server.
  o Improved compatibility with Windows Vista clients including
    improved read performance with Linux servers.
  o Man pages for IdMap and VFS plug-ins.

Security Fixes included in the Samba 3.0.25 release are:

  o CVE-2007-2444
        Versions: Samba 3.0.23d - 3.0.25pre2
        Local SID/Name translation bug can result in
        user privilege elevation

  o CVE-2007-2446
        Versions: Samba 3.0.0 - 3.0.24
        Multiple heap overflows allow remote code execution

  o CVE-2007-2447
        Versions: Samba 3.0.0 - 3.0.24
        Unescaped user input parameters are passed as
        arguments to /bin/sh allowing for remote command
        execution

PR:		ports/112836
Submitted by:	maintainer
Approved by:	portmgr (self)
2007-05-24 07:54:25 +00:00
Sergey Matveychuk
04627d16d3 - Update to 3.0.24
This release contains fixes for the following security advisories:
   o CVE-2007-0452 (Potential Denial of Service bug in smbd)
   o CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind
     NSS library on Solaris)
   o CVE-2007-0454 (Format string bug in afsacl.so VFS plugin)

- Improve RC-file.

PR:		ports/108803
Submitted by:	maintainer
2007-02-07 08:40:44 +00:00
Marcus Alves Grando
38e287f770 - Update to 3.0.23d
- Reset PORTREVISION in net/samba-nmblookup
- Add samba3 entry in UPDATING

PR:		105857
Submitted by:	maintainer
2006-12-07 13:55:52 +00:00
Renato Botelho
a8c167b565 *** net/samba3:
- Update to 3.0.23c

Common bugs fixed in 3.0.23c include: [1]

  o Authentication failures in pam_winbind when the AD domain
    policy is set to not expire passwords.
  o Authorization failures when using smb.conf options such
    as "valid users" with the smbpasswd passdb backend.

*** net/samba-libsmbclient: [2]
- Small cosmetic changes

*** net/py-samba: [3]
- Reset PORTREVISION back, as master port version bumped

PR:		ports/102805 [1]
		ports/102806 [2]
		ports/102807 [3]
Submitted by:	Timur I. Bakeyev <timur@gnu.org> (maintainer)
2006-09-04 19:00:17 +00:00
Sergey Matveychuk
fd5fae1374 - Update to 3.0.23b
Common bugs fixed in 3.0.23b include:

  o Ambiguity with unqualified names in smb.conf parameters
    such as "force user" and "valid users".
  o Errors in 'net ads join' caused by bad IP address in the list
    of domain controllers.
  o SMB signing errors in the client and server code.
  o Domain join failures when using smbpasswd on a Samba PDC.

Common bugs fixed in 3.0.23a include:

  o Failure to strip the domain name from groups when 'winbind
    use default domain = yes'
  o Failure in pam_winbind to correctly parse arguments.
  o Bad token creation of local users on member servers not
    running winbindd.
  o Failure to add users or groups to ACLs using the Windows
    object picker.
  o Failure in file serving code when 'kernel oplocks = yes'.

New features in 3.0.23a include:

  o New "createupn" option to "net ads join"
  o Rewritten Kerberos keytab generation when 'use kerberos
    keytab = yes'

PR:		ports/102040
Submitted by:	maintainer
2006-08-15 15:25:02 +00:00
Jun Kuriyama
16b56ac16c - Upgrade to 3.0.23 (including security fix).
o Improved 'make test'
   o New offline mode in winbindd.
   o New Kerberos support for pam_winbind.so.
   o New handling of unmapped users and groups.
   o New non-root share management tools.
   o Improved support for local and BUILTIN groups.
   o Winbind IDMAP integration with RFC2307 schema objects supported
     by Windows 2003 R2.
   o Rewritten 'net ads join' to mimic Windows XP without requiring
     administrative rights to join a domain.

PR:		ports/100100
Submitted by:	maintainer
2006-07-12 00:16:32 +00:00
Marcus Alves Grando
977260e5fb - Update to 3.0.22
PR:		95325
Submitted by:	maintainer
Security:	http://us5.samba.org/samba/security/CAN-2006-1059.html, CVE-2006-1059
2006-04-05 03:14:27 +00:00
Tom McLaughlin
538c89e6eb Update to 3.0.21b
- Server crashes in smbd.
- Compile issues on 64-bit platforms.
- Crash bugs on big-endian systems.
- Over 30 bugzilla reports closed.

PR:		93552
Submitted by:	maintainer
2006-02-19 20:11:09 +00:00
Sergey Matveychuk
982ae47319 - Update to 3.0.21a
Common bugs fixed in 3.0.21 include:

  o Missing groups in a user's token when logging in via kerberos
  o Incompatibilities with newer MS Windows hotfixes and
    embedded OS platforms
  o Portability and crash bugs.
  o Performance issues in winbindd.

New features introduced in Samba 3.0.21 include:

  o Complete NTLMv2 support by consolidating authentication
    mechanism used at the CIFS and RPC layers.
  o The capability to manage Unix services using the Win32
    Service Control API.
  o The capability to view external Unix log files via the
    Microsoft Event Viewer.
  o New libmsrpc share library for application developers.
  o Rewrite of CIFS oplock implementation.
  o Performance Counter external daemon.
  o Winbindd auto-detection query methods when communicating with
    a domain controller.
  o The ability to enumerate long share names in libsmbclient
    applications.

PR:		ports/91528
Submitted by:	Timur I. Bakeyev (maintainer)
2006-01-09 16:45:33 +00:00
Sergey Matveychuk
0271c8726b - Update to 3.0.20b
Changes:
 o A crash bug in winbindd
 o Reporting files as read-only instead of returning the
    correct error code of "access denied"
 o File system quota support defects
 o Stability problems with winbindd.
 o Crash bugs caused by incompatibilities on 64-bit systems.
 o User Manager interoperability problems.

PR:		ports/87517
Submitted by:	maintainer
2005-10-16 17:28:00 +00:00
Vsevolod Stakhov
ff9369472b Update to 3.0.20.
Additional features introduced in Samba 3.0.20 include:

  o Support for several new Win32 rpc pipes.
  o Improved support for OS/2 clients.
  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 Completed 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 Support for Microsoft Print Migrator.
  o New Windows NT registry file I/O library.
  o New user right (SeTakeOwnershipPrivilege) added.
  o New "net share migrate" options.

PR:		85276
Submitted by:	Timur I. Bakeyev (maintainer)
Approved by:	perky (mentor)
2005-09-11 19:42:34 +00:00
Pav Lucistnik
bc110054fd - Update to 3.0.14a
PR:		ports/80029
Submitted by:	Timur I. Bakeyev <timur@gnu.org> (maintainer)
2005-04-17 16:10:50 +00:00
Alexey Dokuchaev
8f5d0f33d7 Update to version 3.0.12.
Currently, ADS support is off for the package builds, as it creates
dependency problems with Kerberos5.  Also, an experimental support
for extended attributes is included.

PR:		ports/79037
Submitted by:	maintainer
2005-03-20 09:29:05 +00:00
Jun Kuriyama
22f2d61c80 Update to 3.0.11.
PR:		ports/77187
Submitted by:	maintainer
2005-02-07 05:15:17 +00:00
Sergey Matveychuk
92d47ccb5d - Update to 3.0.10
PR:		ports/75168
Submitted by:	Joerg Pulz <Joerg.Pulz(at)frm2.tum.de>
Reworked by:	maintainer
2004-12-21 12:24:03 +00:00
Kirill Ponomarev
6fc70a0faf Update to 3.0.9
o Problem updating roaming user profiles.
o Crash in smbd when printing from a Windows 9x client.
o Unresolved symbols in libsmbclient which caused
  applications such as KDE's konqueror to fail when
  accessing smb:// URLs.

PR:		ports/74223
Submitted by:	maintainer
2004-11-23 17:34:51 +00:00
Pav Lucistnik
025d09c0c3 - Update to 3.0.8
o Fix for CAN-2004-0930 -- smbd remote DoS vulnerability.

PR:		ports/73701
Submitted by:	Timur Bakeyev <timur@gnu.org> (maintainer)
2004-11-09 21:34:44 +00:00
Jun Kuriyama
1979e5a947 - Resurrect I18N option again with renaming as WITH_MULTIBYTE.
Approved by:	maintainer
2004-10-12 22:47:42 +00:00
Tom Rhodes
5c6d60bdaf Update to fix recently announced security vulnerability (DoS issues).
PR:		71704
Submitted by:	Timur Bakeyev <timur@gnu.org>
Approved by:	portmgr (marcus)
2004-09-13 20:39:35 +00:00
Michael Nottebrock
68322422c6 Update to 3.0.6.
Submitted by: maintainer
2004-09-01 16:23:29 +00:00
Tom Rhodes
e7daceab9f Update to 3.0.5.
Submitted by:	MAINTAINER
2004-07-22 14:38:05 +00:00
Jun Kuriyama
69bc4a83a9 Add I18N knob.
This patch originally developed by miraclelinux.com team for v3.0.2a.
I integrated it to apply to v3.0.4.  All complains about this knob
should be sent to me, not maintainer nor miraclelinux.com team.

No response from:	maintainer
2004-06-03 07:57:07 +00:00
Michael Nottebrock
3f5d48af9e Update to version 3.0.4.
PR: ports/66503
Submitted by: Timur I. Bakeyev <timur@gnu.org>
2004-05-11 20:30:02 +00:00
Pav Lucistnik
862b7eb349 - Update to 3.0.3.r1
- Rewrite libsmbclient port to not conflict with samba port, stop installing
  libsmbclient in samba port
- Split out python extensions into standalone port

PR:		ports/65976
Submitted by:	Timur I. Bakeyev <timur@gnu.org> (samba-devel maintainer)
Approved by:	Koop Mast (samba-libsmbclient maintainer)
2004-05-09 20:34:40 +00:00
Sergey A. Osokin
115c991449 Update to 3.0.3.p2 (aka pre2), which containes
a lot of imporvements and bugfixes since 3.0.2a.

In addition following problems solved:
 o linking agaist libiconv is mandatary now
 o more ways of detecting Kerberos5 installation and
   LIB_DEPENDS on Heimdal port if none is found -
   should address problems with bentoo building as well
 o fixed problem when port wasn't compilable when LDAP
   wasn't chosen and ADS was.

Submitted by:	Timur Bakeyev <timur@gnu.org> (maintainer)
PR:		65237
2004-04-06 11:56:20 +00:00
Oliver Braun
5c7a389470 Upgrade to 3.0.2a.
Submitted by:	maintainer
2004-03-02 14:42:30 +00:00
Joe Marcus Clarke
b45959ed9f * Update samba-devel to the last stable version, 3.0.1
* Add a patch so libsmbclient.[ch] doesn't get installed, thus the CONFICTS
  with samba-libsmbclient can be removed

PR:		61445
Submitted by:	Koop Mast <kwm@rainbow-runner.nl>
Approved by:	dwcjr (maintainer)
2004-02-02 18:18:44 +00:00
Oliver Braun
f7417b9491 Upgrade to 3.0.0.
Submitted by:	maintainer
2003-10-10 21:24:14 +00:00
Oliver Braun
8d593a66b4 Upgrade to 3.0.0 Beta 3.
Submitted by:	maintainer
2003-08-06 19:28:54 +00:00
Oliver Braun
f7101bf8b9 Upgrade to 3.0.0 Beta 2.
Submitted by:	maintainer
2003-07-14 19:20:55 +00:00
Oliver Braun
98c46f09ff Upgrade to 3.0.0 Beta 1.
Submitted by:	maintainer
2003-06-27 07:21:40 +00:00
David W. Chapman Jr.
b1c4f7eeed Update to alpha20 2002-10-11 14:27:00 +00:00
David W. Chapman Jr.
f7388c6313 Update to alpha19 2002-08-21 14:56:55 +00:00
David W. Chapman Jr.
552d116623 Update to Alpha18 2002-08-09 14:43:34 +00:00
David W. Chapman Jr.
e9b78c2bdc Update to a17
Fix openpam build problems

Submitted by:	alfred
2002-03-31 06:38:13 +00:00
David W. Chapman Jr.
a5c3fceedd Update to alpha15 2002-02-12 21:48:56 +00:00
David W. Chapman Jr.
ab6623d772 Update to 3.0 alpha 14 2002-01-31 23:40:13 +00:00