Bug 48906

Summary: Samba Client just gets 0xc002002e instead of a text message
Product: [Retired] Red Hat Linux Reporter: frank.lammers
Component: sambaAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: pcfe
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-27 01:12:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description frank.lammers 2001-07-12 14:17:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [de]C-CCK-MCD DT  (WinNT; U)

Description of problem:
A user browsing a samba share from within windows-explorer tries
to get ownership of a file on the samba share.
The user just gets a popup with 0xc002002e and no further explainations.
Also we know the function the user tries is not implemented it would
be better if the user gets a text message and not just a number.
like.:
---------------
0xC002002E RPC_NT_PROCNUM_OUT_OF_RANGE

The procedure number is out of range.
--------------
This is from the MS-Help.


How reproducible:
Always

Steps to Reproduce:
1. in the MS-Explorer right click on as file on the samba share 
2. try to get ownership of the file
3.
	

Expected Results:  A text message should come up 
maybe (Not Supported) 

Additional info:

Comment 1 Trond Eivind Glomsrxd 2001-07-13 22:37:21 UTC
Normally, I would think it the client programs responsibility to show error
messages... why do you think the samba server is capable of doing it for the
client? (not rhetorical, I'm interested). I'd also suggest than discussing this
on one of the sama-lists, to see what the developers think of it.

Comment 2 Andrew Bartlett 2001-08-27 01:12:22 UTC
It is up to the client to make somthing useful out of the error number and there
is nothing the Samba server can do in this case.  This does not rule out changes
in Samba however, as its often possible to return a different error code which
will actually be mapped to an error string by the client.

In this case I suspect the functionality simply was not implemented in the
version of Samba you are using (you failed to mention which one in the report,
and I don't know what RH71 shipped with).  More recent versions of samba have
the 'Take ownership' RPC implemented, but only for root (due to the way unix
perms operate).

Andrew Bartlett
abartlet

Comment 3 Trond Eivind Glomsrxd 2001-08-27 01:17:29 UTC
Red Hat Linux 7.1 shipped with 2.0.7, this was upgraded to 2.0.10 in a security
errata.

Comment 4 Andrew Bartlett 2001-08-27 01:19:16 UTC
It is up to the client to make somthing useful out of the error number and there
is nothing the Samba server can do in this case.  This does not rule out changes
in Samba however, as its often possible to return a different error code which
will actually be mapped to an error string by the client.

In this case I suspect the functionality simply was not implemented in the
version of Samba you are using (you failed to mention which one in the report,
and I don't know what RH71 shipped with).  More recent versions of samba have
the 'Take ownership' RPC implemented, but only for root (due to the way unix
perms operate).

Andrew Bartlett
abartlet