Re: Authentication to the FTP server failed

Ralf Lang <[email protected]> Fri, 06 Dec 2013 11:13:02 +0100
Newsgroups gmane.comp.horde.gollem
Message-ID <[email protected]>
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.
> &lt;?php/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */// $Id: 56a06c9745abf383eb7381c3efc537045bf0ba0c $$conf['vhosts'] = false;$conf['debug_level'] = E_ALL &amp; ~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'] = '[email protected]';$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(&nbsp; &nbsp; // ENABLED by default&nbsp; &nbsp; 'disabled' =&gt; false,&nbsp; &nbsp; 'name' =&gt; 'FTP Server',&nbsp; &nbsp; 'driver' =&gt; 'ftp',&nbsp; &nbsp; 'hordeauth' =&gt; full,&nbsp; &nbsp; 'params' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; // The hostname/IP Address of the FTP server&nbsp; &nbsp; &nbsp; &nbsp; 'hostspec' =&gt; '127.0.0.1',&nbsp; &nbsp; &nbsp; &nbsp; // The port number of the FTP server&nbsp; &nbsp; &nbsp; &nbsp; 'port' =&gt; 21,&nbsp; &nbsp; &nbsp; &nbsp; // Use passive mode?&nbsp; &nbsp; &nbsp; &nbsp; 'pasv' =&gt; false,&nbsp; &nbsp; &nbsp; &nbsp; // The return formatting from the 'ls' command. Possible Values: 'aix',&nbsp; &nbsp; &nbsp; &nbsp; // 'standard'.&nbsp; &nbsp; &nbsp; &nbsp; // 'lsformat' =&gt; 'standard',&nbsp; &nbsp; &nbsp; &nbsp; // If true and the POSIX extension is available the driver will map&nbsp; &nbsp; &nbsp; &nbsp; // the user and group IDs returned from the FTP server with the local&nbsp; 
>  &nbsp; &nbsp; &nbsp; // IDs from the local password file. &nbsp;This is useful only if the FTP&nbsp; &nbsp; &nbsp; &nbsp; // server is running on localhost or if the local user/group&nbsp; &nbsp; &nbsp; &nbsp; // IDs are identical to the remote FTP server.&nbsp; &nbsp; &nbsp; &nbsp; // 'maplocalids' =&gt; true,&nbsp; &nbsp; &nbsp; &nbsp; // The default permissions to set for newly created folders and files.&nbsp; &nbsp; &nbsp; &nbsp; // 'permissions' =&gt; '750',&nbsp; &nbsp; &nbsp; &nbsp; // If true, and PHP had been compiled with OpenSSL support, TLS&nbsp; &nbsp; &nbsp; &nbsp; // transport-level encryption will be negotiated with the server.&nbsp; &nbsp; &nbsp; &nbsp; // 'ssl' =&gt; false,&nbsp; &nbsp; &nbsp; &nbsp; // Set timeout (in seconds) for the FTP server. Default: 90 seconds&nbsp; &nbsp; &nbsp; &nbsp; // 'timeout' =&gt; 90,&nbsp; &nbsp; &nbsp; &nbsp; // The type of the remote FTP server. Possible values: 'unix', 'win',&nbsp; &nbsp; &nbsp; &nbsp; // 'netware'. By de
>  fault, we attempt to auto-detect type.&nbsp; &nbsp; &nbsp; &nbsp; // 'type' =&gt; 'unix',&nbsp; &nbsp; ),&nbsp; &nbsp; 'loginparams' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; // Allow the user to change the FTP server&nbsp; &nbsp; &nbsp; &nbsp; // 'hostspec' =&gt; 'Hostname',&nbsp; &nbsp; &nbsp; &nbsp; // Allow the user to change the FTP port&nbsp; &nbsp; &nbsp; &nbsp; // 'port' =&gt; 'Port'&nbsp; &nbsp; ),&nbsp; &nbsp; // 'root' =&gt; '',&nbsp; &nbsp; // 'home' =&gt; '',&nbsp; &nbsp; // 'createhome' =&gt; false,&nbsp; &nbsp; // 'filter' =&gt; '^regex$',&nbsp; &nbsp; // 'quota' =&gt; false,&nbsp; &nbsp; 'attributes' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; 'type',&nbsp; &nbsp; &nbsp; &nbsp; 'name',&nbsp; &nbsp; &nbsp; &nbsp; 'edit',&nbsp; &nbsp; &nbsp; &nbsp; 'download',&nbsp; &nbsp; &nbsp; &nbsp; 'modified',&nbsp; &nbsp; &nbsp; &nbsp; 'size',&nbsp; &nbsp; &nbsp; &nbsp; 'permission',&nbsp; &nbsp; &nbsp; &nbsp; 'owner',&nbsp; &nbsp; &nbsp; &nbsp; 'group'&nbsp; &nbsp; ));
> // This backend uses Horde credentials to automatically log in.$backends['hordeftp'] = array(&nbsp; &nbsp; // Disabled by default&nbsp; &nbsp; 'disabled' =&gt; true,&nbsp; &nbsp; 'name' =&gt; 'FTP Server',&nbsp; &nbsp; 'driver' =&gt; 'ftp',&nbsp; &nbsp; 'hordeauth' =&gt; true,&nbsp; &nbsp; 'params' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; // The hostname/IP Address of the FTP server.&nbsp; &nbsp; &nbsp; &nbsp; 'hostspec' =&gt; 'localhost',&nbsp; &nbsp; &nbsp; &nbsp; // The port number of the FTP server.&nbsp; &nbsp; &nbsp; &nbsp; 'port' =&gt; 21,&nbsp; &nbsp; &nbsp; &nbsp; // Use passive mode?&nbsp; &nbsp; &nbsp; &nbsp; 'pasv' =&gt; false,&nbsp; &nbsp; &nbsp; &nbsp; // The return formatting from the 'ls' command. Possible Values: 'aix',&nbsp; &nbsp; &nbsp; &nbsp; // 'standard'.&nbsp; &nbsp; &nbsp; &nbsp; // 'lsformat' =&gt; 'standard',&nbsp; &nbsp; &nbsp; &nbsp; // If true and the POSIX extension is available the driver will map&nbsp; &nbsp; &nbsp; &nbsp; // the user and group
>   IDs returned from the FTP server with the local&nbsp; &nbsp; &nbsp; &nbsp; // IDs from the local password file. &nbsp;This is useful only if the FTP&nbsp; &nbsp; &nbsp; &nbsp; // server is running on localhost or if the local user/group&nbsp; &nbsp; &nbsp; &nbsp; // IDs are identical to the remote FTP server.&nbsp; &nbsp; &nbsp; &nbsp; // 'maplocalids' =&gt; true,&nbsp; &nbsp; &nbsp; &nbsp; // The default permissions to set for newly created folders and files.&nbsp; &nbsp; &nbsp; &nbsp; // 'permissions' =&gt; '750',&nbsp; &nbsp; &nbsp; &nbsp; // If true, and PHP had been compiled with OpenSSL support, TLS&nbsp; &nbsp; &nbsp; &nbsp; // transport-level encryption will be negotiated with the server.&nbsp; &nbsp; &nbsp; &nbsp; // 'ssl' =&gt; false,&nbsp; &nbsp; &nbsp; &nbsp; // Set timeout (in seconds) for the FTP server. Default: 90 seconds&nbsp; &nbsp; &nbsp; &nbsp; // 'timeout' =&gt; 90,&nbsp; &nbsp; &nbsp; &nbsp; // The type of the remote FTP server. Possible values: 'unix'
>  , 'win',&nbsp; &nbsp; &nbsp; &nbsp; // 'netware'. By default, we attempt to auto-detect type.&nbsp; &nbsp; &nbsp; &nbsp; // 'type' =&gt; 'unix',&nbsp; &nbsp; ),&nbsp; &nbsp; 'loginparams' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; // Allow the user to change the FTP server.&nbsp; &nbsp; &nbsp; &nbsp; // 'hostspec' =&gt; 'Hostname',&nbsp; &nbsp; &nbsp; &nbsp; // Allow the user to change the FTP port.&nbsp; &nbsp; &nbsp; &nbsp; // 'port' =&gt; 'Port'&nbsp; &nbsp; ),&nbsp; &nbsp; // 'root' =&gt; '',&nbsp; &nbsp; // 'home' =&gt; '',&nbsp; &nbsp; // 'createhome' =&gt; false,&nbsp; &nbsp; // 'filter' =&gt; '^regex$',&nbsp; &nbsp; // 'quota' =&gt; false,&nbsp; &nbsp; 'attributes' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; 'type',&nbsp; &nbsp; &nbsp; &nbsp; 'name',&nbsp; &nbsp; &nbsp; &nbsp; 'edit',&nbsp; &nbsp; &nbsp; &nbsp; 'download',&nbsp; &nbsp; &nbsp; &nbsp; 'modified',&nbsp; &nbsp; &nbsp; &nbsp; 'size',&nbsp; &nbsp; &nbsp; &nbsp; 'permission',&nbsp; &nbsp; &nbsp; &nbsp; 'owner',&nb
>  sp; &nbsp; &nbsp; &nbsp; 'group'&nbsp; &nbsp; ));
> // SQL Example.$backends['sql'] = array(&nbsp; &nbsp; // Disabled by default&nbsp; &nbsp; 'disabled' =&gt; true,&nbsp; &nbsp; 'name' =&gt; 'SQL Server',&nbsp; &nbsp; 'driver' =&gt; 'sql',&nbsp; &nbsp; 'hordeauth' =&gt; true,
> &nbsp; &nbsp; // The default connection details are pulled from the Horde-wide SQL&nbsp; &nbsp; // connection configuration.&nbsp; &nbsp; 'params' =&gt; array_merge($GLOBALS['conf']['sql'],&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; array('table' =&gt; 'horde_vfs')),
> &nbsp; &nbsp; // If you need different connection details than from the Horde-wide SQL&nbsp; &nbsp; // connection configuration, uncomment and set the following lines.&nbsp; &nbsp; // 'params' =&gt; array(&nbsp; &nbsp; // &nbsp; &nbsp; // The SQL connection parameters. See horde/config/conf.php for&nbsp; &nbsp; // &nbsp; &nbsp; // descriptions of each parameter.&nbsp; &nbsp; // &nbsp; &nbsp; 'phptype' =&gt; 'mysql',&nbsp; &nbsp; // &nbsp; &nbsp; 'hostspec' =&gt; 'localhost',&nbsp; &nbsp; // &nbsp; &nbsp; 'database' =&gt; 'horde',&nbsp; &nbsp; // &nbsp; &nbsp; 'username' =&gt; 'horde',&nbsp; &nbsp; // &nbsp; &nbsp; 'password' =&gt; 'horde',&nbsp; &nbsp; //&nbsp; &nbsp; // &nbsp; &nbsp; // The SQL table containing the VFS. See the horde/scripts/db&nbsp; &nbsp; // &nbsp; &nbsp; // directory for examples.&nbsp; &nbsp; // &nbsp; &nbsp; 'table' =&gt; 'horde_vfs'&nbsp; &nbsp; // ),&nbsp; &nbsp; 'loginparams' =&gt; array(),&nbsp; &nbsp; // 'root' =&gt; '',&nbsp; &nbsp; // 'home' =&gt
>  ; '',&nbsp; &nbsp; // 'createhome' =&gt; false,&nbsp; &nbsp; // 'filter' =&gt; '^regex$',&nbsp; &nbsp; // 'quota' =&gt; false,&nbsp; &nbsp; 'attributes' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; 'type',&nbsp; &nbsp; &nbsp; &nbsp; 'name',&nbsp; &nbsp; &nbsp; &nbsp; 'edit',&nbsp; &nbsp; &nbsp; &nbsp; 'download',&nbsp; &nbsp; &nbsp; &nbsp; 'modified',&nbsp; &nbsp; &nbsp; &nbsp; 'size'&nbsp; &nbsp; ));
> // This backend specifies a home directory and root directory in a SQL vfs.$backends['sqlhome'] = array(&nbsp; &nbsp; // Disabled by default&nbsp; &nbsp; 'disabled' =&gt; true,&nbsp; &nbsp; 'name' =&gt; 'SQL Server with home',&nbsp; &nbsp; 'driver' =&gt; 'sql',&nbsp; &nbsp; 'hordeauth' =&gt; true,
> &nbsp; &nbsp; // The default connection details are pulled from the Horde-wide SQL&nbsp; &nbsp; // connection configuration.&nbsp; &nbsp; 'params' =&gt; array_merge($GLOBALS['conf']['sql'],&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; array('table' =&gt; 'horde_vfs')),
> &nbsp; &nbsp; // If you need different connection details than from the Horde-wide SQL&nbsp; &nbsp; // connection configuration, uncomment and set the following lines.&nbsp; &nbsp; // 'params' =&gt; array(&nbsp; &nbsp; // &nbsp; &nbsp; // The SQL connection parameters. See horde/config/conf.php for&nbsp; &nbsp; // &nbsp; &nbsp; // descriptions of each parameter.&nbsp; &nbsp; // &nbsp; &nbsp; 'phptype' =&gt; 'mysql',&nbsp; &nbsp; // &nbsp; &nbsp; 'hostspec' =&gt; 'localhost',&nbsp; &nbsp; // &nbsp; &nbsp; 'database' =&gt; 'horde',&nbsp; &nbsp; // &nbsp; &nbsp; 'username' =&gt; 'horde',&nbsp; &nbsp; // &nbsp; &nbsp; 'password' =&gt; 'horde',&nbsp; &nbsp; //&nbsp; &nbsp; // &nbsp; &nbsp; // The SQL table containing the VFS. See the horde/scripts/db&nbsp; &nbsp; // &nbsp; &nbsp; // directory for examples.&nbsp; &nbsp; // &nbsp; &nbsp; 'table' =&gt; 'horde_vfs'&nbsp; &nbsp; // ),&nbsp; &nbsp; 'loginparams' =&gt; array(),&nbsp; &nbsp; 'root' =&gt; '/home',&nbsp; &nbsp; 'home' =&gt;
>   '/home/' . $GLOBALS['registry']-&gt;getAuth(),&nbsp; &nbsp; // 'createhome' =&gt; false,&nbsp; &nbsp; // 'filter' =&gt; '^regex$',&nbsp; &nbsp; // 'quota' =&gt; false,&nbsp; &nbsp; 'shares' =&gt; true,&nbsp; &nbsp; 'attributes' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; 'type',&nbsp; &nbsp; &nbsp; &nbsp; 'name',&nbsp; &nbsp; &nbsp; &nbsp; 'share',&nbsp; &nbsp; &nbsp; &nbsp; 'edit',&nbsp; &nbsp; &nbsp; &nbsp; 'download',&nbsp; &nbsp; &nbsp; &nbsp; 'modified',&nbsp; &nbsp; &nbsp; &nbsp; 'size',&nbsp; &nbsp; &nbsp; &nbsp; 'owner',&nbsp; &nbsp; ));
> // 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(&nbsp; &nbsp; // Disabled by default&nbsp; &nbsp; 'disabled' =&gt; true,&nbsp; &nbsp; 'name' =&gt; 'Virtual Home Directories',&nbsp; &nbsp; 'driver' =&gt; 'file',&nbsp; &nbsp; 'hordeauth' =&gt; true,&nbsp; &nbsp; 'params' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; // The base location under which the user home directories live.&nbsp; &nbsp; &nbsp; &nbsp; 'vfsroot' =&gt; '/exampledir/home/',&nbsp; &nbsp; &nbsp; &nbsp; // The default permissions to set for newly created folders and files.&nbsp; &nbsp; &nbsp; &nbsp; // 'permissions' =&gt; '750'&nbsp; &nbsp; ),&nbsp; &nbsp; 'loginparams' =&gt; array(),&nbsp; &nbsp; 'root' =&gt; '/',&nbsp; &nbsp; 'home' =&gt; $GLOBALS['registry']-&gt;getAuth(),&nbsp; &nbsp; // 'createhome' =&gt; false,&n
>  bsp; &nbsp; // 'filter' =&gt; '^regex$',&nbsp; &nbsp; // 'quota' =&gt; false,&nbsp; &nbsp; 'shares' =&gt; true,&nbsp; &nbsp; 'attributes' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; 'type',&nbsp; &nbsp; &nbsp; &nbsp; 'name',&nbsp; &nbsp; &nbsp; &nbsp; 'share',&nbsp; &nbsp; &nbsp; &nbsp; 'edit',&nbsp; &nbsp; &nbsp; &nbsp; 'download',&nbsp; &nbsp; &nbsp; &nbsp; 'modified',&nbsp; &nbsp; &nbsp; &nbsp; 'size',&nbsp; &nbsp; ));
> // SMB Example$backends['smb'] = array(&nbsp; &nbsp; // Disabled by default&nbsp; &nbsp; 'disabled' =&gt; true,&nbsp; &nbsp; 'name' =&gt; 'SMB Server',&nbsp; &nbsp; 'driver' =&gt; 'smb',&nbsp; &nbsp; 'hordeauth' =&gt; false,&nbsp; &nbsp; 'params' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; 'hostspec' =&gt; 'example',&nbsp; &nbsp; &nbsp; &nbsp; 'port' =&gt; 139,&nbsp; &nbsp; &nbsp; &nbsp; 'share' =&gt; 'homes',&nbsp; &nbsp; &nbsp; &nbsp; // Path to the smbclient executable.&nbsp; &nbsp; &nbsp; &nbsp; 'smbclient' =&gt; '/usr/bin/smbclient',&nbsp; &nbsp; &nbsp; &nbsp; // IP address of server (only needed if hostname is different from&nbsp; &nbsp; &nbsp; &nbsp; // NetBIOS name).&nbsp; &nbsp; &nbsp; &nbsp; // 'ipaddress' =&gt; '127.0.0.1',&nbsp; &nbsp; &nbsp; &nbsp; // The default permissions to set for newly created folders and&nbsp; &nbsp; &nbsp; &nbsp; // files.&nbsp; &nbsp; &nbsp; &nbsp; // 'permissions' =&gt; '750'&nbsp; &nbsp; ),&nbsp; &nbsp; 'loginparams' =&gt; array(&nbsp; &nb
>  sp; &nbsp; &nbsp; // Allow the user to change to Samba server.&nbsp; &nbsp; &nbsp; &nbsp; // 'hostspec' =&gt; 'Hostname',&nbsp; &nbsp; &nbsp; &nbsp; // Allow the user to change the Samba port.&nbsp; &nbsp; &nbsp; &nbsp; // 'port' =&gt; 'Port',&nbsp; &nbsp; &nbsp; &nbsp; // Allow the user to change the Samba share.&nbsp; &nbsp; &nbsp; &nbsp; // 'share' =&gt; 'Share',&nbsp; &nbsp; ),&nbsp; &nbsp; // 'root' =&gt; '',&nbsp; &nbsp; // 'home' =&gt; '',&nbsp; &nbsp; // 'createhome' =&gt; false,&nbsp; &nbsp; // 'filter' =&gt; '^regex$',&nbsp; &nbsp; // 'quota' =&gt; false,&nbsp; &nbsp; 'attributes' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; 'type',&nbsp; &nbsp; &nbsp; &nbsp; 'name',&nbsp; &nbsp; &nbsp; &nbsp; 'edit',&nbsp; &nbsp; &nbsp; &nbsp; 'download',&nbsp; &nbsp; &nbsp; &nbsp; 'modified',&nbsp; &nbsp; &nbsp; &nbsp; 'size'&nbsp; &nbsp; ));
> // SSH2 Example$backends['ssh2'] = array(&nbsp; &nbsp; // Disabled by default&nbsp; &nbsp; 'disabled' =&gt; true,&nbsp; &nbsp; 'name' =&gt; 'SSH2 Server',&nbsp; &nbsp; 'driver' =&gt; 'ssh2',&nbsp; &nbsp; 'hordeauth' =&gt; false,&nbsp; &nbsp; 'params' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; // The hostname/IP Address of the SSH server&nbsp; &nbsp; &nbsp; &nbsp; 'hostspec' =&gt; 'ssh2.example.com',&nbsp; &nbsp; &nbsp; &nbsp; // The port number of the SSH server&nbsp; &nbsp; &nbsp; &nbsp; 'port' =&gt; 22,&nbsp; &nbsp; &nbsp; &nbsp; // Set timeout (in seconds) for the SSH server. Default: 90 seconds&nbsp; &nbsp; &nbsp; &nbsp; // 'timeout' =&gt; 90,&nbsp; &nbsp; &nbsp; &nbsp; // If true and the POSIX extension is available the driver will map&nbsp; &nbsp; &nbsp; &nbsp; // the user and group IDs returned from the SSH server with the local&nbsp; &nbsp; &nbsp; &nbsp; // IDs from the local password file. &nbsp;This is useful only if the SSH&nbsp; &nbsp; &nbsp; &nbsp; // server is runn
>  ing on localhost or if the local user/group&nbsp; &nbsp; &nbsp; &nbsp; // IDs are identical to the remote SSH server.&nbsp; &nbsp; &nbsp; &nbsp; // 'maplocalids' =&gt; true,&nbsp; &nbsp; &nbsp; &nbsp; // The default permissions to set for newly created folders and&nbsp; &nbsp; &nbsp; &nbsp; // files.&nbsp; &nbsp; &nbsp; &nbsp; // 'permissions' =&gt; '750'&nbsp; &nbsp; ),&nbsp; &nbsp; 'loginparams' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; // Allow the user to change the SSH server&nbsp; &nbsp; &nbsp; &nbsp; // 'hostspec' =&gt; 'Hostname',&nbsp; &nbsp; &nbsp; &nbsp; // Allow the user to change the SSH port&nbsp; &nbsp; &nbsp; &nbsp; // 'port' =&gt; 'Port'&nbsp; &nbsp; ),&nbsp; &nbsp; // 'root' =&gt; '',&nbsp; &nbsp; // 'home' =&gt; '',&nbsp; &nbsp; // 'createhome' =&gt; false,&nbsp; &nbsp; // 'filter' =&gt; '^regex$',&nbsp; &nbsp; // 'quota' =&gt; false,&nbsp; &nbsp; 'attributes' =&gt; array(&nbsp; &nbsp; &nbsp; &nbsp; 'type',&nbsp; &nbsp; &nbsp; &nbsp; 'name',&nbsp; &nbsp; &nb
>  sp; &nbsp; 'edit',&nbsp; &nbsp; &nbsp; &nbsp; 'download',&nbsp; &nbsp; &nbsp; &nbsp; 'modified',&nbsp; &nbsp; &nbsp; &nbsp; 'size',&nbsp; &nbsp; &nbsp; &nbsp; 'permission',&nbsp; &nbsp; &nbsp; &nbsp; 'owner',&nbsp; &nbsp; &nbsp; &nbsp; 'group'&nbsp; &nbsp; ));
> 
> Thanks &amp; Regards
> 
> Kamal deep singh
> Get your own FREE website,  FREE domain &amp; FREE mobile app with Company email. &nbsp;Know More &gt;
> 


-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: [email protected]
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-- 
gollem mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
signature.asc (application/pgp-signature, 263 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlKhozAACgkQCs1dsHJ/X7CjGACfbpjO2wmPT0gYxpPvEL5hE5iK
8MAAn2MaNq1ZR+iqylry3D85Mea8ONkj
=GDsy
-----END PGP SIGNATURE-----