ftteo | 1 Feb 2006 08:46
Picon
Favicon

返事ありがとう!

昨日見つけた良いサイトが載ってるよ。
http://deai-index.com/sokuyari/

deai_index <at> yahoo.co.jp

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Aaron Griffin | 1 Feb 2006 18:49
Picon

[patch] BDB Transactions

Hi, I'm not on the list so if you want to respond, please CC me.

The following patch is trivial, but fixes changes in db 4.3.29, which
add transactions to db->stat calls.

I nulled them out, but do whatever you'd like.

For the record, I do not use netatalk, so this is untested.  It was
meerly to help users compile this under Archlinux, which supports
'bleeding edge' level packages (thus, the newest BDB).

--- etc/cnid_dbd/dbif.c	2004-12-21 07:36:12.000000000 -0600
+++ etc/cnid_dbd/dbif.c  2006-02-01 11:38:35.000000000 -0600
 <at>  <at>  -514,7 +514,7  <at>  <at> 
     DB_BTREE_STAT *sp;
     DB *db = db_table[dbi].db;

-    ret = db->stat(db, &sp, 0);
+    ret = db->stat(db, &sp, NULL, 0);

     if (ret) {
         LOG(log_error, logtype_cnid, "error getting stat infotmation
on database: %s", db_strerror(errno));
--- bin/cnid/cnid_index.c	2005-04-10 07:49:18.000000000 -0500
+++ bin/cnid/cnid_index.c	2006-02-01 11:38:50.000000000 -0600
 <at>  <at>  -274,7 +274,7  <at>  <at> 
     DB_BTREE_STAT *sp;
     DB *db = db_table[dbi].db;

-    ret = db->stat(db, &sp, 0);
(Continue reading)

ftteo | 3 Feb 2006 03:00
Picon
Favicon

今日は節分

鬼は外、福は内とやったあと、素敵な彼女に
家に来て貰いたい。
ひとっちのガチンコニュース!
http://watashinokobeya.com/chi/
問)
mail_res2000 <at> yahoo.co.jp

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Rory Campbell-Lange | 7 Feb 2006 11:40
Favicon

Reprise: "can't parse AppleDouble header"/bad resource fork

In the absence of response to my enquiry I'm wondering what I should do
to stop the huge number of errors concering "bad resource forks". Should
I do a recursive delete of .AppleDouble folders on the share in
question?

Please advise urgently -- the /var directory of this share is
continually filling up.

Thanks,
Rory

On 25/01/06, Rory Campbell-Lange (rory <at> campbell-lange.net) wrote:
> More info.
> 
> The problem files is presumably somewhere here:?
> 
>     find . -type f -iname "Development Schedule 310304.xls"
>     ./jobs/.AppleDouble/Development Schedule 310304.xls
>     ./jobs/1501-1600/1555/1555 Data/1555 Excel/.AppleDouble/Development Schedule 310304.xls
>     ./jobs/1501-1600/1555/1555 Data/1555 Excel/Development Schedule 310304.xls
>     ./jobs/Development Schedule 310304.xls
> 
> On 25/01/06, Rory Campbell-Lange (rory <at> campbell-lange.net) wrote:
> > Sorry -- sent this in reply to something else quite unrelated to this
> > problem. Resending.
> > 
> > Hi. We are experiencing slow performance on one of our netatalk servers. The
> > cnid scheme used is dbd.
> > 
> > I wonder if this problem might be related to the one Didier mentioned some time
(Continue reading)

didier | 7 Feb 2006 16:10
Picon
Favicon

Re: [Netatalk-admins] Reprise: "can't parse AppleDouble header"/bad resource fork

Rory Campbell-Lange wrote:
> In the absence of response to my enquiry I'm wondering what I should do
> to stop the huge number of errors concering "bad resource forks". Should
> I do a recursive delete of .AppleDouble folders on the share in
> question?
> 
> Please advise urgently -- the /var directory of this share is
> continually filling up.
>
Can you mail an example of bad resource fork?

didier

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
ftteo | 11 Feb 2006 12:43
Picon
Favicon

責任持って・・・

このプロフィールどう思う?
http://love-lilly.com/lucky
問)
lilly_licky <at> excite.co.jp

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
ftteo | 13 Feb 2006 05:10
Picon
Favicon

運命の出会いは今日か?

或る日目の前に君が現れた時
月は微笑み星は煌き太陽は輝いていた。
http://side-side-side.com/sideside/
そんなロマンチックな貴方へおすすめ!
http://side-side-side.com/sideside/
問)
dokyun_love <at> infoseek.jp

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Olaf Hering | 20 Feb 2006 16:21
Picon

out of bounds access in bin/megatron/asingle.c

Any idea how to fix this off-by-one error? Should it be fh->forklen[ADEID_RFORK-1] ?

bin/megatron/asingle.c 

    312     if ( single.entry[ ADEID_RFORK ].ade_off == 0 ) {
    313         fh->forklen[ ADEID_RFORK ] = 0;
    314     } else {
    315         fh->forklen[ ADEID_RFORK ] =
    316                 htonl( single.entry[ ADEID_RFORK ].ade_len );
    317     }

include/atalk/adouble.h

     91 #define ADEID_RFORK             2

bin/megatron/megatron.h

     22 #define DATA            0
     23 #define RESOURCE        1
     24 #define NUMFORKS        2

     60 struct FHeader {
     61     char                name[ ADEDLEN_NAME ];
     62     char                comment[ ADEDLEN_COMMENT ];
     63     u_int32_t           forklen[ NUMFORKS ];
     64     u_int32_t           create_date;
     65     u_int32_t           mod_date;
     66     u_int32_t           backup_date;
     67     struct FInfo        finder_info;
     68     struct FXInfo       finder_xinfo;
(Continue reading)

didier | 20 Feb 2006 17:53
Picon
Favicon

Re: out of bounds access in bin/megatron/asingle.c

Olaf Hering wrote:
> Any idea how to fix this off-by-one error? Should it be fh->forklen[ADEID_RFORK-1] ?
> 
IMO it should be RESOURCE.

Didier

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Olaf Hering | 22 Feb 2006 15:41
Picon

Re: out of bounds access in bin/megatron/asingle.c

 On Mon, Feb 20, didier wrote:

> Olaf Hering wrote:
> >Any idea how to fix this off-by-one error? Should it be 
> >fh->forklen[ADEID_RFORK-1] ?
> >
> IMO it should be RESOURCE.

Use correct member of forklen array.

 bin/megatron/asingle.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: netatalk-2.0.3/bin/megatron/asingle.c
===================================================================
--- netatalk-2.0.3.orig/bin/megatron/asingle.c
+++ netatalk-2.0.3/bin/megatron/asingle.c
 <at>  <at>  -310,9 +310,9  <at>  <at>  int single_header_read( fh, version )
 		sizeof(fh->backup_date));
     }
     if ( single.entry[ ADEID_RFORK ].ade_off == 0 ) {
-	fh->forklen[ ADEID_RFORK ] = 0;
+	fh->forklen[RESOURCE] = 0;
     } else {
-	fh->forklen[ ADEID_RFORK ] =
+	fh->forklen[RESOURCE] =
 		htonl( single.entry[ ADEID_RFORK ].ade_len );
     }
     if ( single.entry[ ADEID_DFORK ].ade_off == 0 ) {

(Continue reading)


Gmane