[Bug 1258219] [NEW] smbclient 'put' fails with absolute path to local file

Pounder mail at poundex.net
Thu Dec 5 16:45:52 UTC 2013


Public bug reported:

smbclient 2:3.6.3-2ubuntu2.6 on Ubuntu 12.04.3 LTS

When issuing command similar to
"smbclient --user=DOMAIN/domainuser -c "put /path/to/file.zip" //Machine/Share machinePassword

rather than upload the local file /path/to/file.zip to remote //Machine/Share as expected, smbclient complains with the error
"NT_STATUS_OBJECT_NAME_INVALID opening remote file \/path/to/file.zip"


At the moment, for a workaround, we are using -c "lcd /path/to; put file.zip" which has been working, but this only works because the very simple script knows the absolute paths for the files we are backing up.

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1258219

Title:
  smbclient 'put' fails with absolute path to local file

Status in “samba” package in Ubuntu:
  New

Bug description:
  smbclient 2:3.6.3-2ubuntu2.6 on Ubuntu 12.04.3 LTS

  When issuing command similar to
  "smbclient --user=DOMAIN/domainuser -c "put /path/to/file.zip" //Machine/Share machinePassword

  rather than upload the local file /path/to/file.zip to remote //Machine/Share as expected, smbclient complains with the error
  "NT_STATUS_OBJECT_NAME_INVALID opening remote file \/path/to/file.zip"

  
  At the moment, for a workaround, we are using -c "lcd /path/to; put file.zip" which has been working, but this only works because the very simple script knows the absolute paths for the files we are backing up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1258219/+subscriptions



More information about the foundations-bugs mailing list