Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 106483 - smbclient: -N negates the provided password, despite documentation
smbclient: -N negates the provided password, despite documentation
Product: Red Hat Raw Hide
Classification: Retired
Component: samba (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Fenlason
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-10-07 13:07 EDT by Tim Waugh
Modified: 2014-08-31 19:25 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-12 17:21:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Samba Project 2051 None None None Never

  None (edit)
Description Tim Waugh 2003-10-07 13:07:02 EDT
Description of problem:
Two command lines:

smbclient //server/share password -U user -c quit
smbclient //server/share password -U user -N -c quit

ought to behave in the same way according to the documentation (in fact, the
documentation says that if the password is provided on the command line, -N is

In fact the second of these always fails.

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

How reproducible:

Steps to Reproduce:
1. See above.
Additional info:
Didn't happen before 3.
Comment 1 Jay Fenlason 2004-11-17 16:02:30 EST
I've confirmed that this is a code bug, and opened it upstream: 
Comment 2 Jay Fenlason 2005-09-12 17:21:29 EDT
I include a patch in the 3.0.20 RawHide RPM.  Let me know if it fixes the 
problem for you so I can send it upstream. 
Comment 3 Tim Waugh 2005-09-13 04:35:23 EDT
I worked around this long ago.  It is simple to test yourself.
Comment 4 Tomasz Ostrowski 2005-12-28 11:52:07 EST
This patch breaks smbclient tar file creation with
    smbclient //server/share -A server.auth -Tc /tmp/server-share.tar
as described in bug #176649.
Comment 5 Simo Sorce 2007-03-28 12:08:27 EDT
This is not a code bug, but a documentation issue.
-N really mean No Password, if you use it it means you don't want to send a
password and that's what the code does (yes it ignores the password you set on
the command line by design).
I fixed the documentation upstream to better explain this.
(Re)closing this bug as NOTABUG

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