From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1e2aeb795d8487e0700bf8449aaffcf0@plan9.bell-labs.com> From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] "bad authentication domain" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 24 Apr 2003 13:15:27 -0400 Topicbox-Message-UUID: 988047c6-eacb-11e9-9e20-41e7f4b1d025 As the C compiler counts it, sizeof(Nvrsafe) is 112, so your file is definitely too short. Maybe you set nvrlen= something in your plan9.ini? That would be bad if it were less than the safe size. I see struct Nvrsafe { char machkey[DESKEYLEN]; uchar machsum; char authkey[DESKEYLEN]; uchar authsum; char config[CONFIGLEN]; uchar configsum; char authid[ANAMELEN]; uchar authidsum; char authdom[DOMLEN]; uchar authdomsum; }; g% hoc 7+1+7+1+14+1+28+1+48+1 109 g% so I think if you have only 108 bytes, that would explain why the authdom isn't checksumming properly.