Bug 109156

Summary: OS/2 can browse directories but not read files
Product: [Fedora] Fedora Reporter: Felix Miata <mrmazda>
Component: sambaAssignee: Simo Sorce <ssorce>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: 3.0.24-1.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-14 15:28:45 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 Felix Miata 2003-11-05 04:21:12 UTC
Description of problem:
Using same /etc/samba/smb.conf file as used before replacing shrike
with test3, and the same as currently used successfully in SusE (same
machine) and Mandrake (different machine) in their samba 2.2.x
versions, W2K can both browse and read shared files and directories,
but OS/2 can only read directories, not files, always getting an
access denied when attempting to do so.

Version-Release number of selected component (if applicable):
3.0.0-15

How reproducible:
100%

Steps to Reproduce:
1.create share of Linux resource on the OS/2 box
2.browse the share
3.try to copy a file to a local destination
  
Actual results:
file access denied

Expected results:
file successfully copied

Additional info:
If there are clues to solving this in /var/log/samba/* or man samba,
I'm missing them. 

/etc/samba/user1.encrypt (OS/2)
encrypt passwords=no

/etc/samba/user1.cred (OS/2)
username = user1
password =

/etc/samba/user2.encrypt (W2K)
encrypt passwords=yes

/etc/samba/user2.cred (W2K)
username = user2
password =

/etc/samba/smb.conf
[global]
	dns proxy = No
	encrypt passwords = No
	include = %m.encrypt
	log file = /var/log/samba/log.%m
	netbios name = user3
	null passwords = Yes
	preferred master = No
	security = share
	server string = Samba Server %v
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	valid users = user1,user2,user4
	workgroup = IBMPEERS
[home]
	comment = Home Directories
	path = /home
	read only = Yes
	browseable = Yes
[downloads]
	comment = Downloads Directory
	path = /home/downloads
	read only = No
	browseable = Yes
[isospace]
	comment = CD Storage
	path = /mnt/isospace
	read only = Yes
	browseable = Yes
[tmp]
	comment = tmp
	path = /tmp
	read only = Yes
	browseable = Yes
[windoze]
	comment = Windoze Drive C:
	path = /mnt/C
	read only = Yes
	browseable = Yes

Comment 1 Jay Fenlason 2004-11-30 16:13:19 UTC
Can you confirm that this is still a problem with the recently released 3.0.9 
rpms? 

Comment 2 Felix Miata 2004-11-30 17:02:57 UTC
Not until I get a chance to move from FC2 to FC3, maybe not until after Christmas. 

Comment 3 Jay Fenlason 2004-11-30 17:08:40 UTC
I released 3.0.9 rpms for fc2 too, so you don't need to reinstall the whole 
box, just update the Samba packages. 

Comment 4 Felix Miata 2005-01-03 01:24:04 UTC
No improvement as of samba-3.0.10-1.fc3

Comment 5 Felix Miata 2005-01-03 01:54:41 UTC
https://bugzilla.samba.org/show_bug.cgi?id=1979 is the closest open
upstream bug I could find

Comment 6 Felix Miata 2006-11-07 15:39:30 UTC
I cannot duplicate the problem in 3.0.23c-2 (FC6).

Comment 7 Christian Iseli 2007-01-22 10:32:33 UTC
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Thanks.

Comment 8 Felix Miata 2007-01-22 13:26:39 UTC
comment 6 is the answer to comment 7

Comment 9 Simo Sorce 2007-03-14 15:28:45 UTC
seem 3.0.23c-2 already fixed this, closing, repoen if still present in current
release