[gollem] Simple smb configuration
Jan Schneider
jan at horde.org
Tue Sep 3 21:14:58 UTC 2013
Zitat von Andy Rowe <andy at smila.net>:
>> -----Original Message-----
>> From: Ralf Lang [mailto:lang at b1-systems.de]
>> Sent: Tuesday, September 03, 2013 1:24 PM
>> To: Andy Rowe; gollem at lists.horde.org
>> Subject: Re: [gollem] Simple smb configuration
>>
>> On 03.09.2013 19:03, Andy Rowe wrote:
>> >> -----Original Message-----
>> >> From: gollem-bounces at lists.horde.org [mailto:gollem-
>> >> bounces at lists.horde.org] On Behalf Of Ralf Lang
>> >> Sent: Tuesday, September 03, 2013 8:04 AM
>> >> To: gollem at lists.horde.org
>> >> Subject: Re: [gollem] Simple smb configuration
>> >>
>> >>>> <?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.
>> >>>
>> >> You are right.
>> >>
>> >> This would boil down to a backends.local.php like this:
>> >>
>> >> <?php
>> >> $backends['smb']['disabled'] = false;
>> >> $backends['smb']['params']['hostspec'] = 'yourhosthere';
>> >>
>> >> And so on.
>> >>
>> >> --
>> >> 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
>> >
>> > Now my backends.local.php is as follows:
>> > <?php
>> > $backends['ftp'] = array(
>> > 'disabled' => true,
>> > );
>> > $backends['smb'] = array(
>> > 'disabled' => false,
>> > 'params' => array(
>> > 'hostspec' => 'localhost',
>> > ),
>> > );
>>
>> 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/
More information about the gollem
mailing list