[horde] Help with horde.php

Harry Hoffman hhoffman at ip-solutions.net
Sun Oct 21 08:22:36 PDT 2001


Chuck,
    Thanks! I guess what I was thinking about it terms of auth was would
it be better to auth via sql just in case the user wanted calendaring but
not email. Well, I guess I just answered the question myself.

Thanks again,
Harry

On Sun, 21 Oct 2001, Chuck Hagenbuch wrote:

> Quoting Harry Hoffman <hhoffman at ip-solutions.net>:
>
> >   It's been quite some time since I've used Horde/IMP. I just downloaded
> > them from cvs and am trying to figure out how-to setup the authentication
> > in horde.php. I have searched the mailing lists and haven't found any
> > working examples. Does anyone have a working example in setting up the
> > auth that they would care to share? Also, it it better to do via IMAP auth
> > or MySQL?
>
> There is no "better"; do you have an existing IMAP server with all of your users
> that you want to re-use? Or do you want to create and manage accounts from
> scratch? That'd answer it, for me.
>
> For IMAP, it'd look something like this:
>
> $conf['auth']['driver'] = 'imap';
> $conf['auth']['params']['dsn'] = '{imap.server/imap:143}INBOX';
>
> For SQL:
>
> $conf['auth']['driver'] = 'sql';
> $conf['auth']['params']['phptype'] = 'mysql';
> $conf['auth']['params']['hostspec'] = 'localhost';
> $conf['auth']['params']['username'] = 'horde';
> $conf['auth']['params']['password'] = '*******';
> $conf['auth']['params']['database'] = 'horde';
> $conf['auth']['params']['table'] = 'auth';
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck at horde.org>
> "What was and what may be lie, like children whose faces we cannot see, in
> the arms of silence. All we ever have is here, now." - Ursula K. Le Guin
>
> --
> Horde mailing list: http://horde.org/horde/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>





More information about the horde mailing list