RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1581016 - smbclient echos 'Try "help" to get a list of possible commands.' to tty
Summary: smbclient echos 'Try "help" to get a list of possible commands.' to tty
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: samba
Version: 7.5
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: jstephen
QA Contact: Andrej Dzilský
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-22 01:11 UTC by joel
Modified: 2021-06-10 16:13 UTC (History)
6 users (show)

Fixed In Version: samba-4.8.3-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 08:00:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3056 0 None None None 2018-10-30 08:00:41 UTC
Samba Project 13485 0 None None None 2018-07-05 17:27:34 UTC

Description joel 2018-05-22 01:11:33 UTC
Description of problem:

new samba output gives help notice, this breaks pre-existing scripts
Version-Release number of selected component (if applicable):
4.7.1

How reproducible:
constant

Steps to Reproduce:
1.just connect
2.
3.

Actual results:
Help message

Expected results:
no message

Additional info:
would like method to block this unhelpful help message

Comment 2 Andreas Schneider 2018-05-22 14:49:24 UTC
Could you please open an upstream bug for this?

Comment 3 joel 2018-05-25 18:45:00 UTC
Customer would like a way to remove this output:

samba-client-4.7.1-6.el7.x86_64::
 # /usr/bin/smbclient -m SMB2 //example.com/Epic_Test -A /home/root/bin/.smbclient_pwim
Try "help" to get a list of possible commands.
smb: \>

The connection is successful, but existing scripts see the output as an error.

Comment 4 Andreas Schneider 2018-06-21 15:47:38 UTC
FYI: We are working on a fix.

Comment 6 Andreas Schneider 2018-07-04 11:44:02 UTC
We have patch for smbclient which adds an --quiet option to silence the output.

Comment 10 Andrej Dzilský 2018-07-23 10:43:43 UTC
Works as intended. Verified.

Comment 12 errata-xmlrpc 2018-10-30 08:00:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:3056


Note You need to log in before you can comment on or make changes to this bug.