[gollem] Simple smb configuration
Jan Schneider
jan at horde.org
Tue Sep 3 10:38:11 UTC 2013
Please don't top-post.
Zitat von Andy Rowe <andy at smila.net>:
> -----Original Message-----
> From: gollem-bounces at lists.horde.org on behalf of Jan Schneider
> Sent: Mon 9/2/2013 3:08 PM
> To: gollem at lists.horde.org
> Subject: Re: [gollem] Simple smb configuration
>
>
> Zitat von Andy Rowe <andy at smila.net>:
>
>> Hi List:
>> I am trying to get gollem working with a Samba share on the same box
>> as horde is running on. Horde working, users can log in, turba
>> working. Here is contents of conf.php
>> <?php
>> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
>> // $Id: c70cc328a58f2b69cb67558ab883380298313e1e $
>> $conf['backend']['backend_list'] = 'none';
>> $conf['foldercache']['use_cache'] = false;
>> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
>> $backends['ftp']['disabled'] = true;
>> $backends['smb']['disabled'] = false;
>> $backends['smb']['params']['hostspec'] = 'localhost';
>> and here is backends.php
>
> From backends.php:
>
> IMPORTANT: DO NOT EDIT THIS FILE!
>
>> $backends['smb'] = array(
>> // Disabled by default
>> 'disabled' => false,
>> 'name' => 'SMB Server',
>> 'driver' => 'smb',
>> 'hordeauth' => false,
>> 'params' => array(
>> 'hostspec' => '127.0.0.1',
>> 'port' => 139,
>> 'share' => '/mnt/STORAGE',
>> // Path to the smbclient executable.
>> 'smbclient' => '/usr/bin/smbclient',
>> // IP address of server (only needed if hostname is different from
>> // NetBIOS name).
>> //'ipaddress' => '127.0.0.1',
>> // The default permissions to set for newly created folders and
>> // files.
>> // 'permissions' => '750'
>> ),
>> 'loginparams' => array(
>> // Allow the user to change to Samba server.
>> // 'hostspec' => 'Hostname',
>> // Allow the user to change the Samba port.
>> // 'port' => 'Port',
>> // Allow the user to change the Samba share.
>> // 'share' => 'Share',
>> ),
>> // 'root' => '',
>> // 'home' => '',
>> // 'createhome' => false,
>> // 'filter' => '^regex$',
>> // 'quota' => false,
>> 'attributes' => array(
>> 'type',
>> 'name',
>> 'edit',
>> 'download',
>> 'modified',
>> 'size'
>> )
>> );
>> what else needs to be configured in horde configuration? VFS setting
>> in Horde configuration?
>> message after login attempt is 'connection to smb server failed'
>
> 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?
Yes. Read the documentation in backends.php.
--
Jan Schneider
The Horde Project
http://www.horde.org/
More information about the gollem
mailing list