6.0.0-alpha12
6/8/25

[#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 slusarz (at) horde (dot) org
Requester gohmann (at) univention (dot) de
Created 07/26/2007 (6527 days ago)
Due
Updated 08/07/2007 (6515 days ago)
Assigned
Resolved 08/07/2007 (6515 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/07/2007 07:18:00 PM Michael Slusarz Comment #2
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
We correctly catch errors and display them now in Gollem 1.1 and 1.0.4.
07/26/2007 08:43:30 AM gohmann (at) univention (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ copy directory with samba backend failed
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.


Saved Queries