From owner-freebsd-stable@FreeBSD.ORG Mon Apr 10 00:54:27 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C88B516A403 for ; Mon, 10 Apr 2006 00:54:27 +0000 (UTC) (envelope-from dyd_281@hotmail.com) Received: from hotmail.com (bay111-dav5.bay111.hotmail.com [64.4.17.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DEA043D46 for ; Mon, 10 Apr 2006 00:54:26 +0000 (GMT) (envelope-from dyd_281@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 9 Apr 2006 17:54:25 -0700 Message-ID: Received: from 210.22.158.10 by BAY111-DAV5.phx.gbl with DAV; Mon, 10 Apr 2006 00:54:23 +0000 X-Originating-IP: [210.22.158.10] X-Originating-Email: [dyd_281@hotmail.com] X-Sender: dyd_281@hotmail.com From: "dyd_281" To: Date: Mon, 10 Apr 2006 08:57:44 +0800 Message-ID: <5E9FFDB536E28F45847E3F7EFEFF0741D6DC@gamigo-backup.gamigodc.com> MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0002_01C65C7C.D5139BD0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-OriginalArrivalTime: 10 Apr 2006 00:54:25.0859 (UTC) FILETIME=[50690930:01C65C39] X-Mailman-Approved-At: Mon, 10 Apr 2006 06:52:27 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: "smb_maperror: Unmapped error 1:158"----[FreeBSD 4.11-RELEASE, samba-3.0.10, 1 , samba-libsmbclient-3.0.10_1] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 00:54:27 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0002_01C65C7C.D5139BD0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable =20 Sir: FreeBSD 4.11-RELEASE samba-3.0.10,1=20 samba-libsmbclient-3.0.10_1 windows 2003 =20 1. a share-folder is in windows-2003. =20 2. mount_smbfs -I windows-2003-ip //hostname/folder /usr/home/alan/zfsbackup 3. about 60 servers have same crontab to make ftp connect to the Freebsd server,and will send some files to the /usr/home/alan/zfsbackup, (these files are stored in the windows-2003) 4. the crantab is be executed every hours. 5. each ftp connect I=A1=AFll find a message =A1=B0smb_maperror: = Unmapped error 1:158=A1=B1 6. after mount the windows-2003 share-flolder ,in some hour ,I found the freebsd can=A1=AFt login in with ssh or telnet. But I can ping = it . 7. when it happen, the only way to resolve the problem is to reboot the freebsd server. =20 =20 So,could tell me how to avoid this problem. =20 su-2.05b# more /usr/local/etc/smb.conf|grep -v "#"|grep -v ";"|grep -v " "=20 [myShare] =20 comment=3DSharing folder =20 path=3D/Temp =20 read only=3Dno public=3Dyes =20 [global] workgroup =3D pcpop server string =3D Samba Server security =3D user load printers =3D yes log file =3D /var/log/samba/log.%m max log size =3D 50 socket options =3D IPTOS_LOWDELAY TCP_NODELAY interfaces =3D eth1 dns proxy =3D no=20 [homes] comment =3D Home Directories browseable =3D yes writable =3D yes =20 =20 =20 =20 =20 =B6=A1=D3=D0=B6=AC =BE=B4=C9=CF =BC=E0=BF=D8=D7=E9=D6=F7=B9=DC / =BC=BC=CA=F5=B2=BF =20 _____ =20 =20 =20 =20 =D3=CE=CF=B7=C3=D7=B9=FB=CD=F8=C2=E7=BF=C6=BC=BC=A3=A8=C9=CF=BA=A3=A3=A9=D3= =D0=CF=DE=B9=AB=CB=BE =C9=CF=BA=A3=CA=D0=BB=B4=BA=A3=D6=D0=C2=B7222=BA=C5=C1=A6=B1=A6=B9=E3=B3=A1= 25=C2=A5 =D3=CA=B1=E0:200021 Tel:(86-21)5396 5977 Fax:(86-21)5396 5976 FITS | Fun | Innovation | Technology | Service =20 =20 =20 ------=_NextPart_000_0002_01C65C7C.D5139BD0--