[gollem] Simple smb configuration

Jan Schneider jan at horde.org
Mon Sep 2 19:08:09 UTC 2013


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'


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



More information about the gollem mailing list