[gollem] user can read all dirs

Markus Krause krause at biochem.mpg.de
Tue Apr 15 15:34:05 PDT 2003


Am Die, 2003-04-15 um 15.42 schrieb Jeff Graves:
> Remove it in /horde/gollem/templates/menu/menu.inc (you can just
> comment out the logout section). 
i already tried that but was not sure if that's a "clean" solution or if
other troubles will follow. but it seems to work ;-)

> And I think your gettting those
> errors because are using something other than horde for Auth (ie.
> IMP?) and you are automatically logging you users onto gollem. 
yep, thats the way it works here.

> I'm not
> sure about that one, but I had trouble with it in the past. I just
> removed the link in gollem to logout (users can still log out of horde
> from the horde panel and since they get automatically logged into
> gollem they shouldn't need a logout for gollem).
it took me some time to find it! now it works ;-)

thanks!
	markus

> 
> Jeff Graves
> Customer Support Engineer
> Image Source, Inc.
> 10 Mill Street
> Bellingham, MA 02019
> 
> jeff at image-src.com - Email
> 508.966.5200 X31 - Phone
> 508.966.5170 - Fax
> 
> -----Original Message-----
> From: gollem-bounces at lists.horde.org
> [mailto:gollem-bounces at lists.horde.org]On Behalf Of Markus Krause
> Sent: Tuesday, April 15, 2003 4:21 AM
> To: Gollem/Horde
> Subject: Re: [gollem] user can read all dirs
> 
> 
> sorry for the late response, but i have been tied to another project
> ...
> 
> 
> Am Mit, 2003-04-09 um 18.09 schrieb Chuck Hagenbuch:
> > Quoting Markus Krause <krause at biochem.mpg.de>:
> >
> > > ok, you can find it atached my gollem/config/backends.php to this
> email.
> > > iirc the things i changed:
> > > - emptied all ftp-server entries
> > > - edited $backends['file']
> >
> > It doesn't look like you actually removed the other entries; I'd do
> so.
> with "emtied" i meant "did configure plain".
> now i did as you suggested, and it works almost perfect! (except one
> thing, see below)
> 
> > > btw: is it possible to switch directly to the "virtual home
> directories
> > > page" without selecting an ftp-server (because i do not have
> another)
> >
> > See above; if you're not using those other backends, don't leave
> them in the
> > config file. If there's only one backend configured, Gollem will use
> it
> > automatically.
> >
> > $backends['file'] = array(
> >     'name' => 'Virtual Home Directories',
> >     'driver' => 'file',
> >     'preferred' => 'voodoo.biochem.mpg.de',
> >     'params' => array('vfsroot' => '/var/www/horde-vfs-home/',
> >                       'home' => Auth::getAuth())
> > );
> >
> > Change 'vfsroot' to '/var/www/horde-vfs-home/' . Auth::getAuth() and
> remove
> > 'home', and users will be locked in their own dir.
> great! thats the way i like it! ;-)
> 
> but i encountered another problem:
> 
> at the top of page is (next to "home", "create directory" ...) the
> button "logout". (btw: can this be removed? in my installation with
> only
> virtual home directories this i think is unnecessary)
> if i click on "logout" and then click on "back" in my browser i get
> the
> errors:
> 
> ---8<---
> Warning: Invalid argument supplied for foreach() in
> /var/www/https-htdocs/horde/gollem/lib/Gollem.php on line 168
> 
> Notice: Undefined index: home in
> /var/www/https-htdocs/horde/gollem/lib/Gollem.php on line 253
> 
> Fatal error: Call to a member function on a non-object in
> /var/www/https-htdocs/horde/gollem/lib/Gollem.php on line 320
> --->8---
> 
> and everytime i click on "file manager" in the menu at the left after
> this i get:
> 
> ---8<---
> Notice: Undefined index: dir in
> /var/www/https-htdocs/horde/gollem/lib/Gollem.php on line 258
> 
> Notice: Undefined index: home in
> /var/www/https-htdocs/horde/gollem/lib/Gollem.php on line 258
> 
> Notice: Undefined index: home in
> /var/www/https-htdocs/horde/gollem/lib/Gollem.php on line 253
> 
> Fatal error: Call to a member function on a non-object in
> /var/www/https-htdocs/horde/gollem/lib/Gollem.php on line 320
> --->8---
> 
> how can i fix this?
> i think a workaround for this could be to disable the logout button on
> top of the page, in my case it's a bit irritating for the users
> anyway.
> 
> thanks in advance for your fast response!
> 
> 	markus
> 
> >
> > -chuck
> >
> > --
> > Charles Hagenbuch, <chuck at horde.org>
> > "... It is not more light we need, but more warmth! We die of cold,
> not of
> > darkness. It is not the night that kills, but the frost." - Miguel
> de
> > Unamuno
> 
> 
> --
> Gollem mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: gollem-unsubscribe at lists.horde.org
> 



More information about the gollem mailing list