Commit graph

294 commits

Author SHA1 Message Date
asau
627ee491ce mount.cifs and umount.cifs were removed along with configure option.
This fixes packaging and installation on Linux.
2011-12-19 14:47:27 +00:00
asau
138d71ff62 Update to Samba 3.6.1
Major enhancements in Samba 3.6.1 include:

o  Fix smbd crashes triggered by Windows XP clients (bug #8384).
o  Fix a Winbind race leading to 100% CPU load (bug #8409).
o  Several SMB2 fixes.
o  The VFS ACL modules are no longer experimental but production-ready.

Full release notes at http://www.samba.org/samba/history/samba-3.6.1.html


Major enhancements in Samba 3.6.0 include:

 - Changed security defaults:

      client ntlmv2 auth = yes
      client use spnego principal = no
      send spnego principal = no

 - SMB2 support (fully functional with one omission)
 - Internal Winbind passdb changes
 - New Spoolss code
 - ID Mapping Changes
 - Endpoint Mapper
 - Internal restructuring
 - SMB Traffic Analyzer (http://holger123.wordpress.com/smb-traffic-analyzer/)
 - NFS quota backend on Linux

Full release notes at http://www.samba.org/samba/history/samba-3.6.0.html
2011-12-16 22:32:06 +00:00
asau
98745a3c70 Remove accidentaly resurrected patches. 2011-12-16 11:10:13 +00:00
asau
22f7c5eacb Update to Samba 3.5.11 from net/samba35, part of Samba packages rearrangement. 2011-12-16 11:05:24 +00:00
taca
b479b8f76c Add workaround for NetBSD 5.99.54 as samba35. 2011-08-02 14:05:27 +00:00
taca
cbc99c4669 Try to fix build problem with recent kerberos5 header?
The problem was noted by Paul Goyette on pkgsrc-users@.
2011-07-27 04:05:10 +00:00
tron
2d1ca11512 Fix build with the latest version of Heimdal under NetBSD/current. 2011-04-23 12:49:38 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
adam
6aacab3c3f smbd does not require nmbd to run 2011-01-27 07:55:39 +00:00
wiz
4a85d9393e png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:53:23 +00:00
adam
f1de6812dd Seems like Darwin also supports ACLs 2010-12-06 16:40:50 +00:00
jmcneill
ec32e41f13 add ads, ldap, pam, and winbind to default pkg options
bump pkg revision
2010-12-03 23:43:14 +00:00
taca
0a3eaa3e25 Add a patch to fix CVE-2010-2063.
Bump PKGREVISION.
2010-06-19 14:08:56 +00:00
sborrill
53e5383f77 Bump PKGREVISION due to removing -B flag from winbindd rc.d script 2010-04-15 09:38:09 +00:00
sborrill
93a8ecc205 winbindd does not have a -B flag. As far as I can see, it never did have
(It was added to this rc.d script as part of the upgrade to 3.0.20b, but
winbindd in 3.0.20b does not have a -B flag).
2010-04-15 09:36:50 +00:00
sborrill
95e985ba90 Add openssl bl3.mk file so that we play nicely with PREFER_PKGSRC+=openssl 2010-04-14 14:51:00 +00:00
jmmv
929a8fdf0b Disable PIE on NetBSD/macppc to fix use of unsupported relocation type in.
Samba 3.0 and 3.3.  They were completely broken before this.

Bump PKGREVISION for both samba and samba33.

Fix from PR pkg/38961 by Makoto Fujiwara <makoto at ki dot nu>.
2010-03-08 22:19:07 +00:00
drochner
8bb635e398 let the "wide links" option default to "false", as a preliminary
response to the recent symlink attack problem
approved by Takahiro Kambe
bump PKGREVISION
2010-02-09 16:08:35 +00:00
wiz
ea61323a35 Remove master site that does not resolve. 2009-10-11 09:18:04 +00:00
taca
4e41ddcf9f Update samba package to 3.0.37.
This is a security release in order to address CVE-2009-2813, CVE-2009-2948
and CVE-2009-2906.
Please note that Samba 3.0 is not maintained any longer. This security
release is shipped on a voluntary basis.

   o CVE-2009-2813:
     In all versions of Samba later than 3.0.11, connecting to the home
     share of a user will use the root of the filesystem
     as the home directory if this user is misconfigured to have
     an empty home directory in /etc/passwd.

   o CVE-2009-2948:
     If mount.cifs is installed as a setuid program, a user can pass it a
     credential or password path to which he or she does not have access and
     then use the --verbose option to view the first line of that file.

   o CVE-2009-2906:
     Specially crafted SMB requests on authenticated SMB connections can
     send smbd into a 100% CPU loop, causing a DoS on the Samba server.
2009-10-04 16:58:38 +00:00
wiz
fbbe712230 Switch to using popt from pkgsrc instead of internal version.
Requested in PR 34444 and by David A. Holland.

Bump PKGREVISION.
2009-09-09 15:15:17 +00:00
sketch
a72759aa88 Conditionalise on NSS_INFO_MODULES further, fixes Solaris build. Change
double-negative test to a positive one.
2009-09-09 11:22:22 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
wiz
eb0ee2a794 Update to 3.0.36:
Please note, that the 3.0 series will be DISCONTINUED after this release!
There will be neither any bugfix release nor any security release. Updating
to the latest release series is strongly recommended. For more information
on current Samba releases, please see

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-16 16:37:19 +00:00
tron
492760e95d Update "samba" package to version 3.0.35. Changes since version 3.0.34:
- CVE-2009-1888:
  In Samba 3.0.31 to 3.3.5 (inclusive), an uninitialized read of a
  data value can potentially affect access control when "dos filemode"
  is set to "yes".

This security fix has already been integrated into "pkggsrc" via a patch
previously. The package was only updated to make future maintenance easier.
2009-07-08 19:37:27 +00:00
drochner
000c7dc841 add a patch from upstream:
CVE-2009-1888:
In Samba 3.0.31 to 3.3.5 (inclusive), an uninitialized read of a
data value can potentially affect access control when "dos filemode"
is set to "yes".
bump PKGREVISION
2009-06-23 20:36:27 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
wiz
272d51cc21 Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
2009-05-20 00:58:05 +00:00
tron
501c2d4675 Update "samba" package to version 3.0.34. Changes since version 3.0.32:
- Fix update of machine account passwords.
- Fix SMB signing issue on Windows Vista with MS Hotfix KB955302.
- Fix Winbind crashes.
- Correctly detect if the current dc is the closest one.
- Add saf_join_store() function to memorize the dc used at join time.
  This avoids problems caused by replication delays shortly after
  domain joins.
- Fix write list in setups using "security = share".
2009-03-21 18:25:34 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
sborrill
3e0764bd36 Rework detection of getifaddrs() code so that it precedes the AIX method as
AIX method was being chosen in preference (on NetBSD 5.0 at least). This
broke net and rpcclient, etc. as they failed to enumerate interfaces
correctly.
2009-03-03 17:50:49 +00:00
uebayasi
a0b558f3d9 Samba embeds lots of debug info into shipped binaries; one is an explicit
source directory source/smbd/build_options.c and __FILE__ lines in DEBUG().
Give up wrkref checks here.
2009-02-03 09:46:41 +00:00
taca
c20d5a40cc Add samba-3.0.32-CVE-2008-4314.patch.
http://www.samba.org/samba/security/CVE-2008-4314.html

Bump PKGREVISION.
2008-11-28 03:17:58 +00:00
joerg
1f19ad172b Don't leak build user in install scripts. Bump revision. 2008-10-09 17:48:01 +00:00
tron
621d9b238a Update "samba" package to version 3.0.32. Changes since 3.0.30:
- Prevent crash bug in Winbind caused by a race condition
  when a child process becomes unresponsive.
- Fix interactive password prompting in the "net" command.
- Documentation clarifications and typographical fixes.
- Correct issues with running Winbind running on a Samba PDC.
- Problems with trusted Windows 2008 domains.
- Difficulty joining an NT4 or Windows 2000 AD domain.
2008-08-30 12:18:38 +00:00
tron
4c1cd6e5b3 Update "samba" package to version 3.0.30. Changes since 3.0.28a:
- Fix for CVE-2008-1105.
- Remove man pages for ldb tools not included in Samba 3.0.
- Fix build for pam_smbpass.
- Fix a crash in tdb_wrap_log().
- BUG 5267: Fix for nmbd termination problems when no interfaces
  found.
- BUG 5326: OS/2 servers give strange "high word" replies for
  print jobs.
- Remove MS-DFS check that required the target host be ourself.
- BUG 5372: Fix high CPU usage of cupsd on large print servers
  by using more efficient CUPS queries in smbd.
- Rewrite integer wrap checks to deal with gcc 4.x optimizations.
- BUG 5095: Fix the enforcement of the "Manage Documents" access right.
- Don't free memory from getpass() in mount.cifs.
- BUG 5460: Fix MS-DFS referral problem in server code.
- Fix bug in Winbind that caused the parent to ignore dead children.
- Fix compile warnings.
- Fix build for pam_smbpass.
- Document build fixes.
- BUG 4235: Improve compliance to the Squid helper protocol.
- BUG 5107: Fix handling of large DNS replies on AIX and Solaris.
- Prevent cycle in Wibind's list of children when reaping dead processes.
- BUG 5419: Fix memory leak in ads_do_search_all_args() (merge from v3-2).
- Fix winbind NETLOGON credential chain on a samba dc for w2k8 trusts.
- Fix client connections and negotiation with Windows 2008 DCs
  in member server code.
- Add NT_STATUS_DOWNGRADE_DETECTED error code (merge from v3-2).
- BUG 5430: Fix pam_winbind.so on Solaris (requires -lsocket).
- Re-add samr getdispinfoindex parsing which got lost in the glue commit.
- BUG 5461: Implement a very basic _samr_GetDisplayEnumerationIndex().
  Corrects interop problem between Citrix PM and a Samba DC.
- BUG 3840: Fix smbclient connecting to NetApp filers when using
  whitespace in the user's password.
- BUG 4901: Fix behavior of "ldap passwd sync = only".
- BUG 5317: Fix debug output from domain_client_validate().
- BUG 5338: Fix format string bug in rpcclient.
- Ensure that "wbinfo -a trusted\\user%password" works correctly
  on a Samba DC with trusts.
- BUG 5336: Fix SetUsetrInfo(level 25) to update the pwdLastSet
  attribute.
- BUG 5350: Fallback to anonymous sessions if not trust password
  could be obtained on Samba DCs and member servers.
- BUG 5366: Fix password chat on Sun OpenSolaris (Nevada).
- Fix signing problem in the client with trans requests.
- Fix alignment bug hitting Solaris with "reset in zero vc" activated.
- Fix build with glibc 2.8.
- Enable winbind child processes to do something with signals, in
  particular closing and reopening logs on SIGHUP.
- Documentation cleanup after r emerging docs from svn to git and
  back-porting from the v3-2 branch.
- Add implementation of machine-authenticated connection to netlogon
  pipe used when connecting to win2k and newer domain controllers.
- Fix trusted users on a DC that uses the old idmap syntax.
- Only have Winbind cache domain password policies that were
  successfully retrieved.
- Fix alignment bug when marshalling printer data replies.
- Fix DeleteDriverDriverEx() checks to prevent removing in use files.
2008-06-28 22:51:21 +00:00
drochner
c046943cb3 add patches from redhat bugzilla (#446724) to fix CVE-2008-1105
(heap buffer overflow in client code)
bump PKGREVISION
2008-05-28 15:39:55 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
jlam
f990df9430 Update samba to version 3.0.28a.
CHANGES FOR PKGSRC:
==================

Makefile:
  + Modify section that manually handles the ELF symlinks for samba
    shared libraries -- add additional libraries that are built (addns,
    smbsharemodes) and reorganize so we don't need two loops where one
    will do.

  + Pass --with-included-popt to the configure script to force using
    the popt distribution included with samba to avoid any library
    mismatch errors between samba and any installed popt.  This fixes
    PR pkg/34444 by Jason Lingohr.

  + Don't build the smbmount programs on Linux -- they're deprecated in
    favor of the mount.cifs programs.

  + Remove some pkgviews-related settings -- I'm not supporting pkgviews
    installation of samba.

Makefile.patches:
  + Empty out PATCHFILES because we are updating to the latest release
    of samba, which has all previous patches for security advisories
    already rolled into the main sources.

Makefile.mirrors:
  + Update SAMBA_MIRRORS in Makefile.mirrors to the latest list of FTP
    mirrors.

options.mk:
  + Only show the ``acl'' option on platforms that actually support
    POSIX ACLs.

  + Add a new ``fam'' option to enable building the notify_fam VFS
    module.

patch-ab, patch-ax:
  + Remove patch-ab and update patch-ax -- there's nothing for the
    scripts to back up so we don't need to patch the install* scripts
    to avoid this.

patch-ae, patch-ah:
  + Update patch-ae and remove patch-ah -- we should definitely check
    that PAM_AUTHTOK_RECOVERY_ERR is defined before using its value to
    define PAM_AUTHTOK_RECOVER_ERR.

patch-at, patch-au:
  + Fix patch-at and patch-au -- in configure.in, we need to "escape"
    left and right brackets or else m4 will strip them away in the
    resulting configure script.  This should fix the detection of FreeBSD
    and NetBSD systems capable of using nss_winbind noted in PR pkg/38076
    by Ingo Meyer.

patch-ay:
  + Remove some unnecessary changes -- we can safely just do "mkdir" in
    some places because we know the parent and any intermediate directories
    exist.

patch-be:
  + Fix a bug in locating WINS_LIST -- nmbd/nmbd_winsserver.c was
    referring to WINS_LIST under the state directory in one place and
    under the lock directory in another; change all references to be
    under the state directory.

patch-db:
  + Add patch to fix the build of samba on older BSDs.  Patch supplied
    in PR pkg/37487 by John Frear.

All remaining changes to patches/patch-* are simply to remove fuzz.

MAJOR CHANGES FROM VERSION 3.0.26a:

* Fix failure to join Windows 2008 domains.

* Fix Windows Vista (including SP1 RC) inter-op issues.

* Add a new ``administrative share'' service parameter for defining
  hidden shares that cannot be managed from Windows.

* Fix for CVS-2007-6015 (already fixed in 3.0.26anb4 in pkgsrc).

* Fix for CVS-2007-5398 (already fixed in 3.0.26anb4 in pkgsrc).

* Fix for CVS-2007-4572 (already fixed in 3.0.26anb4 in pkgsrc).  Also
  subsequent fix for regression experienced by smbfs clients caused by
  the fix for CVS-2007-4572, noted in PR pkg/38300 by Dave Barnes.

* Many other bugs fixed and memory leaks plugged.
2008-04-03 20:19:42 +00:00
taca
c0462a27d8 Try to fix build problem on current with pam option. 2008-02-19 10:28:12 +00:00
drochner
c8fa83b3b6 fix the problems with SIOCGIFCONF and its wrong use here by adding
a getifaddrs-based implementation,
fix another botch in the patch for "configure",
bump PKGREVISION
2007-12-21 17:32:24 +00:00
adrianp
a3e47bbfa6 Add a patch for http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6015
PKGREVISION++
2007-12-10 21:44:47 +00:00
tron
bcc9c9dcd1 Apply security fixes for CVE-2007-4572 and CVE-2007-5398 released by the
Samba project. Bump package revision.
2007-11-16 11:41:38 +00:00
rillig
ef2f11f2fd Fixed an expansion of @mandir@ that accidentally got into patch-ba in
revision 1.5.

PKGREVISION++
2007-11-06 00:47:48 +00:00
taca
22c60d0987 Update samba to 3.0.26a.
pkgsrc change: Add support for DESTDIR.

Changes from 3.0.24 are huge, please refer WHATSNEW.txt.

<http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/branches/SAMBA_3_0_26/WHATSNEW.txt?rev=22651&view=markup>
2007-10-28 07:28:45 +00:00
hira
8951aa3012 Back out previous. Pointed out by uebayasi@ and martti@. 2007-09-25 10:03:52 +00:00
hira
ebf8ba4a7d ln -> ${LN}. 2007-09-25 08:31:52 +00:00
jdolecek
c8ddb3234a fix path to .cz mirror 2007-06-08 20:52:18 +00:00
tron
2e00a1547a Fix package list issue affecting Linux, "sbin/mount.cifs" and
"sbin/umount.cifs" were missing. Bump package revision.

This should fix PR pkg/36372 by Ondrej Tuma.
2007-05-22 12:41:04 +00:00
tron
463aa5aee5 Add security patches for CVE-2007-2444, CVE-2007-2446 and CVE-2007-2447
from Samba website. Bump package revision because of these security fixes.
2007-05-19 17:55:12 +00:00