[#5584] copy directory with samba backend failed
Summary copy directory with samba backend failed
Queue Gollem
Queue Version 1.0.2
Type Bug
State Resolved
Priority 1. Low
Owners Michael Slusarz <slusarz (at) horde (dot) org>
Requester gohmann (at) univention (dot) de
Created 07/26/2007 (484 days ago)
Due
Updated 08/07/2007 (472 days ago)
Assigned
Resolved 08/07/2007 (472 days ago)
Attachments
Milestone
Patch No

History
08/07/2007 Michael Slusarz Comment #2
State ⇒ Resolved
Assigned to Michael Slusarz
Reply to this comment
We correctly catch errors and display them now in Gollem 1.1 and 1.0.4.
07/26/2007 gohmann (at) univention (dot) de Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Summary ⇒ copy directory with samba backend failed
Type ⇒ Bug
Queue ⇒ Gollem
Reply to this comment
I've configured two samba shares in gollem:

$backends["1"] = array(
'name' => 'test01',
'driver' => 'smb',
'preferred' => '',
'hordeauth' => 'true',
'params' => array(
'hostspec' => 'qamaster',
'port' => 139,
'share' => 'test1',
'smbclient' => '/usr/bin/smbclient',
),
'loginparams' => array(),
'clipboard' => true,
'attributes' => array('type', 'name', 'download', 'modified', 'size')
);
$backends["2"] = array(
'name' => 'test02',
'driver' => 'smb',
'preferred' => '',
'hordeauth' => 'true',
'params' => array(
'hostspec' => 'qamaster',
'port' => 139,
'share' => 'test2',
'smbclient' => '/usr/bin/smbclient',
),
'loginparams' => array(),
'clipboard' => true,
'attributes' => array('type', 'name', 'download', 'modified', 'size')
);

If I try to cut a directory foo from share 1 and paste the directory to share
2 over the clipboard then I got this error message:
Notice: Object to string conversion in /usr/share/horde3/lib/VFS/smb.php on
line 156
and the directory on the new share is a file:
root@qamaster:/test2# cat foo ; echo
Object
root@qamaster:/test2#

I use horde (3.1.3) and gollem (1.0.2) on a debian based distribution.