Re: Simple smb configuration

Jan Schneider <[email protected]> Tue, 03 Sep 2013 13:39:45 +0200
Newsgroups gmane.comp.horde.gollem
Message-ID <[email protected]>
Zitat von Ralf Lang <[email protected]>:

> On 03.09.2013 13:19, Andy Rowe wrote:
>> -----Original Message-----
>> From: [email protected] on behalf of Arjen de Korte
>> Sent: Tue 9/3/2013 6:42 AM
>> To: [email protected]
>> Subject: Re: [gollem] Simple smb configuration
>>
>> Citeren Andy Rowe <[email protected]>:
>>
>>> I'm sorry but I don't understand. Are you saying that what I did
>>> wrong was edit the backends.php file? Can anyone please explain to
>>> me how to make this work?
>>
>> Did you actually read the header of this file? It is there quite  
>> prominently:
>>
>> #head horde/gollem/config/backends.php
>>
>> <?php
>> /**
>>   * This file specifies which backends people using your  
>> installation can log
>>   * in to.
>>   *
>>   * IMPORTANT: DO NOT EDIT THIS FILE!
>>   * Local overrides MUST be placed in backends.local.php or backends.d/.
>>   * If the 'vhosts' setting has been enabled in Horde's  
>> configuration, you can
>>   * use backends-servername.php.
>>   *
>>
>> You'll want to read the remainder of this header too, before creating
>> horde/gollem/config/backends.local.php.
>>
>> I'm very sorry for not understanding this application very well.  
>> I'm also very sorry for top posting as I'm still learning how to  
>> use this mail list. Yes, I have read the header and the entire file  
>> over and over and I've tried leaving the original backends.php file  
>> unaltered and using a backends.local.php file instead. I've tried a  
>> number of different things in all the setting that seem relevant  
>> and yet I cannot get past the log in screen. The header in the  
>> backends.php file states:
>>  * Example configuration file that enables the Samba backend in favor of the
>>  * FTP backend and sets a server name for the Samba server:
>> And yet it does not explain where the code example below this  
>> statement should go or in what file.
>>
> Hi Andy,
>
> it says the example must go into a new file gollem/config/backends.local.php
>
> This File COULD look like this:
>
> <?php
> $backends['smb'] = array(

No. Well, it could, but it shouldn't, like earlier explained in this  
thread (and numerous times before). You almost NEVER want to add a  
complete backend configuration in backends.local.php. ALWAYS only  
change those values from the examples in backends.php that you NEED to  
change. This is clearly explained in the documentation.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/

-- 
gollem mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]