Bug 2051 - smbclient -N doesn't work as documented.
Summary: smbclient -N doesn't work as documented.
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.8
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-17 14:05 UTC by Jay Fenlason - please log in and update your mail address here and let us enable Bugmails to you again, Jay
Modified: 2024-06-11 04:27 UTC (History)
3 users (show)

See Also:


Attachments
Patch to make -N work as documented (378 bytes, patch)
2005-10-24 11:15 UTC, Jay Fenlason - please log in and update your mail address here and let us enable Bugmails to you again, Jay
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jay Fenlason - please log in and update your mail address here and let us enable Bugmails to you again, Jay 2004-11-17 14:05:20 UTC
According to the documentation, "smbclient //machine/share password -U user 
-N" should work the same as "smbclient //machine/share password -U user".  
However, the former fails with "tree connect failed: NT_STATUS_ACCESS_DENIED" 
while the latter connects and gives you a prompt.
Comment 1 Jay Fenlason - please log in and update your mail address here and let us enable Bugmails to you again, Jay 2005-10-24 11:15:35 UTC
Created attachment 1534 [details]
Patch to make -N work as documented

Here's a quick patch
Comment 2 Tomasz Ostrowski (dead mail address) 2005-12-28 10:00:52 UTC
(In reply to comment #1)

> Patch to make -N work as documented

This patch breaks smbclient tar file creation with
    smbclient //server/share -A server.auth -Tc /tmp/server-share.tar
As described in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176649
Comment 3 Tomasz Ostrowski (dead mail address) 2006-07-28 06:50:40 UTC
This tar file creation breaking is caused by bug in "-T" option arguments parsing - as described in bug 3974.
Comment 4 Andrew Bartlett 2024-06-11 03:32:29 UTC
Should be fixed by e4474ac0a540c56548b4d15e38f2e234455e19b6 in Samba 4.15 as we moved to a new common parser.