163
2006-Apr-05 14:55 UTC
"smb_maperror: Unmapped error 1:158"----[FreeBSD 4.11-RELEASE, samba-3.0.10, 1 , samba-libsmbclient-3.0.10_1]
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?ll find a message ?smb_maperror: Unmapped error 1:158? 6. after mount the windows-2003 share-flolder ,in some hour ,I found the freebsd can?t 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. 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=Sharing folder path=/Temp read only=no public=yes [global] workgroup = pcpop server string = Samba Server security = user load printers = yes log file = /var/log/samba/log.%m max log size = 50 socket options = IPTOS_LOWDELAY TCP_NODELAY interfaces = eth1 dns proxy = no [homes] comment = Home Directories browseable = yes writable = yes ??? ?? ????? / ??? _____ <http://www.gamigo.com.cn> ???????????????? ???????222?????25? ??:200021 Tel:(86-21)5396 5977 Fax:(86-21)5396 5976 FITS | Fun | Innovation | Technology | Service
dyd_281
2006-Apr-10 06:52 UTC
"smb_maperror: Unmapped error 1:158"----[FreeBSD 4.11-RELEASE, samba-3.0.10, 1 , samba-libsmbclient-3.0.10_1]
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?ll find a message ?smb_maperror: Unmapped error 1:158? 6. after mount the windows-2003 share-flolder ,in some hour ,I found the freebsd can?t 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. 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=Sharing folder path=/Temp read only=no public=yes [global] workgroup = pcpop server string = Samba Server security = user load printers = yes log file = /var/log/samba/log.%m max log size = 50 socket options = IPTOS_LOWDELAY TCP_NODELAY interfaces = eth1 dns proxy = no [homes] comment = Home Directories browseable = yes writable = yes ??? ?? ????? / ??? _____ <http://www.gamigo.com.cn> ???????????????? ???????222?????25? ??:200021 Tel:(86-21)5396 5977 Fax:(86-21)5396 5976 FITS | Fun | Innovation | Technology | Service
Michael Zach
2006-Apr-20 14:05 UTC
"smb_maperror: Unmapped error 1:158"----[FreeBSD 4.11-RELEASE, samba-3.0.10, 1 , samba-libsmbclient-3.0.10_1]
Hi, I had the same error, dunno if it helps you but it worked for me when I set the LC_ALL & LANG environment variables for all users in /etc/profile to LC_ALL=en_US.UTF-8 and LANG=en_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?ll find a message ?smb_maperror: Unmapped error > 1:158? > 6. after mount the windows-2003 share-flolder ,in some hour ,I found > the freebsd can?t 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. > > > 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=Sharing folder > path=/Temp > read only=no > public=yes > > [global] > workgroup = pcpop > server string = Samba Server > security = user > load printers = yes > log file = /var/log/samba/log.%m > max log size = 50 > socket options = IPTOS_LOWDELAY TCP_NODELAY > interfaces = eth1 > dns proxy = no > [homes] > comment = Home Directories > browseable = yes > writable = yes > > > > > > > ??? ?? > > ????? / ??? > > > > > _____ > > > > > > <http://www.gamigo.com.cn> > ???????????????? > > ???????222?????25? ??:200021 > > Tel:(86-21)5396 5977 Fax:(86-21)5396 5976 > > FITS | Fun | Innovation | Technology | Service-- 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 or confidential and is the property of Webges. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.