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

2006-04-20 Thread Michael Zach
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: [EMAIL PROTECTED]
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.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2006-04-09 Thread dyd_281
  
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
 
 
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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

2006-04-05 Thread 163
  
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
 
 
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: smb_maperror: Unmapped error 1:158

2006-02-13 Thread Steve Hodgson

Mike Jakubik wrote:

Steve Hodgson wrote:

Mike Jakubik wrote:


Jan 26 17:01:47 desktop kernel: smb_maperror: Unmapped error 1:158
Jan 26 17:02:18 desktop last message repeated 52 times
Jan 26 17:04:19 desktop last message repeated 646 times
Jan 26 17:14:20 desktop last message repeated 6342 times



The fix for this out of the NetBSD source tree is (apply in /usr/src):

--- sys/netsmb/smb_subr.old Mon Feb 13 20:21:09 2006
+++ sys/netsmb/smb_subr.c   Mon Feb 13 20:23:49 2006
@@ -273,6 +273,9 @@
   return EEXIST;
   case ERRquota:
   return EDQUOT;
+   case ERRnotlocked:
+   /* it's okay to try to unlock already unlocked 
file */

+   return 0;
   }
   break;
   case ERRSRV:

When I tried this I got couldn't logon to the server, and I got 
"smb_encrypt: password encryption is not available" messages in syslog. 
The following patch just is essentially a noop, but removes the 
(original) "unmapped 1:158" error:


--- sys/netsmb/smb_subr.old Mon Feb 13 20:21:09 2006
+++ sys/netsmb/smb_subr.c   Mon Feb 13 20:23:49 2006
@@ -273,6 +273,9 @@
   return EEXIST;
   case ERRquota:
   return EDQUOT;
+   case ERRnotlocked:
+   return EBADRPC;
   }
   break;
   case ERRSRV:

I've not tried this though.

Steve
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: smb_maperror: Unmapped error 1:158

2006-01-29 Thread Steve Hodgson

Mike Jakubik wrote:

Anyone know what the problem is? I've searched around, and people have 
reported this as far as the 4.x days, however no one ever replied to 
any of these reports. In some cases, people report lockups of machines 
and slow downs accessing the share. In my case, i am experiencing a 
slow down.


I pointed rhythmbox to my media library, which is mounted from a 
samba3 server on another fbsd box and this is what i see in the logs:


Jan 26 17:01:47 desktop kernel: smb_maperror: Unmapped error 1:158
Jan 26 17:02:18 desktop last message repeated 52 times
Jan 26 17:04:19 desktop last message repeated 646 times
Jan 26 17:14:20 desktop last message repeated 6342 times


I get this message frequently, almost every time I access my media 
library over samba. I have always put it down to a character encoding 
issue, but I have never investigated it properly since it's been there 
since I started using freebsd. I've certainly never had a crash or hang 
associated with these messages.


Steve
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: smb_maperror: Unmapped error 1:158

2006-01-27 Thread Mike Jakubik

Steve Hodgson wrote:

Mike Jakubik wrote:


Jan 26 17:01:47 desktop kernel: smb_maperror: Unmapped error 1:158
Jan 26 17:02:18 desktop last message repeated 52 times
Jan 26 17:04:19 desktop last message repeated 646 times
Jan 26 17:14:20 desktop last message repeated 6342 times


I get this message frequently, almost every time I access my media 
library over samba. I have always put it down to a character encoding 
issue, but I have never investigated it properly since it's been there 
since I started using freebsd. I've certainly never had a crash or 
hang associated with these messages.


I've tried setting the encoding to ASCII on both client and server, but 
it made no difference. I think this error should be investigated.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


smb_maperror: Unmapped error 1:158

2006-01-26 Thread Mike Jakubik
Anyone know what the problem is? I've searched around, and people have 
reported this as far as the 4.x days, however no one ever replied to any 
of these reports. In some cases, people report lockups of machines and 
slow downs accessing the share. In my case, i am experiencing a slow down.


I pointed rhythmbox to my media library, which is mounted from a samba3 
server on another fbsd box and this is what i see in the logs:


Jan 26 17:01:47 desktop kernel: smb_maperror: Unmapped error 1:158
Jan 26 17:02:18 desktop last message repeated 52 times
Jan 26 17:04:19 desktop last message repeated 646 times
Jan 26 17:14:20 desktop last message repeated 6342 times

//[EMAIL PROTECTED]/DATA 73G 21G 51G29%/mnt/data
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"