From owner-FreeBSD-users-jp@jp.FreeBSD.org Wed Jul 21 23:10:41 2004
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id i6LEAfp90141;
	Wed, 21 Jul 2004 23:10:41 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mail1.accsnet.ne.jp (mail1.accsnet.ne.jp [210.235.48.69])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id i6LEAf890136
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 21 Jul 2004 23:10:41 +0900 (JST)
	(envelope-from ushida@msa.biglobe.ne.jp)
Received: from olive.localdomain (164.248.accsnet.ne.jp [202.220.248.164])
	by mail1.accsnet.ne.jp (8.9.3p2/3.7W-ns) with ESMTP id XAA03779
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 21 Jul 2004 23:10:40 +0900 (JST)
Received: from dove.localdomain (dove.localdomain [192.168.0.2])
	by olive.localdomain (Postfix) with SMTP id E30F4CE
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 21 Jul 2004 23:10:39 +0900 (JST)
From: Jun USHIDA <ushida@msa.biglobe.ne.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
In-Reply-To: Your message of "Tue, 20 Jul 2004 22:17:04 +0900".
	<20040720131703442.LJEL@kfep01.dion.ne.jp>
References: <20040720131703442.LJEL@kfep01.dion.ne.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <040721231038.M0147560@ushida.msa.biglobe.ne.jp>
X-Mailer: mnews [version 1.22PL5] 2001-02/07(Wed)
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 21 Jul 2004 23:10:39 +0900
X-Sequence: FreeBSD-users-jp 80201
Subject: [FreeBSD-users-jp 80201] Re: /src/sys/netsmb,  smb_maperror: Unmappederror 1:158
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: ushida@msa.biglobe.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+040717

$B5mED$H?=$7$^$9!%(B

<20040720131703442.LJEL@kfep01.dion.ne.jp>$B$N5-;v$K$*$$$F(B
2004$BG/(B07$B7n(B20$BF|(B($B2P(B) 22$B;~(B17$BJ,(B04$BIC:"!"(Bkunihiro.kusano$B$5$s$O=q$+$l$^$7$?!%(B

-*- snip -*- snip -*- snip -*- snip -*- snip -*- snip -*- snip -*- snip 
|   330	
|   331	/*
|   332	 * Error classes
|   333	 */
|   334	#define SMBSUCCESS	0x00
|   335	#define ERRDOS		0x01
|   336	#define ERRSRV		0x02
|   337	#define ERRHRD		0x03	/* Error is a hardware error. */
|   338	#define ERRCMD		0xFF	/* Command was not in the "SMB" format. */
|   339	
|   340	/*
|   341	 * Error codes for the ERRDOS class
|   342	 */
|   343	#define ERRbadfunc	1	/* Invalid function */
|   344	#define ERRbadfile	2	/* File not found (last component) */
|   345	#define ERRbadpath	3	/* Directory invalid */
|   346	#define ERRnofids	4	/* Too many open files */
|   347	#define ERRnoaccess	5	/* Access denied */
|snip
|   369	#define ERRunknownlevel 124
|   370	#define ERRnotlocked	158	/* region was not locked by this context */
|
|eno 158 $B$N(B region was not locked by this context $B$rD>Lu$9$k$H!"(B
|region$B!JHO0O!K$O!"$3$N(B context$B!J4X78!K$K$h$C$F!"%m%C%/$5$l$J$+$C$?!"$H$G$b$J$j$^$9$G$7$g$&$+!#(B
|
|region $B$,2?$J$N$+!"(Bcontext $B$,2?$J$N$+$O!"J,$j$^$;$s!#(B
|$B$^$?!"E*$r$O$:$7$?%(%i!<$,I=<($5$l$k;v$b$"$j$^$9$N$G!"(B
|
|$B$3$N%(%i!<$,!"LdBj$N2r7h$N;e8}$K$J$k$H$O8B$j$^$;$s$,!"(B
|Windows $B$H%U%!%$%k6&M-$7$F$$$k$H$$$&;v$H!"%(%i!<$,(B ERRDOS $B$G$"$k$3$H$H$O!"(B
|
|$B4X78$"$k$+$bCN$l$^$;$s$M!#(B
|$B0J>e!"$*Lr$KN)$?$J$$$H;W$$$^$9$,!"(Breply $B$,>/$J$$$h$&$G$9$N$G!#(B

$B%U%)%m!<$r$"$j$,$H$&$4$6$$$^$9!%(B
$B!V%m%C%/$5$l$J$+$C$?!W$H$$$&$N$,!$(B file $B$N(B lock $B$@$H$9$k$H!$(B
mount_smbfs $B$G%^%&%s%H$7$F$$$k(B file system $B$rIQHK$KFI$_=q$-$9$k$H(B
$BIQH/$9$k$+$bCN$l$^$;$s$M!%(B

$B$b$&>/$7MM;R$r$_$F$_$h$&$H;W$$$^$9!%(B
$B$"$j$,$H$&$4$6$$$^$7$?!%(B
--
Jun Ushida
