From nobody@FreeBSD.org  Mon Aug 28 19:50:04 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E1D0516A4E8
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 28 Aug 2006 19:50:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7B4E743D6D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 28 Aug 2006 19:50:04 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7SJo2t5055986
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 28 Aug 2006 19:50:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k7SJo2AE055983;
	Mon, 28 Aug 2006 19:50:02 GMT
	(envelope-from nobody)
Message-Id: <200608281950.k7SJo2AE055983@www.freebsd.org>
Date: Mon, 28 Aug 2006 19:50:02 GMT
From: Daniel Albers <computing@kpfa.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 7 x "smb_maperror: Unmapped error 1:158" at Open Office write to share
X-Send-Pr-Version: www-2.3

>Number:         102617
>Category:       i386
>Synopsis:       [smbfs] [editors/ooo] 7 x "smb_maperror: Unmapped error 1:158" at Open Office write to share
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    vwe
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 28 19:50:24 GMT 2006
>Closed-Date:    
>Last-Modified:  Sun May 18 11:41:38 UTC 2008
>Originator:     Daniel Albers
>Release:        6.1
>Organization:
KPFA FM 94.1
>Environment:
6.1-STABLE FreeBSD 6.1-STABLE #3: Mon Aug 21 20:45:11 PDT 2006
Open Office 2.0
>Description:
File opened in Open Office; press the 'save' button, and seven messages are appended to /var/log/messages
   "smb_maperror: Unmapped error 1:158"

/etc/fstab entry:
  //dan@sataraid/computing!       /computing      smbfs   rw      0       0

~/.nsmbrc
  and
/etc/nsmb.conf
  [SATARAID]
  addr=satar5.kpfa.lan
  [SATARAID:DAN]
  password=xxxxxxxxxx

Opening a terminal, and navigating to the target folder (/computing/docs/journals)
and creating/saving a file with vi does NOT cause the messages to appear.
>How-To-Repeat:
Create/change a file using OpenOffice 2.0 and save to samba share on FreeBSD 6.1.
>Fix:
No fix, but I will also contact the Open Office people.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Sun Sep 3 09:10:37 UTC 2006 
State-Changed-Why:  
Daniel and I had been discussing this already, mark the PR as feedback 
so that others know this as well. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102617 
Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sun Sep 3 09:11:05 UTC 2006 
Responsible-Changed-Why:  
Grab the PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102617 

From: Anders Nordby <anders@fupp.net>
To: bug-followup@FreeBSD.org, computing@kpfa.org, remko@FreeBSD.org
Cc:  
Subject: i386/102617: 7 x "smb_maperror: Unmapped error 1:158" at Open Office write to share
Date: Fri, 1 Jun 2007 13:10:12 +0200

 Hi,
 
 I have the same problem in FreeBSD 6.1-RELEASE, which runs smbfs to
 mount filesystems off Samba on another FreeBSD server.
 
 Any progress on this problem?
 
 Bye,
 
 -- 
 Anders.

From: Daniel Albers <comp@kpfa.org>
To: Anders Nordby <anders@fupp.net>
Cc: remko@FreeBSD.org,  bug-followup@FreeBSD.org
Subject: Re: i386/102617: 7 x "smb_maperror: Unmapped error 1:158" at Open
 Office write to share
Date: Fri, 01 Jun 2007 12:04:26 -0700

 This is a multi-part message in MIME format.
 --------------040709050408050303010803
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Anders Nordby wrote:
 > Hi,
 >
 > I have the same problem in FreeBSD 6.1-RELEASE, which runs smbfs to
 > mount filesystems off Samba on another FreeBSD server.
 >
 > Any progress on this problem?
 >
 > Bye,
 >
 >   
 I'm still getting the message
 
     Jun  1 11:49:39 free156 kernel: smb_maperror: Unmapped error 1:158
     Jun  1 11:59:39 free156 last message repeated 2 times
 
 I have been ignoring it, looking forward to trying the next Samba 
 upgrade on the
 server hosting my file shares.
 
 My workstation is at FreeBSD 6.2-RELEASE-p3 and Open Office is 2.2.
 
 I'm also getting
 
     Jun  1 11:41:29 xxxxxxxx smbd[95359]: [2007/06/01 11:41:29, 0] 
 smbd/nttrans.c:call_nt_transact_ioctl(2332)
     Jun  1 11:41:29 xxxxxxxx smbd[95359]:   
 call_nt_transact_ioctl(0x280004): Currently not implemented.
 
 in the server's /var/log/messages when someone prints to one of the 
 Samba printers. The server
 is at FreeBSD 6.1-RELEASE-p11 and smbd version 3.0.23c and the 
 workstations are WinXP and Win2000,
 using the print drivers on the local machines.
 
 
 Dan Albers
 
 --------------040709050408050303010803
 Content-Type: text/x-vcard; charset=utf-8;
  name="comp.vcf"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="comp.vcf"
 
 begin:vcard
 fn:Daniel Albers
 n:Albers;Daniel
 email;internet:computing@kpfa.org
 tel;work:1-510-848-6767 x211
 tel;fax:1-510-848-5776
 version:2.1
 end:vcard
 
 
 --------------040709050408050303010803--
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Sun Mar 2 05:59:23 UTC 2008 
State-Changed-Why:  
Feedback was received some time ago. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102617 
Responsible-Changed-From-To: remko->freebsd-bugs 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon May 12 16:46:44 UTC 2008 
Responsible-Changed-Why:  
After all this time i am still clueless about why this happends, 
it doesn't show often else we would have seen this much more 
times etc. 

Return to pool for further evaluation. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102617 
Responsible-Changed-From-To: freebsd-bugs->vwe 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Sun May 18 11:39:20 UTC 2008 
Responsible-Changed-Why:  

I think I'm able to reproduce this problem 
grab for futher analysis 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102617 
>Unformatted:
