[gollem] Multiple SMB backend problem
Michael M Slusarz
slusarz at horde.org
Thu Mar 22 17:11:10 UTC 2007
Quoting Rich Hutchinson <rich at adastral.ucl.ac.uk>:
> Having a bit of an issue getting multiple SMB shares listed in the File
> Manager.
>
> Basically I want to have 2 shares available - each user's home directory
> plus a public folder that are both accessible on the local network.
>
> Using the latest stable (AFAIK at least) - downloaded yesterday - Horde
> 3.1.4 and Gollem H3 1.0.3
>
> I have:
> $conf['backend']['backend_list'] = 'shown';
> in my conf.php
>
> Here's my backends.php config (I've altered server names to protect
> security):
>
> <?php
> $backends['smb'] = array(
> 'name' => 'Home',
> 'driver' => 'smb',
> 'preferred' => '',
> 'hordeauth' => true,
> 'params' => array('hostspec' => 'homeserver.company.com',
> 'port' => 139,
> 'share' => Auth::getAuth(),
> 'smbclient' => '/usr/bin/smbclient'),
> 'clipboard' => true,
> 'attributes' => array('type', 'name', 'download', 'modified', 'size')
> );
>
> $backends['smb'] = array(
^^^
You need a different name for the entry here. You are overwriting
your previous entry by using the same array key.
> 'name' => 'Public',
> 'driver' => 'smb',
> 'preferred' => '',
> 'hordeauth' => true,
> 'params' => array('hostspec' => 'otherserver.company.com',
> 'port' => 139,
> 'share' => 'public',
> 'smbclient' => '/usr/bin/smbclient'),
> 'clipboard' => true,
> 'attributes' => array('type', 'name', 'download', 'modified', 'size')
> );
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the gollem
mailing list