Bug 2051 - smbclient -N doesn't work as documented.
Summary: smbclient -N doesn't work as documented.
Status: NEW
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: 2006-07-28 06:50 UTC (History)
2 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 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 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.