summaryrefslogtreecommitdiff
path: root/net/samba
AgeCommit message (Collapse)AuthorFilesLines
2004-09-14Update net/samba to 3.0.7. Changes from version 3.0.5 include:jlam6-232/+229
o Fixes for two Denial of Service vulnerabalities (CVE ID# CAN-2004-0807 & CAN-2004-0808). o Winbind failure to return user entries under certain conditions. o Syntax errors in the OpenLDAP schema file (samba.schema). o Printing errors caused by not setting default values for the various printing commands. * Disable 'winbind enable local accounts' by default. o Schannel failure in winbindd. o Incompatibilities between the 'write list' and 'force user' smb.conf options. o Premature optimization of the open_directory() internal function that broke tools such as the ArcServe backup agent, Macromedia HomeSite, and Robocopy. o Sharing violation errors commonly seen when opening when serving Microsoft Office documents from a Samba file share. o Browsing problems caused by an apostrophe (') in the computer's description field. o Problems creating special file types from UNIX CIFS clients and enabling 'unix extensions'. o Fix stalls in smbd caused by inaccessible LDAP servers. o Remove various memory leaks. o Fix issues in the password lockout feature. o Using a cups server other than localhost. o Maintaining the service principal entry in the system keytab for integration with other kerberized services. Please refer to the 'use kerberos keytab' entry in smb.conf(5). When using the heimdal kerberos libraries, you must also specify the following in /etc/krb5.conf: [libdefaults] default_keytab_name = FILE:/etc/krb5.keytab o Support for maintaining individual printer names stored separately from the printer's sharename. o Support for maintaining user password history. o Support for honoring the logon times for user in a Samba domain. * Reintroduce 'force unknown acl user' parameter. When getting a security descriptor for a file, if the owner sid is not known, the owner uid is set to the current uid. Same for group sid.
2004-09-12Different platforms expect different names for the NSS winbind andjlam3-7/+42
WINS modules. Fix from PR pkg/26640 by John Benninghoff with modifications by me.
2004-09-08Update MASTER_SITES.xtraeme1-6/+6
2004-08-22Change the way that legacy USE_* and FOO_USE_* options are convertedjlam1-25/+16
into the bsd.options.mk framework. Instead of appending to ${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes the default options to be the union of PKG_DEFAULT_OPTIONS and any old USE_* and FOO_USE_* settings. This fixes PR pkg/26590.
2004-08-08This package should be conflict with ja-samba, too.taca1-2/+2
2004-08-05Rename Makefile.options to options.mk in the packages that I maintain.jlam2-3/+3
This follows the example of the mail/dovecot package, as suggested by <schmonz>.
2004-07-30Convert to use bsd.options.mk. The relevant options variable to setjlam4-62/+108
for each package can be determined by invoking: make show-var VARNAME=PKG_OPTIONS_VAR The old options are still supported unless the variable named in PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
2004-07-23Update "samba" package to version 3.0.5. This version fixes the securitytron2-6/+6
problems described in CAN-2004-0600 and CAN-2004-0686.
2004-05-13Update net/samba to 3.0.4.xtraeme4-67/+225
Common bugs fixed in Samba 3.0.3 include: o Crash bugs and change notify issues in Samba's printing code. o Honoring secondary group membership on domain member servers. o TDB scalability issue surrounding the TDB_CLEAR_IF_FIRST flag. o Substitution errors for %[UuGg] in smb.conf. o winbindd crashes when using ADS security mode. o SMB signing errors. o Delays in winbindd startup caused by unnecessary connections to trusted domain controllers. o Various small memory leaks. o Winbindd failing due to expired Kerberos tickets. New features introduced in Samba 3.0.3 include: o Improved support for i18n character sets. o Support for account lockout policy based on bad password attempts. o Improved support for long password changes (>14 characters) and strong password enforcement. o Support for Windows aliases (i.e. nested groups). o Experimental support for storing DOS attribute on files and folders in Extended Attributes. o Support for local nested groups via winbindd. o Specifying options to be passed directly to the CUPS libraries. And more... please review "WHATSNEW.txt".
2004-04-23mk/bsd.pkg.install.mk now automatically registersreed1-5/+1
the RCD_SCRIPTS rc.d script(s) to the PLIST. This GENERATE_PLIST idea is part of Greg A. Woods' PR #22954. This helps when the RC_SCRIPTS are installed to a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later, the default RCD_SCRIPTS_EXAMPLEDIR will be changed to be more clear that they are the examples.) These patches also remove the etc/rc.d/ scripts from PLISTs (of packages that use RCD_SCRIPTS). (This also removes now unused references from openssh* makefiles. Note that qmail package has not been changed yet.) I have been doing automatic PLIST registration for RC_SCRIPTS for over a year. Not all of these packages have been tested, but many have been tested and used. Somethings maybe to do: - a few packages still manually install the rc.d scripts to hard-coded etc/rc.d. These need to be fixed. - maybe remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-21Drop localized *_USE_LDAP definitions and consistently use USE_OPENLDAPcube1-3/+4
instead. As announced on tech-pkg. Most notably affected are Postfix, sendmail, Samba and cyrus-saslauthd. Be sure to update your mk.conf accordingly.
2004-04-15Initial addition.jmmv1-0/+21
2004-04-15Install a libsmbclient.so.0 link for the library, to let programs that usejmmv2-2/+5
it find it properly. Bump PKGREVISION to 1.
2004-03-28Fix PLIST problems with missing directories at deinstallation time.jlam2-6/+6
2004-02-18Add some new files installed by samba-3.0.2a.jlam1-1/+3
2004-02-17Use USE_GNU_READLINE in much the same way that USE_NCURSES is used.jlam1-2/+2
2004-02-17Fix build problem on NetBSD-current caused by incorrect buildlink3tron1-2/+2
conversion of this package.
2004-02-17Update net/samba to 3.0.2a. Fixes from version 3.0.1 include:jlam6-50/+26
o Joining a Samba domain from Pre-SP2 Windows 2000 clients. o Logging onto a Samba domain from Windows XP clients. o Problems with the %U and %u smb.conf variables in relation to Windows 9x/ME clients. o Kerberos failures due to an invalid in memory keytab detection test. o Updates to the ntlm_auth tool. o Fixes for various SMB signing errors. o Better separation of WINS and DNS queries for domain controllers. o Issues with nss_winbind FreeBSD and Solaris. o Several crash bugs in smbd and winbindd. o Output formatting fixes for smbclient for better compatibility with scripts based on the 2.2 version.
2004-02-17Bump PKGREVISION to samba (smbmount support was added for Linux).xtraeme1-2/+2
2004-02-17Enable smbmount support under Linux.xtraeme2-2/+12
2004-02-06If we're passing through MAKEFLAGS variables whose values may containjlam1-3/+3
spaces, use the :Q modifier instead of double-quoting the value. This avoids breakage when executing the just-in-time su targets.
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2004-01-17The samba configure script looks for cups-config, and declares success onjlam1-1/+3
finding cups if it's somewhere in your PATH. Explicitly pass configure --disable-cups if USE_CUPS is not defined to avoid finding CUPS. Fixes PR 24117 by David Brownlee.
2004-01-12Update net/samba to 3.0.1nb1. Changes from version 3.0.1 include:jlam4-8/+39
* Building and installing the PAM modules if USE_PAM is defined. * Installing the NSS loadable modules. * Making the samba rc.d script run the winbindd script, too.
2004-01-11Update net/samba to 3.0.1. Major changes from version 2.2.8anb6 include:jlam28-942/+632
* Active Directory support. Samba is able to join a ADS realm as a member server and authenticate using LDAP/Kerberos. * Unicode support. * New, more flexible authentication (passdb) system. * A new "net" command that is similar to the "net" command in Windows. * Samba now negotiates NT-style status32 codes on the wire, which greatly improves error handling. * Better Windows 2K/2K3/XP printing support. * Loadable module support for passdb backends and character sets. * More performant winbindd. * Support for migrating from a Windows NT4 domain to a Samba domain and maintaining user, group, and domain SIDs. * Support for establishing trust relationships with Windows NT4 DCs. * Initial support for a distributed Winbind architecture using an LDAP directory for storing SID-to-uid/gid mappings. * Major updates to the Samba documentation tree. * Full support for client and server SMB signing to ensure compatibility with default Windows 2K3 security settings. * Improvement of ACL mapping features.
2004-01-11bl3ifyjlam1-7/+7
2004-01-03Bump package revisions for tiff update.reed2-4/+4
Tiff is backward compatible, but was broken on amd64 platform so this makes sure new tiff is used.
2003-11-12PKGREVISION++ after openssl update.jschauma1-2/+2
2003-11-03Change maintainer to myself.kim1-2/+2
2003-10-11when running ${TYPE} mktemp... redirect stderr to stdout, avoidinggrant1-3/+3
spurious output. fixes PR pkg/22814 from Rob Quinn.
2003-09-16Note which packages' Makefiles include this file.jlam1-1/+7
2003-09-14Update net/samba to 2.2.8nb4. Changes from 2.2.8nb3 are installingjlam4-3/+256
adduser and deluser scripts into ${PKG_SYSCONFDIR} that are capable of dealing with usernames containing a "$". These scripts basically accept the same options as useradd/userdel. They're meant to be used in "add user script" and "delete user script" to deal with samba machine accounts.
2003-09-14All of the samba packages should have the same PKG_SYSCONFDIR.jlam1-1/+2
2003-09-12Remove stray )jlam1-2/+2
2003-09-05Fix DFS for Windows XP and 2003 clients.kim3-3/+20
http://lists.xsec.it/pipermail/samba-it/2003-April/000321.html
2003-08-30Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL ifjlam1-1/+2
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically pick up a INSTALL/DEINSTALL script in the package directory and assume that you want it for the corresponding *_EXTRA_TMPL variable.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-29Initial version.martti1-0/+28
2003-06-04Bump the PKGREVISION for net/samba to 2:jlam4-29/+21
* findsmb is a perl script, and we need to substitute the correct path to the perl interpreter. * Don't create ${PREFIX}/private during a "make install" as it's a completely useless directory. * Don't bother to install the completely outdated Samba HTML documentation that is superseded by the Samba HOWTO Collection documentation.
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-05-02Dependency bumps, needed because of devel/pth's major bump, and relatedwiz1-1/+2
dependency bumps.
2003-04-10${INSTALL_DATA} can't create two directories at once on Solaris.uebayasi1-2/+3
Addresses PR21086 by Rob Quinn <rquinn at sec dot sprint dot net>.
2003-04-07Update to Samba 2.2.8a.cjep2-5/+5
Changes since 2.2.8: Digital Defense, Inc. has alerted the Samba Team to a serious vulnerability in all stable versions of Samba currently shipping. The Common Vulnerabilities and Exposures (CVE) project has assigned the ID CAN-2003-0201 to this defect. This vulnerability, if exploited correctly, leads to an anonymous user gaining root access on a Samba serving system. All versions of Samba up to and including Samba 2.2.8 are vulnerable. An active exploit of the bug has been reported in the wild.
2003-03-16Remove redundant entry "http://de.samba.org/samba/ftp/" from mirror list.tron1-2/+1
2003-03-16Updated samba to 2.2.8martti7-30/+29
**************************************** * IMPORTANT: Security bugfix for Samba * **************************************** The SuSE security audit team, in particular Sebastian Krahmer <krahmer@suse.de>, has found a flaw in the Samba main smbd code which could allow an external attacker to remotely and anonymously gain Super User (root) privileges on a server running a Samba server. This flaw exists in previous versions of Samba from 2.0.x to 2.2.7a inclusive. This is a serious problem and all sites should either upgrade to Samba 2.2.8 immediately or prohibit access to TCP ports 139 and 445. Advice created by Andrew Tridgell, the leader of the Samba Team, on how to protect an unpatched Samba server is given at the end of this section. The SMB/CIFS protocol implemented by Samba is vulnerable to many attacks, even without specific security holes. The TCP ports 139 and the new port 445 (used by Win2k and the Samba 3.0 alpha code in particular) should never be exposed to untrusted networks.
2003-02-18open_file_shared(): when falling back to O_RDONLY open_file() call afterjdolecek3-2/+20
O_RDWR fails in fcbopen case, remember the errno from previous open_file() call and set errno back to this value if the second open_file() call fails too this makes samba report EACCESS instead of confusing ENOENT if creation of file fails due to insufficient permissions for SMBcreate/SMBmknew call bump package revision
2003-01-28Instead of including bsd.pkg.install.mk directly in a package Makefile,jlam1-3/+3
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
2002-12-13Updated samba to 2.2.7amartti4-16/+16
1) Fix for smbclient reporting negative file sizes on dir command and negative statistics being reported when using put or get on large files. 2) Fix bug in determination of allocation size 3) Fix 64bit size problems which prevented copying of files larger than 2 GBytes. 4) Fix for xcopy /s problem with old DOS clients not sending correct attributes on subsequent SMBsearch calls. 5) Fix bug in call to standard_sub_advanced giving a 0 length. This fixes the string overflow in string_sub errors. 6) Correctly handle querygroup rpcclient command 7) fix broken incremental tar in smbtar command
2002-11-21Updated samba to 2.2.7martti3-7/+6
A security hole has been discovered in versions 2.2.2 through 2.2.6 of Samba that could potentially allow an attacker to gain root access on the target machine. The word "potentially" is used because there is no known exploit of this bug, and the Samba Team has not been able to craft one ourselves. However, the seriousness of the problem warrants this immediate 2.2.7 release. 1) ensure we send the notify message in the same way it is expected to be received by srv_spoolss_receive_message(). 2) attribute matching on truncate only matters when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to truncate on open with current NONE -> SYSTEM | HIDDEN. 3) Fix bug in rpcclient's deldriver command 4) Don't set global_machine_password_needs_changing if lp_machine_password_timeout() is set to zero 5) don't parse the BUFFER5 if the buffer length is zero 6) fix core dump if pdbedit is run as non-root or smbpasswd file does not exist 7) Ensure can_delete() returns correct error code 8) correctly return NT_STATUS_DELETE_PENDING from open code 9) fix bug that assumed dos_unistr2 length was in ucs2 units, not bytes 10) check the long_archi name is not null when deleting a printer driver. fixes core dump in smbd when using rpcclient's deldriver 11) fix fd leak with kernel change notify on Linux 2.4 kernels 12) must add one to the extra_data size to transfer the 0 string terminator. This was causing "wbinfo --sequence" to access past the end of malloced memory 13) fix for large systems allowing more than 65536 files open in NTcreate&X 14) Fix bug in %U expansion
2002-10-20Unconditionally compile the MSDFS support, as it's a run-time switch youjlam1-4/+3
can turn on or off. Bump PKGREVISION.