"smb_maperror: Unmapped error 1:158"----[FreeBSD 4.11-RELEASE, samba-3.0.10, 1 , samba-libsmbclient-3.0.10_1]

163 dyd281 at 163.com
Wed Apr 5 14:30:19 UTC 2006

    FreeBSD 4.11-RELEASE
    windows 2003
1. a share-folder is  in  windows-2003.  
2. mount_smbfs  -I windows-2003-ip //hostname/folder
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
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 "                        " 
comment=Sharing folder   
read only=no
   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 
   comment = Home Directories
   browseable = yes
   writable = yes

丁有冬  敬上

监控组主管 / 技术部





上海市淮海中路222号力宝广场25楼   邮编:200021

Tel:(86-21)5396 5977   Fax:(86-21)5396 5976

FITS | Fun | Innovation | Technology | Service

More information about the freebsd-stable mailing list