[cvs] [Wiki] created: GollemModule

Wiki Guest wikiguest at horde.org
Tue May 6 08:33:51 UTC 2008


guest [155.56.26.123]  Tue, 06 May 2008 04:33:51 -0400

Created page: http://wiki.horde.org/GollemModule

== Typical configuration scenarios ==

A typical scenario with gollem is:

* primary authentication is done by Horde (mysql), passwd or IMAP, but not
the authentication used by the gollem backend
* you want users to store data in private directories, not mess with other
user's directories but have admins who can browse through everything. You
don't want the user to have to login separately or decide on backend or
something.
* you want a public repository, for example for use on your website.


== How to do ==

=== configure the backend for private storage===

in gollem/config/backend.php

$backends['file'] = array(
    'name' => Auth::getAuth().'Home',
    'driver' => 'file',
    'preferred' => true,
    'hordeauth' => false,
    'params' => array(
        // The base location under which the user home directories live.
        'vfsroot' => '/var/horde/vfs/users',
        // The default permissions to set for newly created folders and
files.
        // 'permissions' => $conf['umask']
    ),
    'loginparams' => array(),
    'root' => Auth::getAuth(),
//don't allow normal users to break out of their share
    'home' => Auth::getAuth(),
//let users start at the root of their share
    'createhome' => true,
//create home dir if necessary
    // 'filter' => '^regex$',
    // 'quota' => false,
    'clipboard' => true,
    'attributes' => array('type', 'name', 'edit', 'download', 'modified',
'size', 'permission', 'owner', 'group')
);


More information about the cvs mailing list