[gollem] Authentication to the FTP server failed

Ralf Lang lang at b1-systems.de
Fri Dec 6 10:13:02 UTC 2013


Have you created backends.local.php as described in
gollem/config/backends.php ?

On 04.12.2013 10:17, kamal singh wrote:
> I have installed horde and gollem i can see the horde administartion page but when i click on file manager on the top link for gollem it prsents me with login page and when i give user as administrator it says authentication to the ftp server failed. Can you help you i am struggling from last 1 week with this.below is my conf.php file.
> <?php/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */// $Id: 56a06c9745abf383eb7381c3efc537045bf0ba0c $$conf['vhosts'] = false;$conf['debug_level'] = E_ALL & ~E_NOTICE;$conf['max_exec_time'] = 0;$conf['compress_pages'] = true;$conf['secret_key'] = '529e1aed-0978-4061-ada5-4071ac1f01e1';$conf['umask'] = 077;$conf['testdisable'] = true;$conf['use_ssl'] = 2;$conf['server']['name'] = $_SERVER['SERVER_NAME'];$conf['urls']['token_lifetime'] = 30;$conf['urls']['hmac_lifetime'] = 30;$conf['urls']['pretty'] = false;$conf['safe_ips'] = array();$conf['session']['name'] = 'Horde';$conf['session']['use_only_cookies'] = true;$conf['session']['timeout'] = 0;$conf['session']['cache_limiter'] = 'nocache';$conf['session']['max_time'] = 72000;$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];$conf['cookie']['path'] = '/horde';$conf['sql']['username'] = 'horde';$conf['sql']['password'] = 'horde';$conf['sql']['protocol'] = 'unix';$conf['sql']['database'] = 'horde';$conf[
>  'sql']['charset'] = 'utf-8';$conf['sql']['ssl'] = false;$conf['sql']['splitread'] = false;$conf['sql']['phptype'] = 'mysql';$conf['nosql']['phptype'] = false;$conf['ldap']['useldap'] = false;$conf['auth']['admins'] = array('Administrator');$conf['auth']['checkip'] = true;$conf['auth']['checkbrowser'] = true;$conf['auth']['resetpassword'] = true;$conf['auth']['alternate_login'] = false;$conf['auth']['redirect_on_logout'] = false;$conf['auth']['list_users'] = 'list';$conf['auth']['params']['username'] = 'Administrator';$conf['auth']['params']['requestuser'] = false;$conf['auth']['driver'] = 'auto';$conf['auth']['params']['count_bad_logins'] = false;$conf['auth']['params']['login_block'] = false;$conf['auth']['params']['login_block_count'] = 5;$conf['auth']['params']['login_block_time'] = 5;$conf['signup']['allow'] = false;$conf['log']['priority'] = 'DEBUG';$conf['log']['ident'] = 'HORDE';$conf['log']['name'] = '/tmp/horde.log';$conf['log']['params']['append'] = true;$conf['log
>  ']['params']['format'] = 'default';$conf['log']['type'] = 'file';$conf['log']['enabled'] = true;$conf['log_accesskeys'] = false;$conf['prefs']['params']['driverconfig'] = 'horde';$conf['prefs']['driver'] = 'Sql';$conf['alarms']['params']['driverconfig'] = 'horde';$conf['alarms']['params']['ttl'] = 300;$conf['alarms']['driver'] = 'Sql';$conf['group']['driverconfig'] = 'horde';$conf['group']['driver'] = 'Sql';$conf['perms']['driverconfig'] = 'horde';$conf['perms']['driver'] = 'Sql';$conf['share']['no_sharing'] = false;$conf['share']['auto_create'] = true;$conf['share']['world'] = true;$conf['share']['any_group'] = false;$conf['share']['hidden'] = false;$conf['share']['cache'] = false;$conf['share']['driver'] = 'Sql';$conf['cache']['default_lifetime'] = 86400;$conf['cache']['params']['dir'] = 'Horde::getTempDir()';$conf['cache']['params']['sub'] = 0;$conf['cache']['driver'] = 'File';$conf['cache']['use_memorycache'] = '';$conf['cachecssparams']['url_version_param'] = true;$conf
>  ['cachecss'] = false;$conf['cachejsparams']['url_version_param'] = true;$conf['cachejs'] = false;$conf['cachethemes'] = false;$conf['lock']['params']['driverconfig'] = 'horde';$conf['lock']['driver'] = 'Sql';$conf['token']['driver'] = 'Null';$conf['davstorage']['params']['driverconfig'] = 'horde';$conf['davstorage']['driver'] = 'Sql';$conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail';$conf['mailer']['params']['sendmail_args'] = '-oi';$conf['mailer']['type'] = 'sendmail';$conf['mailformat']['brokenrfc2231'] = false;$conf['vfs']['params']['vfsroot'] = '/tmp';$conf['vfs']['type'] = 'File';$conf['sessionhandler']['type'] = 'Builtin';$conf['sessionhandler']['hashtable'] = false;$conf['spell']['driver'] = '';$conf['gnupg']['keyserver'] = array('pool.sks-keyservers.net');$conf['gnupg']['timeout'] = 10;$conf['nobase64_img'] = false;$conf['image']['driver'] = false;$conf['exif']['driver'] = 'Bundled';$conf['timezone']['location'] = 'ftp://ftp.iana.org/tz/tzdata-latest.t
>  ar.gz';$conf['problems']['email'] = 'webmaster at example.com';$conf['problems']['maildomain'] = 'example.com';$conf['problems']['tickets'] = false;$conf['problems']['attachments'] = true;$conf['menu']['links']['help'] = 'all';$conf['menu']['links']['prefs'] = 'authenticated';$conf['menu']['links']['problem'] = 'all';$conf['menu']['links']['login'] = 'all';$conf['menu']['links']['logout'] = 'authenticated';$conf['portal']['fixed_blocks'] = array();$conf['accounts']['driver'] = 'null';$conf['user']['verify_from_addr'] = false;$conf['user']['select_view'] = true;$conf['facebook']['enabled'] = false;$conf['twitter']['enabled'] = false;$conf['urlshortener'] = false;$conf['weather']['provider'] = false;$conf['imap']['enabled'] = false;$conf['imsp']['enabled'] = false;$conf['kolab']['enabled'] = false;$conf['hashtable']['driver'] = 'none';$conf['activesync']['enabled'] = false;/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
> backends.php
> // FTP Example.$backends['ftp'] = array(    // ENABLED by default    'disabled' => false,    'name' => 'FTP Server',    'driver' => 'ftp',    'hordeauth' => full,    'params' => array(        // The hostname/IP Address of the FTP server        'hostspec' => '127.0.0.1',        // The port number of the FTP server        'port' => 21,        // Use passive mode?        'pasv' => false,        // The return formatting from the 'ls' command. Possible Values: 'aix',        // 'standard'.        // 'lsformat' => 'standard',        // If true and the POSIX extension is available the driver will map        // the user and group IDs returned from the FTP server with the local  
>        // IDs from the local password file.  This is useful only if the FTP        // server is running on localhost or if the local user/group        // IDs are identical to the remote FTP server.        // 'maplocalids' => true,        // The default permissions to set for newly created folders and files.        // 'permissions' => '750',        // If true, and PHP had been compiled with OpenSSL support, TLS        // transport-level encryption will be negotiated with the server.        // 'ssl' => false,        // Set timeout (in seconds) for the FTP server. Default: 90 seconds        // 'timeout' => 90,        // The type of the remote FTP server. Possible values: 'unix', 'win',        // 'netware'. By de
>  fault, we attempt to auto-detect type.        // 'type' => 'unix',    ),    'loginparams' => array(        // Allow the user to change the FTP server        // 'hostspec' => 'Hostname',        // Allow the user to change the FTP port        // 'port' => 'Port'    ),    // 'root' => '',    // 'home' => '',    // 'createhome' => false,    // 'filter' => '^regex$',    // 'quota' => false,    'attributes' => array(        'type',        'name',        'edit',        'download',        'modified',        'size',        'permission',        'owner',        'group'    ));
> // This backend uses Horde credentials to automatically log in.$backends['hordeftp'] = array(    // Disabled by default    'disabled' => true,    'name' => 'FTP Server',    'driver' => 'ftp',    'hordeauth' => true,    'params' => array(        // The hostname/IP Address of the FTP server.        'hostspec' => 'localhost',        // The port number of the FTP server.        'port' => 21,        // Use passive mode?        'pasv' => false,        // The return formatting from the 'ls' command. Possible Values: 'aix',        // 'standard'.        // 'lsformat' => 'standard',        // If true and the POSIX extension is available the driver will map        // the user and group
>   IDs returned from the FTP server with the local        // IDs from the local password file.  This is useful only if the FTP        // server is running on localhost or if the local user/group        // IDs are identical to the remote FTP server.        // 'maplocalids' => true,        // The default permissions to set for newly created folders and files.        // 'permissions' => '750',        // If true, and PHP had been compiled with OpenSSL support, TLS        // transport-level encryption will be negotiated with the server.        // 'ssl' => false,        // Set timeout (in seconds) for the FTP server. Default: 90 seconds        // 'timeout' => 90,        // The type of the remote FTP server. Possible values: 'unix'
>  , 'win',        // 'netware'. By default, we attempt to auto-detect type.        // 'type' => 'unix',    ),    'loginparams' => array(        // Allow the user to change the FTP server.        // 'hostspec' => 'Hostname',        // Allow the user to change the FTP port.        // 'port' => 'Port'    ),    // 'root' => '',    // 'home' => '',    // 'createhome' => false,    // 'filter' => '^regex$',    // 'quota' => false,    'attributes' => array(        'type',        'name',        'edit',        'download',        'modified',        'size',        'permission',        'owner',&nb
>  sp;       'group'    ));
> // SQL Example.$backends['sql'] = array(    // Disabled by default    'disabled' => true,    'name' => 'SQL Server',    'driver' => 'sql',    'hordeauth' => true,
>     // The default connection details are pulled from the Horde-wide SQL    // connection configuration.    'params' => array_merge($GLOBALS['conf']['sql'],                            array('table' => 'horde_vfs')),
>     // If you need different connection details than from the Horde-wide SQL    // connection configuration, uncomment and set the following lines.    // 'params' => array(    //     // The SQL connection parameters. See horde/config/conf.php for    //     // descriptions of each parameter.    //     'phptype' => 'mysql',    //     'hostspec' => 'localhost',    //     'database' => 'horde',    //     'username' => 'horde',    //     'password' => 'horde',    //    //     // The SQL table containing the VFS. See the horde/scripts/db    //     // directory for examples.    //     'table' => 'horde_vfs'    // ),    'loginparams' => array(),    // 'root' => '',    // 'home' =&gt
>  ; '',    // 'createhome' => false,    // 'filter' => '^regex$',    // 'quota' => false,    'attributes' => array(        'type',        'name',        'edit',        'download',        'modified',        'size'    ));
> // This backend specifies a home directory and root directory in a SQL vfs.$backends['sqlhome'] = array(    // Disabled by default    'disabled' => true,    'name' => 'SQL Server with home',    'driver' => 'sql',    'hordeauth' => true,
>     // The default connection details are pulled from the Horde-wide SQL    // connection configuration.    'params' => array_merge($GLOBALS['conf']['sql'],                            array('table' => 'horde_vfs')),
>     // If you need different connection details than from the Horde-wide SQL    // connection configuration, uncomment and set the following lines.    // 'params' => array(    //     // The SQL connection parameters. See horde/config/conf.php for    //     // descriptions of each parameter.    //     'phptype' => 'mysql',    //     'hostspec' => 'localhost',    //     'database' => 'horde',    //     'username' => 'horde',    //     'password' => 'horde',    //    //     // The SQL table containing the VFS. See the horde/scripts/db    //     // directory for examples.    //     'table' => 'horde_vfs'    // ),    'loginparams' => array(),    'root' => '/home',    'home' =>
>   '/home/' . $GLOBALS['registry']->getAuth(),    // 'createhome' => false,    // 'filter' => '^regex$',    // 'quota' => false,    'shares' => true,    'attributes' => array(        'type',        'name',        'share',        'edit',        'download',        'modified',        'size',        'owner',    ));
> // NOTE: /exampledir/home and all subdirectories should be, for// security reasons, owned by your web server user and mode 700 or you// will need to use suexec or something else that can adjust the web// server effective uid.$backends['file'] = array(    // Disabled by default    'disabled' => true,    'name' => 'Virtual Home Directories',    'driver' => 'file',    'hordeauth' => true,    'params' => array(        // The base location under which the user home directories live.        'vfsroot' => '/exampledir/home/',        // The default permissions to set for newly created folders and files.        // 'permissions' => '750'    ),    'loginparams' => array(),    'root' => '/',    'home' => $GLOBALS['registry']->getAuth(),    // 'createhome' => false,&n
>  bsp;   // 'filter' => '^regex$',    // 'quota' => false,    'shares' => true,    'attributes' => array(        'type',        'name',        'share',        'edit',        'download',        'modified',        'size',    ));
> // SMB Example$backends['smb'] = array(    // Disabled by default    'disabled' => true,    'name' => 'SMB Server',    'driver' => 'smb',    'hordeauth' => false,    'params' => array(        'hostspec' => 'example',        'port' => 139,        'share' => 'homes',        // 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(  &nb
>  sp;     // 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'    ));
> // SSH2 Example$backends['ssh2'] = array(    // Disabled by default    'disabled' => true,    'name' => 'SSH2 Server',    'driver' => 'ssh2',    'hordeauth' => false,    'params' => array(        // The hostname/IP Address of the SSH server        'hostspec' => 'ssh2.example.com',        // The port number of the SSH server        'port' => 22,        // Set timeout (in seconds) for the SSH server. Default: 90 seconds        // 'timeout' => 90,        // If true and the POSIX extension is available the driver will map        // the user and group IDs returned from the SSH server with the local        // IDs from the local password file.  This is useful only if the SSH        // server is runn
>  ing on localhost or if the local user/group        // IDs are identical to the remote SSH server.        // 'maplocalids' => true,        // The default permissions to set for newly created folders and        // files.        // 'permissions' => '750'    ),    'loginparams' => array(        // Allow the user to change the SSH server        // 'hostspec' => 'Hostname',        // Allow the user to change the SSH port        // 'port' => 'Port'    ),    // 'root' => '',    // 'home' => '',    // 'createhome' => false,    // 'filter' => '^regex$',    // 'quota' => false,    'attributes' => array(        'type',        'name',    &nb
>  sp;   'edit',        'download',        'modified',        'size',        'permission',        'owner',        'group'    ));
> 
> Thanks & Regards
> 
> Kamal deep singh
> Get your own FREE website,  FREE domain & FREE mobile app with Company email.  Know More >
> 


-- 
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/gollem/attachments/20131206/717de97e/attachment-0001.bin>


More information about the gollem mailing list