← Back to team overview

enterprise-support team mailing list archive

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

 

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
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1258219

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

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


Follow ups

References