Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 16:05:50 +0200
From:      Michael Zach <zach@webges.com>
To:        freebsd-stable@freebsd.org, "dyd_281" <dyd_281@hotmail.com>
Subject:   Re: "smb_maperror: Unmapped error 1:158"----[FreeBSD 4.11-RELEASE, samba-3.0.10, 1 , samba-libsmbclient-3.0.10_1]
Message-ID:  <200604201605.51758.zach@webges.com>
In-Reply-To: <BAY111-DAV52E2909008F38FA124E0CD2CC0@phx.gbl>
References:  <BAY111-DAV52E2909008F38FA124E0CD2CC0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I had the same error, dunno if it helps you but it worked for me when I set=
=20
the LC_ALL & LANG environment variables for all users in /etc/profile to=20
LC_ALL=3Den_US.UTF-8 and LANG=3Den_US

cheers,
Michael


On Monday 10 April 2006 02:57, dyd_281 wrote:
> Sir:
>     FreeBSD 4.11-RELEASE
> samba-3.0.10,1
> samba-libsmbclient-3.0.10_1
>     windows 2003
>
> 1. a share-folder is  in  windows-2003.
> 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=E2=80=99ll find a message =E2=80=9Csmb_maperror: U=
nmapped error
> 1:158=E2=80=9D
> 6. after mount the windows-2003 share-flolder ,in some hour ,I found
> the freebsd can=E2=80=99t  login in with  ssh  or telnet.  But  I can pin=
g it .
> 7. when it happen, the only way to resolve the problem is to reboot the
> freebsd server.
>
>
> So,could tell me how to  avoid this problem.
>
> su-2.05b# more  /usr/local/etc/smb.conf|grep  -v "#"|grep -v ";"|grep
> -v "                        "
> [myShare]
> comment=3DSharing folder
> path=3D/Temp
> read only=3Dno
> public=3Dyes
>
> [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
> [homes]
>    comment =3D Home Directories
>    browseable =3D yes
>    writable =3D yes
>
>
>
>
>
>
> =E4=B8=81=E6=9C=89=E5=86=AC  =E6=95=AC=E4=B8=8A
>
> =E7=9B=91=E6=8E=A7=E7=BB=84=E4=B8=BB=E7=AE=A1 / =E6=8A=80=E6=9C=AF=E9=83=
=A8
>
>
>
>
>   _____
>
>
>
>
>
>  <http://www.gamigo.com.cn>;
> =E6=B8=B8=E6=88=8F=E7=B1=B3=E6=9E=9C=E7=BD=91=E7=BB=9C=E7=A7=91=E6=8A=80=
=EF=BC=88=E4=B8=8A=E6=B5=B7=EF=BC=89=E6=9C=89=E9=99=90=E5=85=AC=E5=8F=B8
>
> =E4=B8=8A=E6=B5=B7=E5=B8=82=E6=B7=AE=E6=B5=B7=E4=B8=AD=E8=B7=AF222=E5=8F=
=B7=E5=8A=9B=E5=AE=9D=E5=B9=BF=E5=9C=BA25=E6=A5=BC   =E9=82=AE=E7=BC=96:200=
021
>
> Tel:(86-21)5396 5977   Fax:(86-21)5396 5976
>
> FITS | Fun | Innovation | Technology | Service

=2D-=20
Michael Zach
e: zach@webges.com
p: +43-1-3196999-22
f: +43-1-3196999-33
w: www.webges.com

WEBGES Meeting Applications
Nussdorferstrasse 20/22a
1090 Vienna
Austria

This message contains information that may be privileged=20
or confidential and is the property of Webges.=20
It is intended only for the person to whom it is addressed.=20
If you are not the intended recipient, you are not=20
authorized to read, print, retain, copy, disseminate,=20
distribute, or use this message or any part thereof.=20
If you receive this message in error, please notify the=20
sender immediately and delete all copies of this message.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604201605.51758.zach>