head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.20 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.18 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.16 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.14 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.12 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.10 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.8 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.6 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.4 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.2 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.2.0.34 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.32 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.30 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.28 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.26 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.24 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.22 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.0.2; locks; strict; comment @# @; 1.3 date 2008.01.12.06.07.44; author taca; state dead; branches; next 1.2; 1.2 date 2003.05.27.15.59.09; author taca; state Exp; branches; next 1.1; 1.1 date 2003.03.29.08.18.51; author taca; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2003.03.29.08.18.51; author grant; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2003.04.20.12.28.51; author grant; state Exp; branches; next ; desc @@ 1.3 log @Remove ja-samba package. ja-samba; Samba Japanese isn't maintained for these years and it contains unfixed security problem. And it is Samba 2.x base, so it's time to say "Good by". @ text @$NetBSD: patch-aq,v 1.2 2003/05/27 15:59:09 taca Exp $ --- smbd/open.c.orig 2003-05-20 11:17:18.000000000 +0900 +++ smbd/open.c @@@@ -986,8 +986,11 @@@@ flags=0x%X flags2=0x%X mode=0%o returned fsp_open = open_file(fsp,conn,fname,psbuf,flags|flags2,mode,desired_access); if (!fsp_open && (flags == O_RDWR) && (errno != ENOENT) && fcbopen) { + int saved_errno = errno; if((fsp_open = open_file(fsp,conn,fname,psbuf,O_RDONLY,mode,desired_access)) == True) flags = O_RDONLY; + else + errno = saved_errno; } if (!fsp_open) { @ 1.2 log @update ja-samba package to 2.2.8.1.1.0 (samba-2.2.8a-ja-1.0). Quote from Changelog.en. Here is the fix list of Samba2.2 Japanese Edition. The sign of each line means: *: Fix of Samba Japanese Edition only x: Fix of sending a patch to Samba Team c: Fix of being commited a patch by Samba Team samba-2.2.8a-ja-1.0 ~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Fixed permissions for docs/ja/htmldocs/BrowsingFAQ/image/*.gif [sugj-tech:5281] Changes to the original version * Fixed Japanese file name problem for DFS [samba-jp:14700] samba-2.2.8a-ja-1.0alpha3 ~~~~~~~~~~~~~~~~~~~~~~~~~ Changes to the original version * Fixed the problem which depends on size of off_t [sugj-tech:5272] samba-2.2.8a-ja-1.0alpha2 ~~~~~~~~~~~~~~~~~~~~~~~~~ Changes to the original version * Fixed unmatched problem for int<->unsigned int [sugj-tech:5248] * Fixed unmatched problem for uint32<->unsigned int [sugj-tech:5253] @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.1 2003/03/29 08:18:51 taca Exp $ @ 1.1 log @Update ja-samba package to ja-samba-2.2.7.1.1.1 (samba 2.2.7a-1.1). This contains security problem solved by samba 2.2.8. pkgsrc changes: o pkgsrc organization changesd as samba package. o note explicitly security problem fixed by samba 2.2.8. o remove own quota support patch. Changes from ja-samba-2.2.4.1.0 package: Changelog of Samba2.2 Japanese Edition Samba Users Group Japan Here is the fix list of Samba2.2 Japanese Edition. The sign of each line means: *: Fix of Samba Japanese Edition only x: Fix of sending a patch to Samba Team c: Fix of being commited a patch by Samba Team samba-2.2.7a-ja-1.1 ~~~~~~~~~~~~~~~~~~~ Changes to the original version c Fixed two security problems which is fixed at samba 2.2.8 [sugj-tech:5211] samba-2.2.7a-ja-1.0beta1 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Fixed build problem when gettext 0.11.x installed [sugj-tech:5177] * Fixed memory leak of winbindd [sugj-tech:5152] * Added 'ldap referrals' parameter [sugj-tech:5124] * Fixed parameter of 'printing' was set on FreeBSD [sugj-tech:5155] * Fixed reseting parameters of smbd and nmbd by SIGHUP [sugj-tech:5160] * Fixed setting change of the 'printing' parameter works together with print-related parameters [sugj-tech:5155] * Fixed error message when old getgroups() is used [sugj-tech:5166] * Fixed warning message when leap second is set [sugj-tech:5166] * Fixed altname command of smbclient [sugj-tech:5019] * Fixed close share command of smbcontrol with Japanese [sugj-tech:5014] * Fixed compile problem on Tru64 UNIX [sugj-tech:5033] * Fixed compile problem of tdb directory [sugj-tech:5033] * Fixed to enable domain logon to Japanese domain name [sugj-tech:5043] * Fixed smbspool command with Japanese [sugj-tech:5048,5112] * Fixed recycle.c of VFS module [samba-jp:13590] * Fixed memory allocation of make_printerdef [sugj-tech:5106] * Fixed compile problem before FreeBSD 2.2.8 [sugj-tech:5112] * Fixed querydispinfo command of rpcclient [sugj-tech:5112] * Fixed rpcclient for Japanese resource [sugj-tech:5112] * Changed option of client tools from '-t' to '-T' [sugj-tech:5077] * Update smbchartool and removed jcode.pl [sugj-tech:5091] * Fixed encoding when using euc3 coding system [sugj-tech:5122] samba-2.2.5-ja-1.0beta3 ~~~~~~~~~~~~~~~~~~~~~~~ Changes to the internationalized version * Added %j macro which means printing job name [sugj-tech:4998] Changes to the original version * Fixed counting characters of unistr_to_dos() [sugj-tech:5004] * Fixed compile problem with --with-quotas on NetBSD [sugj-tech:4965] @ text @d1 1 a1 1 $NetBSD: patch-ar,v 1.2 2003/03/16 07:57:47 martti Exp $ d3 3 a5 3 --- smbd/open.c.orig Fri Feb 28 15:56:20 2003 +++ smbd/open.c Sun Mar 16 09:03:17 2003 @@@@ -979,8 +979,11 @@@@ @ 1.1.2.1 log @file patch-aq was added on branch netbsd-1-6-1 on 2003-04-20 12:28:51 +0000 @ text @d1 16 @ 1.1.2.2 log @Create new file (requested by taca in ticket #1268): Update samba package to samba-2.2.7b-1.0. This fixes samba's known security problem. @ text @a0 16 $NetBSD: patch-aq,v 1.1.2.1 2003/04/20 12:28:51 grant Exp $ --- smbd/open.c.orig Fri Feb 28 15:56:20 2003 +++ smbd/open.c Sun Mar 16 09:03:17 2003 @@@@ -979,8 +979,11 @@@@ fsp_open = open_file(fsp,conn,fname,psbuf,flags|flags2,mode,desired_access); if (!fsp_open && (flags == O_RDWR) && (errno != ENOENT) && fcbopen) { + int saved_errno = errno; if((fsp_open = open_file(fsp,conn,fname,psbuf,O_RDONLY,mode,desired_access)) == True) flags = O_RDONLY; + else + errno = saved_errno; } if (!fsp_open) { @