[horde] login problems
Carl Thompson
cet at carlthompson.net
Sat Dec 28 15:04:09 PST 2002
By default, you cannot use any of the Horde applications without logging
into Horde. This is a login for the Horde framework, and is configured
in horde/config/conf.php.
If you want to allow anonymous access to your CVS tree via Chora without
requiring any login, you need to edit horde/config/registry.php and
change the 'allow_guests' line for Chora from 'false' to 'true.' This
will allow browsing your CVS tree without logging in.
If you want to only allow valid CVS users to access your CVS tree via
Chora then things get a little harder. You could write custom code to
authenticate to Horde using the CVS password file. I'm not sure how you
would do that, but the advantage/disadvantage of doing that is that your
users could access all Horde applications with just the one CVS login.
This is probably OK if you are just running Chora and Whups, but if you
are running other Horde applications that you wish to keep separate from
your CVS users then you don't want to do this. It's probably easier
just to set up regular basic HTTP authentication in the Chora
subdirectory by mucking with you .htaccess file and pointing your
.htpasswd file to your CVS password file which should be in the same format.
Hope this helps,
Carl Thompson
Quoting Marc Lanctot <marc.lanctot at mail.mcgill.ca>:
> Hello everyone,
>
> I'd like to use Chora. I have a CVS server installed on the same
> machine as my web server. My CVSROOT directory is in /cvs. I have 3
> users that are in a group called cvs that can access the cvs server
> without any problems.
>
> I followed the installation instructions, and spent the majority of
> today trying to install Horde and Chora. After re-installing php many
> times, the Horde test.php script now works and is giving good
> results.
> If I go to http://myserver/horde/ I get the login page.
>
> I installed Chora inside a subdirectory of horde, I try loading
> cvs.php, and it brings me to the login page.
>
> The problem is that I have no idea what to put as username &
> password. Is there a "user base" config file I must edit? I've tried
> ALL the cvs (machine) usernames and their passwords, and the root
> uname & pwd. I even tried it with bogus usernames & passwords. Every
> time I enter it in, a new login page is loaded with absolutely no
> error message; just nothing happens except the password field is
> cleared, as if it's bringingme back to the login page. The same thing
> happens when I go Horde's index.php. So, I can't get in.
>
> I cannot find anything about users (unless it has to do with mySQL
> users or IMP users which I'm both not interested in) in the
> installation instructions.. can anywone give me a hand?
>
> Thanks,
> Marc
More information about the horde
mailing list