head 1.15; access; symbols pkgsrc-2026Q1:1.15.0.102 pkgsrc-2026Q1-base:1.15 pkgsrc-2025Q4:1.15.0.100 pkgsrc-2025Q4-base:1.15 pkgsrc-2025Q3:1.15.0.98 pkgsrc-2025Q3-base:1.15 pkgsrc-2025Q2:1.15.0.96 pkgsrc-2025Q2-base:1.15 pkgsrc-2025Q1:1.15.0.94 pkgsrc-2025Q1-base:1.15 pkgsrc-2024Q4:1.15.0.92 pkgsrc-2024Q4-base:1.15 pkgsrc-2024Q3:1.15.0.90 pkgsrc-2024Q3-base:1.15 pkgsrc-2024Q2:1.15.0.88 pkgsrc-2024Q2-base:1.15 pkgsrc-2024Q1:1.15.0.86 pkgsrc-2024Q1-base:1.15 pkgsrc-2023Q4:1.15.0.84 pkgsrc-2023Q4-base:1.15 pkgsrc-2023Q3:1.15.0.82 pkgsrc-2023Q3-base:1.15 pkgsrc-2023Q2:1.15.0.80 pkgsrc-2023Q2-base:1.15 pkgsrc-2023Q1:1.15.0.78 pkgsrc-2023Q1-base:1.15 pkgsrc-2022Q4:1.15.0.76 pkgsrc-2022Q4-base:1.15 pkgsrc-2022Q3:1.15.0.74 pkgsrc-2022Q3-base:1.15 pkgsrc-2022Q2:1.15.0.72 pkgsrc-2022Q2-base:1.15 pkgsrc-2022Q1:1.15.0.70 pkgsrc-2022Q1-base:1.15 pkgsrc-2021Q4:1.15.0.68 pkgsrc-2021Q4-base:1.15 pkgsrc-2021Q3:1.15.0.66 pkgsrc-2021Q3-base:1.15 pkgsrc-2021Q2:1.15.0.64 pkgsrc-2021Q2-base:1.15 pkgsrc-2021Q1:1.15.0.62 pkgsrc-2021Q1-base:1.15 pkgsrc-2020Q4:1.15.0.60 pkgsrc-2020Q4-base:1.15 pkgsrc-2020Q3:1.15.0.58 pkgsrc-2020Q3-base:1.15 pkgsrc-2020Q2:1.15.0.54 pkgsrc-2020Q2-base:1.15 pkgsrc-2020Q1:1.15.0.34 pkgsrc-2020Q1-base:1.15 pkgsrc-2019Q4:1.15.0.56 pkgsrc-2019Q4-base:1.15 pkgsrc-2019Q3:1.15.0.52 pkgsrc-2019Q3-base:1.15 pkgsrc-2019Q2:1.15.0.50 pkgsrc-2019Q2-base:1.15 pkgsrc-2019Q1:1.15.0.48 pkgsrc-2019Q1-base:1.15 pkgsrc-2018Q4:1.15.0.46 pkgsrc-2018Q4-base:1.15 pkgsrc-2018Q3:1.15.0.44 pkgsrc-2018Q3-base:1.15 pkgsrc-2018Q2:1.15.0.42 pkgsrc-2018Q2-base:1.15 pkgsrc-2018Q1:1.15.0.40 pkgsrc-2018Q1-base:1.15 pkgsrc-2017Q4:1.15.0.38 pkgsrc-2017Q4-base:1.15 pkgsrc-2017Q3:1.15.0.36 pkgsrc-2017Q3-base:1.15 pkgsrc-2017Q2:1.15.0.32 pkgsrc-2017Q2-base:1.15 pkgsrc-2017Q1:1.15.0.30 pkgsrc-2017Q1-base:1.15 pkgsrc-2016Q4:1.15.0.28 pkgsrc-2016Q4-base:1.15 pkgsrc-2016Q3:1.15.0.26 pkgsrc-2016Q3-base:1.15 pkgsrc-2016Q2:1.15.0.24 pkgsrc-2016Q2-base:1.15 pkgsrc-2016Q1:1.15.0.22 pkgsrc-2016Q1-base:1.15 pkgsrc-2015Q4:1.15.0.20 pkgsrc-2015Q4-base:1.15 pkgsrc-2015Q3:1.15.0.18 pkgsrc-2015Q3-base:1.15 pkgsrc-2015Q2:1.15.0.16 pkgsrc-2015Q2-base:1.15 pkgsrc-2015Q1:1.15.0.14 pkgsrc-2015Q1-base:1.15 pkgsrc-2014Q4:1.15.0.12 pkgsrc-2014Q4-base:1.15 pkgsrc-2014Q3:1.15.0.10 pkgsrc-2014Q3-base:1.15 pkgsrc-2014Q2:1.15.0.8 pkgsrc-2014Q2-base:1.15 pkgsrc-2014Q1:1.15.0.6 pkgsrc-2014Q1-base:1.15 pkgsrc-2013Q4:1.15.0.4 pkgsrc-2013Q4-base:1.15 pkgsrc-2013Q3:1.15.0.2 pkgsrc-2013Q3-base:1.15 pkgsrc-2013Q2:1.14.0.14 pkgsrc-2013Q2-base:1.14 pkgsrc-2013Q1:1.14.0.12 pkgsrc-2013Q1-base:1.14 pkgsrc-2012Q4:1.14.0.10 pkgsrc-2012Q4-base:1.14 pkgsrc-2012Q3:1.14.0.8 pkgsrc-2012Q3-base:1.14 pkgsrc-2012Q2:1.14.0.6 pkgsrc-2012Q2-base:1.14 pkgsrc-2012Q1:1.14.0.4 pkgsrc-2012Q1-base:1.14 pkgsrc-2011Q4:1.14.0.2 pkgsrc-2011Q4-base:1.14 pkgsrc-2011Q3:1.13.0.52 pkgsrc-2011Q3-base:1.13 pkgsrc-2011Q2:1.13.0.50 pkgsrc-2011Q2-base:1.13 pkgsrc-2011Q1:1.13.0.48 pkgsrc-2011Q1-base:1.13 pkgsrc-2010Q4:1.13.0.46 pkgsrc-2010Q4-base:1.13 pkgsrc-2010Q3:1.13.0.44 pkgsrc-2010Q3-base:1.13 pkgsrc-2010Q2:1.13.0.42 pkgsrc-2010Q2-base:1.13 pkgsrc-2010Q1:1.13.0.40 pkgsrc-2010Q1-base:1.13 pkgsrc-2009Q4:1.13.0.38 pkgsrc-2009Q4-base:1.13 pkgsrc-2009Q3:1.13.0.36 pkgsrc-2009Q3-base:1.13 pkgsrc-2009Q2:1.13.0.34 pkgsrc-2009Q2-base:1.13 pkgsrc-2009Q1:1.13.0.32 pkgsrc-2009Q1-base:1.13 pkgsrc-2008Q4:1.13.0.30 pkgsrc-2008Q4-base:1.13 pkgsrc-2008Q3:1.13.0.28 pkgsrc-2008Q3-base:1.13 cube-native-xorg:1.13.0.26 cube-native-xorg-base:1.13 pkgsrc-2008Q2:1.13.0.24 pkgsrc-2008Q2-base:1.13 cwrapper:1.13.0.22 pkgsrc-2008Q1:1.13.0.20 pkgsrc-2008Q1-base:1.13 pkgsrc-2007Q4:1.13.0.18 pkgsrc-2007Q4-base:1.13 pkgsrc-2007Q3:1.13.0.16 pkgsrc-2007Q3-base:1.13 pkgsrc-2007Q2:1.13.0.14 pkgsrc-2007Q2-base:1.13 pkgsrc-2007Q1:1.13.0.12 pkgsrc-2007Q1-base:1.13 pkgsrc-2006Q4:1.13.0.10 pkgsrc-2006Q4-base:1.13 pkgsrc-2006Q3:1.13.0.8 pkgsrc-2006Q3-base:1.13 pkgsrc-2006Q2:1.13.0.6 pkgsrc-2006Q2-base:1.13 pkgsrc-2006Q1:1.13.0.4 pkgsrc-2006Q1-base:1.13 pkgsrc-2005Q4:1.13.0.2 pkgsrc-2005Q4-base:1.13 pkgsrc-2005Q3:1.12.0.14 pkgsrc-2005Q3-base:1.12 pkgsrc-2005Q2:1.12.0.12 pkgsrc-2005Q2-base:1.12 pkgsrc-2005Q1:1.12.0.10 pkgsrc-2005Q1-base:1.12 pkgsrc-2004Q4:1.12.0.8 pkgsrc-2004Q4-base:1.12 pkgsrc-2004Q3:1.12.0.6 pkgsrc-2004Q3-base:1.12 pkgsrc-2004Q2:1.12.0.4 pkgsrc-2004Q2-base:1.12 pkgsrc-2004Q1:1.12.0.2 pkgsrc-2004Q1-base:1.12 pkgsrc-2003Q4:1.11.0.4 pkgsrc-2003Q4-base:1.11 netbsd-1-6-1:1.11.0.2 netbsd-1-6-1-base:1.11 netbsd-1-6:1.10.0.8 netbsd-1-6-RELEASE-base:1.10 pkgviews:1.10.0.4 pkgviews-base:1.10 buildlink2:1.10.0.2 buildlink2-base:1.10 netbsd-1-5-PATCH003:1.10 netbsd-1-5-PATCH001:1.6 netbsd-1-5-RELEASE:1.5 netbsd-1-4-PATCH003:1.5 netbsd-1-4-PATCH002:1.3; locks; strict; comment @# @; 1.15 date 2013.08.12.02.45.55; author taca; state Exp; branches; next 1.14; commitid EB23ZUIBzNlQT61x; 1.14 date 2011.12.16.11.05.24; author asau; state Exp; branches 1.14.14.1; next 1.13; 1.13 date 2005.11.14.08.05.27; author jlam; state Exp; branches; next 1.12; 1.12 date 2004.01.11.02.26.31; author jlam; state Exp; branches; next 1.11; 1.11 date 2002.10.18.11.50.28; author martti; state Exp; branches; next 1.10; 1.10 date 2002.02.04.08.09.03; author martti; state Exp; branches; next 1.9; 1.9 date 2001.05.24.21.52.15; author jlam; state Exp; branches; next 1.8; 1.8 date 2001.05.22.22.07.01; author jlam; state Exp; branches; next 1.7; 1.7 date 2001.05.14.18.57.01; author jlam; state dead; branches; next 1.6; 1.6 date 2001.05.10.09.00.24; author abs; state Exp; branches; next 1.5; 1.5 date 2000.09.03.09.17.00; author kei; state Exp; branches; next 1.4; 1.4 date 2000.05.02.15.24.10; author jlam; state Exp; branches; next 1.3; 1.3 date 2000.01.19.00.42.43; author jlam; state Exp; branches; next 1.2; 1.2 date 98.01.28.13.24.20; author agc; state dead; branches; next 1.1; 1.1 date 98.01.12.17.31.17; author agc; state Exp; branches; next ; 1.14.14.1 date 2013.08.12.12.20.19; author tron; state Exp; branches; next ; commitid DRsIlszbKSa45a1x; desc @@ 1.15 log @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 * BUG 10010: CVE-2013-4124: Missing integer wrap protection in EA list reading can cause server to loop with DOS. @ text @$NetBSD: patch-ac,v 1.14 2011/12/16 11:05:24 asau Exp $ --- libads/kerberos.c.orig 2013-07-29 18:55:18.000000000 +0000 +++ libads/kerberos.c @@@@ -411,7 +411,7 @@@@ char* kerberos_secrets_fetch_des_salt( v if ( (key = des_salt_key()) == NULL ) { DEBUG(0,("kerberos_secrets_fetch_des_salt: failed to generate key!\n")); - return False; + return NULL; } salt = (char*)secrets_fetch( key, NULL ); @ 1.14 log @Update to Samba 3.5.11 from net/samba35, part of Samba packages rearrangement. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1.1.1 2010/12/06 17:01:23 adam Exp $ d3 1 a3 1 --- libads/kerberos.c.orig 2010-12-05 21:57:18.000000000 +0000 d5 1 a5 1 @@@@ -460,7 +460,7 @@@@ char* kerberos_secrets_fetch_des_salt( v @ 1.14.14.1 log @Pullup ticket #4207 - requested by taca net/samba: security update Revisions pulled up: - net/samba/Makefile 1.235,1.237 - net/samba/Makefile.mirrors 1.10 - net/samba/PLIST 1.54 - net/samba/distinfo 1.91-1.92 - net/samba/patches/patch-ac 1.15 - net/samba/patches/patch-ad 1.19 - net/samba/patches/patch-ae 1.11 - net/samba/patches/patch-af 1.12 - net/samba/patches/patch-ah 1.7 - net/samba/patches/patch-ai 1.7 - net/samba/patches/patch-aj 1.7 - net/samba/patches/patch-ak 1.6 - net/samba/patches/patch-an 1.4 - net/samba/patches/patch-ao 1.4 - net/samba/patches/patch-aq 1.4 - net/samba/patches/patch-as 1.4 - net/samba/patches/patch-av 1.5 - net/samba/patches/patch-aw 1.4 - net/samba/patches/patch-ba 1.11 - net/samba/patches/patch-bb 1.5 - net/samba/patches/patch-bf 1.6 --- Module Name: pkgsrc Committed By: adam Date: Wed Jul 3 20:00:48 UTC 2013 Modified Files: pkgsrc/net/samba: Makefile PLIST distinfo pkgsrc/net/samba/patches: patch-bf Log Message: 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. --- Module Name: pkgsrc Committed By: wiz Date: Thu Jul 4 19:31:10 UTC 2013 Modified Files: pkgsrc/net/samba: Makefile.mirrors Log Message: Fix URL. --- Module Name: pkgsrc Committed By: taca Date: Mon Aug 12 02:45:55 UTC 2013 Modified Files: pkgsrc/net/samba: Makefile distinfo pkgsrc/net/samba/patches: patch-ac patch-ad patch-ae patch-af patch-ah patch-ai patch-aj patch-ak patch-an patch-ao patch-aq patch-as patch-av patch-aw patch-ba patch-bb Log Message: 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 * BUG 10010: CVE-2013-4124: Missing integer wrap protection in EA list reading can cause server to loop with DOS. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- libads/kerberos.c.orig 2013-07-29 18:55:18.000000000 +0000 d5 1 a5 1 @@@@ -411,7 +411,7 @@@@ char* kerberos_secrets_fetch_des_salt( v @ 1.13 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.12 2004/01/11 02:26:31 jlam Exp $ d3 3 a5 5 --- include/local.h.orig 2005-10-12 13:03:38.000000000 -0400 +++ include/local.h @@@@ -170,10 +170,10 @@@@ * Default passwd chat script. */ d7 5 a11 2 -#define DEFAULT_PASSWD_CHAT "*new*password* %n\\n *new*password* %n\\n *changed*" +#define DEFAULT_PASSWD_CHAT "*\\n*ew\\spassword* %n\\n *ew\\spassword* %n\\n *updating\\sthe\\sdatabase...\\npasswd:\\sdone\\n" d13 1 a13 6 /* Minimum length of allowed password when changing UNIX password. */ -#define MINPASSWDLENGTH 5 +#define MINPASSWDLENGTH 6 /* maximum ID number used for session control. This cannot be larger than 62*62 for the current code */ @ 1.12 log @Update net/samba to 3.0.1. Major changes from version 2.2.8anb6 include: * 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. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- include/local.h.orig Fri Nov 7 12:37:33 2003 @ 1.11 log @Updated samba to 2.2.6 * Fixes for MS-RPC printing issues affecting Windows 2000 clients * New support for smb.conf generation in SWAT * Inclusion of several performance enhancements * Fixes for several file locking bugs and returned status codes @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.10 2002/02/04 08:09:03 martti Exp $ d3 5 a7 4 --- profile/profile.c.orig Wed Oct 9 22:27:22 2002 +++ profile/profile.c Fri Oct 18 13:02:32 2002 @@@@ -23,7 +23,7 @@@@ #include "includes.h" d9 2 a10 5 #ifdef WITH_PROFILE -#define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6)) +#define IPC_PERMS ((S_IRUSR | S_IWUSR) | S_IRGRP | S_IROTH) static int shm_id; static BOOL read_only; d12 6 @ 1.10 log @Updated samba to 2.2.3 Changes in 2.2.3 ----------------- 1). Fixed shared library compile for Solaris with native compiler. 2). UNIX CIFS extensions code added (donated by HP). 3). Changed to using NT status codes on the wire if the client can support this. 4). altname command to show 8.3 name added to smbclient. 5). const-safe endian macros now used. 6). client code now uses UNICODE on the wire. 7). Correctly return fault PDU's on bad handle. 8). Improved NT error code mapping table. 9). Many new point and print RPC calls added. 10). Win9x clients can now see full user list. 11). fileid added to identify simultaneous open files (no longer use dev/inode/time as unique value). 12). HPUX ACL code added (donated by HP). 13). vfs interfaces updated (again !). 14). MSDOS Code Page 866 -> 1251 mapping added. 15). winbindd now processes quit/hup signals correctly. 16). No tdb traversal done on startup/shutdown - ensures scalability. 17). Fix bug with paths for homes share. 18). Fixed copyfile for OS/2. 19). Fix group membership when groups are on more than one line. 20). Fixed core dumps in posix ACL mapping code. 21). Tidyup of UNICODE functions (put/get). 22). Move rpcclient to the new libsmb code. 23). Add missing Windows 2000 passthough trans2 calls. 24). Return check all tdb calls. 25). Make local name lookup work even if wins server is down. 26). pam session code added to winbind. 27). Added winbindd cache to all lookups. 28). Fix allocate bugs that caused file sizes to be incorrect. 29). Fixed write cache code - now safe to use. 30). Fixed winbindd memory leaks. 31). winbindd will now do name lookups (to allow non Open Source systems to do the nsswitch WINS lookup). Fixed by SGI. 32). passdb memory leaks fixed. 33). LDAP code updates and now properly maintained. 34). Finally figured out how changeid is meant to work. 35). Downlevel printing now looks as NT does in print monitor window. 36). Many fixups in spoolss printing RPC parsing. 37). Speed up password enumeration as a PDC. 38). Fix printer changed notify messages (work from HP). 39). Fix modify timestamp on close code. 40). Fix long standing mangled names bug. 41). Fix delete on close semantics. 42). Stop opening all files with O_NONBLOCK ! 43). Use O_NOFOLLOW for systems that have it and don't want symlinks. 44). Ensure NT suplementary groups get added to user token. 45). Try and mitigate effects of DNS timeout (do less lookups). 46). Added current user connection context stack. 47). Fixes to utmp code. 48). smbw code tidyups. 49). Added tdb open log code. Several tdb fixes. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.9 2001/05/24 21:52:15 jlam Exp $ d3 3 a5 4 --- profile/profile.c.orig Sun Feb 3 01:46:49 2002 +++ profile/profile.c Mon Feb 4 08:32:16 2002 @@@@ -22,7 +22,7 @@@@ d8 1 a10 1 d13 1 @ 1.9 log @Use S_IRUSR/S_IWUSR and related flags from instead of SHM_{R,W}. Fix suggest by Klaus Klein. This should fix build on non-current NetBSD systems and closes PRs 13023 and 13033. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- profile/profile.c.orig Thu Nov 16 16:44:48 2000 +++ profile/profile.c Thu May 24 17:39:00 2001 @@@@ -26,7 +26,7 @@@@ d7 1 a7 1 extern int DEBUGLEVEL; @ 1.8 log @Add fix for platforms that don't define SHM_{R_W} in . We define them to IPC_{R,W} as they're the right values. Problem discovered by browsing current-users and port-alpha (why were there no PRs?!). @ text @d4 2 a5 2 +++ profile/profile.c Tue May 22 17:53:46 2001 @@@@ -26,6 +26,16 @@@@ d9 2 a10 11 +/* + * Definitions for OSes without SHM_R or SHM_W in . + */ +#ifndef SHM_R +#define SHM_R IPC_R +#endif +#ifndef SHM_W +#define SHM_W IPC_W +#endif + #define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6)) d13 1 @ 1.7 log @Remove unneeded patches after samba update to 2.2.0. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2001/05/10 09:00:24 abs Exp $ d3 17 a19 10 --- client/client.c.orig Wed Apr 18 00:00:52 2001 +++ client/client.c @@@@ -1180,7 +1180,7 @@@@ "find . -name \"%s\" -print > %s",p,tmpname); else slprintf(cmd,sizeof(pstring)-1, - "find . -maxdepth 1 -name \"%s\" -print > %s",p,tmpname); + "ls -1 %s > %s",p,tmpname); system(cmd); close(fd); d21 1 a21 72 @@@@ -1615,22 +1615,19 @@@@ return True; } -#if defined(HAVE_LIBREADLINE) +#if defined(HAVE_READLINE) # if defined(HAVE_READLINE_HISTORY_H) || defined(HAVE_HISTORY_H) /**************************************************************************** history ****************************************************************************/ static void cmd_history(void) { - HIST_ENTRY **hlist; register int i; - hlist = history_list (); /* Get pointer to history list */ - - if (hlist) /* If list not empty */ + if (history_length) /* If history is not empty */ { - for (i = 0; hlist[i]; i++) /* then display it */ - DEBUG(0, ("%d: %s\n", i, hlist[i]->line)); + for (i = 1; i <= history_length; i++) /* then display it */ + DEBUG(0, ("%d: %s\n", i, history_get(i)->line)); } } # endif @@@@ -1691,7 +1688,7 @@@@ {"setmode",cmd_setmode,"filename change modes of file",{COMPL_REMOTE,COMPL_NONE}}, {"help",cmd_help,"[command] give help on a command",{COMPL_NONE,COMPL_NONE}}, {"?",cmd_help,"[command] give help on a command",{COMPL_NONE,COMPL_NONE}}, -#ifdef HAVE_LIBREADLINE +#ifdef HAVE_READLINE {"history",cmd_history,"displays the command history",{COMPL_NONE,COMPL_NONE}}, #endif {"!",NULL,"run a shell command on the local system",{COMPL_NONE,COMPL_NONE}}, @@@@ -1751,7 +1748,7 @@@@ } } -#ifndef HAVE_LIBREADLINE +#ifndef HAVE_READLINE /**************************************************************************** wait for keyboard activity, swallowing network packets ****************************************************************************/ @@@@ -1830,7 +1827,7 @@@@ pstring line; char *ptr; -#ifdef HAVE_LIBREADLINE +#ifdef HAVE_READLINE /* Minimal readline support, 29Jun1999, s.xenitellis@@rhbnc.ac.uk */ #ifdef PROMPTSIZE #undef PROMPTSIZE @@@@ -1844,7 +1841,7 @@@@ while (!feof(stdin)) { fstring tok; int i; -#ifdef HAVE_LIBREADLINE +#ifdef HAVE_READLINE if ( temp != (char *)NULL ) { free( temp ); /* Free memory allocated every time by readline() */ @@@@ -2231,7 +2228,7 @@@@ DEBUGLEVEL = 2; -#ifdef HAVE_LIBREADLINE +#ifdef HAVE_READLINE /* Allow conditional parsing of the ~/.inputrc file. */ rl_readline_name = "smbclient"; #endif @ 1.6 log @Update samba to 2.0.9: Samba 2.0.9 is a security bugfix release which correctly fixes the problem 2.0.8 was supposed to address. (A bug in the handling of temporary files that allowed local users to destroy data on local devices). @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Merged japanese/samba package to net/samba, as per discussion of Hubert Feyrer and Manuel Bouyer. @ text @d3 83 a85 12 --- acconfig.h.orig Tue Jul 11 02:37:45 2000 +++ acconfig.h Sun Sep 3 06:23:07 2000 @@@@ -80,7 +80,9 @@@@ #undef SIZEOF_INO_T #undef SIZEOF_OFF_T #undef STAT_STATVFS64 +#undef HAVE_READLINE #undef HAVE_LIBREADLINE +#undef HAVE_LIBEDIT #undef HAVE_KERNEL_OPLOCKS #undef HAVE_IRIX_SPECIFIC_CAPABILITIES #undef HAVE_INT16_FROM_RPC_RPC_H @ 1.4 log @Updated samba to 2.0.7. Major changes from version 2.0.6 are below. A complete list of changes can be found at http://www.samba.org/. New Documentation in 2.0.7 -------------------------- O'Reilly and Associates have donated their book "Using Samba" to the Samba community to be updated in a collaberative way along with the Samba software. Starting with this release the html of "Using Samba" will be distributed with the Samba software as the online documentation for Samba. Bug fixes for the book are encouraged as is new material. Please help us make this documentation the best it can be for Samba ! Windows 2000 Issues ------------------- This version of Samba has been tested with Windows 2000 and the five known incompatibilities with Windows 2000 have been fixed. See the "Changes in 2.0.7" list below for details. New/Changed parameters in 2.0.7 ------------------------------- There are 5 new parameters in the smb.conf file. utmp utmp dir utmp hostname utmp consolidate wtmp directory These parameters are only available if the "--with-utmp" option was selected at configure time. The yes/no option "utmp" specifies whether utmp records should be recorded on user logon/logoff. It defaults to "no". The "utmp dir" and "wtmp dir" are string parameters specifying pathnames to the directories containing the utmp/wtmp file databases. See the smb.conf man page for more details. inherit permissions This boolean parameter causes newly created files and directories to inherit their initial permissions from their parent directory. This can be very useful in propagating such things as the set-group bit in directory heirarchies. See the smb.conf man page for more details. write cache size This integer parameter specifies (in bytes) the size of a user level per-file write cache that smbd will create for an oplocked file. This can improve performance significantly for writing files by causing writes to be done in large chunk sizes. If this parameter is set (it defaults to zero which means no write cache) to the stripe size of a raid volume then it will cause writes to be much more efficient. Up to 10 write caches can be active simultaneously per smbd (allocated for the first 10 oplocked file opens). All normal warnings about the dangers of user level caching of data apply. See the smb.conf man page for more details. source environment This pathname parameter causes Samba to read a list of environment variables from a named file on startup. This can be useful in setting up Samba in a clustered environment. See the smb.conf man page for more details. Ability to delete users added ----------------------------- SWAT and smbpasswd can now delete users from the Samba smbpasswd file. See the man page for smbpasswd for details. Roving profile behavior finalized --------------------------------- The change in behavior with roving profiles (using the "logon home" parameter instead of the "logon path" parameter) introduced in 2.0.6 has been discovered to be consistant with the way Windows NT behaves, and has been left as the default action. Please see the additional notes in the "logon home" parameter description in the smb.conf man page for more details. @ text @d3 3 a5 3 --- acconfig.h.orig Tue Apr 25 19:06:11 2000 +++ acconfig.h Fri Apr 28 16:27:20 2000 @@@@ -79,7 +79,9 @@@@ @ 1.3 log @Remove readline dependency for systems whose libedit.a has readline emulation. I've finally learned enough autoconf voodoo to do this the right way :) Also preliminary preparations for CUPS (IPP) support. @ text @d3 3 a5 3 --- acconfig.h.orig Wed Oct 13 01:26:21 1999 +++ acconfig.h Tue Jan 18 14:12:29 2000 @@@@ -78,7 +78,9 @@@@ @ 1.2 log @Delete erroneous patch. (from Ty Sarna) @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 1998/01/12 17:31:17 agc Exp $ d3 12 a14 13 This patch (from Amanda 2.4.0b4) enables smbtar to produce archives of deeper trees. --- clitar.h.orig Sat Jan 10 16:27:01 1998 +++ clitar.h Sat Jan 10 16:27:01 1998 @@@@ -1,6 +1,6 @@@@ #define TBLOCK 512 -#define NAMSIZ 100 +#define NAMSIZ 1024 union hblock { char dummy[TBLOCK]; struct header { @ 1.1 log @Additional patches for 1.9.18 from Ty Sarna (tsarna@@endicor.com) @ text @d1 1 a1 1 $NetBSD$ @