Re: Simple smb configuration

"Andy Rowe" <[email protected]> Thu, 5 Sep 2013 07:09:44 -0400
Newsgroups gmane.comp.horde.gollem
Message-ID <[email protected]>
>>> No, this won't work. Wehn you use the array() notation, you clear all keys
>>> and replace them with what's written. Either give all keys or use  
>>> the notation
>>> with the many [] as shown above:
>>> >> <?php
>>> >> $backends['smb']['disabled'] = false;
>>> >> $backends['smb']['params']['hostspec'] = 'yourhosthere';
>>>
>>>
>>> --
>>> Ralf Lang
>>> Linux Consultant / Developer
>>> Tel.: +49-170-6381563
>>> Mail: [email protected]
>>> B1 Systems GmbH
>>> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
>>> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
>>
>>
>>  Oh... thanks so much for that tip!
>> Now backends.local.php looks like:
>> <?php
>> $backends['ftp']['disabled'] = true;
>> $backends['smb']['disabled'] = false;
>> $backends['smb']['params']['hostspec'] = 'localhost';
>>
>> Message says: Connection to smb server failed
>
>Does your Samba server work at all?
>-- 
>Jan Schneider
>The Horde Project
>http://www.horde.org/

Well apparently it does because I got it to work
This is the backends.local.php that did the trick
<?php
$backends['ftp']['disabled'] = true;
$backends['smb']['disabled'] = false;
$backends['smb']['params']['hostspec'] = 'localhost';
$backends['smb']['params']['share'] = 'STORAGE';

The horde/gollem installation is on the same computer as the samba server so localhost worked for the hostspec parameter and STORAGE is the samba share that is in square brackets in smb.conf That's all it took!
Thank you everyone for all your help 
-- 
gollem mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]