Bug 515190

Summary: Segmentation fault while executing smbclient command in Fedora 9 32 Bit
Product: [Fedora] Fedora Reporter: Basavaraja N R <basavaraja_nr>
Component: sambaAssignee: Simo Sorce <ssorce>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 11CC: azelinka, gdeschner, ssorce, sundaram
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-28 13:57:56 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:
Bug Depends On:    
Bug Blocks: 516996    

Description Basavaraja N R 2009-08-03 09:15:07 UTC
Description of problem:
Getting "Segmentation", when we try to get a file from windows using smbclient command.

Version-Release number of selected component (if applicable):
[root@fedora32b9 ~]# cat /etc/redhat-release
Fedora release 9 (Sulphur)
[root@fedora32b9 ~]#

How reproducible:


Steps to Reproduce:
1. Execute the smb-client command to get a file from Windows.
        smbclient \\\\10.10.60.5\\share -U administrator
2. Enter the Password, note that you will get a smb prompt.
         [root@fedora32b9 ~]# smbclient \\\\xxx.xxx.xxx.xxx\\share -U administrator
Enter administrator's password:
Domain=[LIKEWISEADS] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \> 

Here, 
   xxx.xxx.xxx.xxx (Intentionally IP is changed to xxx...)- is a windows IP address.
   share - is a folder from which the files will be copied.

3. Execute the command mget to copy the files.

NOTE: While executing the mget command, do not mention "*" or a file name, just enter "mget" and hit Enter.

  
Actual results: Getting the Segmentation fault, no files are listed.


Expected results: 
1. Should not get the "Segmentation fault" on entering "mget" command without mentioning the files.
2. Should list all the contents of the folder as like other distros Eg: OpenSuSE 10.1 32 Bit.


Additional info:

[root@fedora32b9 ~]# smbclient \\\\xxx.xxx.xxx.xxx\\share -U administrator
Enter administrator's password:
Domain=[LIKEWISEADS] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \> mget
Segmentation fault
[root@fedora32b9 ~]# smbclient \\\\xxx.xxx.xxx.xxx\\share -U administrator
Enter administrator's password:
Domain=[LIKEWISEADS] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \> mget *
Get file imagetool.zip? ^C
[root@fedora32b9 ~]#

Comment 1 Rahul Sundaram 2009-08-03 09:20:16 UTC
This bug report was not filed against the right component but Fedora 9 has been End of Life for quite sometime now. 

http://fedoraproject.org/wiki/End_of_life

This means you won't be any getting any more updates for this release and will have to upgrade to a newer release. Fedora 10 and Fedora 11 are currently maintained and I encourage you to move to either of them.

Comment 2 Basavaraja N R 2009-08-03 09:40:15 UTC
Fedora 10 32 Bit
----------------

[root@fedora32b10 ~]#  smbclient \\\\xxx.xxx.xxx.xxx\\share -U administrator
Enter administrator's password:
Domain=[LIKEWISEADS] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \> mget
Segmentation fault
[root@fedora32b10 ~]# cat /etc/redhat-release
Fedora release 10 (Cambridge)
[root@fedora32b10 ~]#
[root@fedora32b10 ~]#  smbclient \\\\xxx.xxx.xxx.xxx\\share -U administrator
Enter administrator's password:
Domain=[LIKEWISEADS] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \> mget
Segmentation fault
[root@fedora32b10 ~]# cat /etc/redhat-release
Fedora release 10 (Cambridge)
[root@fedora32b10 ~]#
 

Fedora 10 64 Bit
----------------

[root@fedora64b10 ~]# cat /etc/redhat-release
Fedora release 10 (Cambridge)
[root@fedora64b10 ~]# smbclient \\\\xxx.xxx.xxx.xxx\\share -U administrator
Enter administrator's password:
Domain=[LIKEWISEADS] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \> mget
Segmentation fault
[root@fedora64b10 ~]#



Fedora 11 64 Bit
----------------

[root@Fedora64b11 ~]# smbclient \\\\xxx.xxx.xxx.xxx\\share -U administrator
Enter administrator's password:
Domain=[LIKEWISEADS] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \>
smb: \>  mget
nothing to mget
smb: \> mget
nothing to mget
smb: \> mget *
Get file imagetool.zip? ^C
You have mail in /var/spool/mail/root
[root@Fedora64b11 ~]# cat /etc/redhat-release
Fedora release 11 (Leonidas)
[root@Fedora64b11 ~]#

Comment 3 Bug Zapper 2010-04-28 09:31:34 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Bug Zapper 2010-06-28 13:57:56 UTC
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.