Re: Multiple SMB backend problem

Michael M Slusarz <[email protected]>
Newsgroups gmane.comp.horde.gollem
Message-ID <[email protected]>
Quoting Rich Hutchinson <[email protected]>:

> 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 [[email protected]]

-- 
Gollem mailing list - Join the hunt: http://horde.org/bounties/#gollem
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.