From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3d609f1cb6f9766d1b48a480ba39935c@gmx.de> To: 9fans@9fans.net Date: Wed, 10 Mar 2010 06:22:46 +0100 From: cinap_lenrek@gmx.de In-Reply-To: <4B90E45D.6080701@magma.com.ni> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ksfwpohidqjflgoyipsoebauod" Subject: Re: [9fans] Aquarela faulting Topicbox-Message-UUID: e5b0cb38-ead5-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-ksfwpohidqjflgoyipsoebauod Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit just got a aquarela crash when trying to mount it from windows xp. w2k worked fine. the offending code (with fix) was this: /n/dump/2010/0307/sys/src/cmd/aquarela/smbcomsessionsetupandx.c:119,124 - smbcomsessionsetupandx.c:119,130 smbseterror(s, ERRSRV, ERRbadpw); goto errordone; } + if(s->cs == nil){ + smblogprint(h->command, + "smbcomsessionsetupandx: s->cs == nil\n"); + smbseterror(s, ERRSRV, ERRbadpw); + goto errordone; + } memcpy(&s->client.mschapreply, mschapreply, sizeof(s->client.mschapreply)); s->cs->user = accountname; s->cs->resp = &s->client.mschapreply; turned out, s->cs was nil and i got the following message when turning on debugging: s->cs = auth_challenge("proto=mschap role=server"); if (s->cs == nil) { smblogprint(h->command, "smbnegotiate: couldn't get mschap challenge\n"); return SmbProcessResultMisc; } so auth failed. i'v diffed the authserver and factotum code and noticed that here where some mschap related changes so i applied them, build factotum and authsrv and made a new kernel and it all works now. not sure if this was the same problem here... its easy to diagnose... touch /sys/log/aquarela and turn on debugging. also when something crashes you make ps, find the broken process pid and run acid pid, then type lstk(). then you copy and paste the output of acid and put them in your troubleshooting mail. another thing... could we replace the ascii art wich looks like a mix of c-comments, lisp, brainfuck and hitler that the windows network drive property dialog shows on the volume size of the aquarela share to something else? "Capacity: /*-(, bytes -16384" -- cinap --upas-ksfwpohidqjflgoyipsoebauod Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-bounces+cinap_lenrek=gmx.de@9fans.net> X-Flags: 0000 Delivered-To: GMX delivery to cinap_lenrek@gmx.de Received: (qmail invoked by alias); 05 Mar 2010 10:35:20 -0000 Received: from gouda.swtch.com (EHLO gouda.swtch.com) [67.207.142.3] by mx0.gmx.net (mx019) with SMTP; 05 Mar 2010 11:35:20 +0100 Received: from localhost ([127.0.0.1] helo=gouda.swtch.com) by gouda.swtch.com with esmtp (Exim 4.69) (envelope-from <9fans-bounces@9fans.net>) id 1NnUoG-0000ba-5m; Fri, 05 Mar 2010 10:31:08 +0000 Received: from home.turim.anteris.net ([88.198.75.27]) by gouda.swtch.com with esmtp (Exim 4.69) (envelope-from ) id 1NnUoE-0000bV-UY for 9fans@9fans.net; Fri, 05 Mar 2010 10:31:07 +0000 Received: (qmail 30158 invoked from network); 5 Mar 2010 10:31:03 -0000 Received: from cpe90-146-227-44.liwest.at (HELO [10.0.0.3]) (jorge@magma.com.ni@[90.146.227.44]) (envelope-sender ) by home.turim.anteris.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for <9fans@9fans.net>; 5 Mar 2010 10:31:03 -0000 Message-ID: <4B90E45D.6080701@magma.com.ni> Date: Fri, 05 Mar 2010 12:00:45 +0100 From: Georg Lehner User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <4B8C3411.6000500@magma.com.ni> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [9fans] Aquarela faulting X-BeenThere: 9fans@9fans.net X-Mailman-Version: 2.1.10 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.9fans.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces@9fans.net Errors-To: 9fans-bounces+cinap_lenrek=gmx.de@9fans.net X-GMX-Antivirus: 0 (no virus found) X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p6i75npGen84eVAEFK/syJmiNoEBJhgjYKpglu1TZLLw7xMZnJMXwBFK0zrU udEInhYyaWAzwtcf5K2pCdD+gZ2/z4PnBLkwixGASrqBNk5Pv3bcvHn3tbs4oIltnQrVWdt4WTJN xmyXA==V1; X-GMX-UID: XeynfMkIbGI0JIYxzmRn1KhncmZ1Zhy8 erik quanstrom wrote: > perhaps the new cifs server would be better? > A pointer please. Already searched mailing list, (8) man pages, and the contrib packages but only found mention to aquarela as a cifs server. Thanks, and Regards, Jorge-Le�n --upas-ksfwpohidqjflgoyipsoebauod--