[gollem] Simple smb configuration

Andy Rowe andy at smila.net
Thu Sep 5 11:09:44 UTC 2013


>>> 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: lang at b1-systems.de
>>> 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 


More information about the gollem mailing list