[horde] configuring users in horde

Rob Siklos rob.siklos at utoronto.ca
Tue Jan 7 12:14:53 PST 2003


ok, so to clarify, I'm using the latest horde version (downloaded today) and
I want to do mysql authentication.  I have a mysql db set up, with a db
called 'horde', which has been configured by scripts/db/mysql_create.sql.

I put this in my config/horde.php file:

$conf['auth']['driver'] = 'sql';
$conf['auth']['params'] = array();
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'robsiklos';
$conf['auth']['params']['password'] = '**pass**';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_users';

When I try and login, I get the following error in the web browser (whether
or not the login is correct):

Fatal error: Call to undefined function: iswarning() in
/home/robsiklos/www/horde/lib/Auth/sql.php on line 110

Any ideas?

Rob


----- Original Message -----
From: "Michael J. Pawlowsky" <mikejp at videotron.ca>
To: "Rob Siklos" <rob.siklos at utoronto.ca>
Sent: Tuesday, January 07, 2003 2:42 PM
Subject: Re: [horde] configuring users in horde


>
> you need to set the auth driver to sql.
>
> // What backend should we use for authenticating users to Horde? Valid
> // options are currently 'application', 'cyrsql', 'imap', 'ldap',
> // 'mcal', 'sql', 'ftp', 'smb', 'krb5', and 'radius'.
> $conf['auth']['driver'] = 'sql';
>
>
> Also set all the auth parameters...  I dont havean example handy right
now... but look in other config files that use the DB. It's in there. Copy
it into your horde conf file.
>
>
>
>
>
> *********** REPLY SEPARATOR  ***********
>
> On 07/01/2003 at 2:25 PM Rob Siklos wrote:
>
> >Ok (I did mean mySQL),
> >
> >so i set up a user in the horde_users table of my horde mysql db (created
> >by
> >scripts/db/mysql_create.sql).  But how do I set the authentication to
come
> >from there in the config/horde.php file?
> >
> >Thanks,
> >
> >Rob.
> >
> >----- Original Message -----
> >From: "Michael J. Pawlowsky" <mikejp at videotron.ca>
> >To: "Rob Siklos" <rob.siklos at utoronto.ca>
> >Sent: Tuesday, January 07, 2003 2:08 PM
> >Subject: Re: [horde] configuring users in horde
> >
> >
> >>
> >>
> >> I guess you mean in MySQL?
> >>
> >> Or you can use machine users which would be good ifyou are using imp.
> >> Then set auth to ftp or something.
> >>
> >> For mySQL you need to create the horde_users table (see .sql in
> >scripts/drivers)
> >> and add a user with a md5 password.
> >>
> >>
> >> Mike
> >>
> >>
> >>
> >>
> >>
> >> *********** REPLY SEPARATOR  ***********
> >>
> >> On 07/01/2003 at 2:02 PM Rob Siklos wrote:
> >>
> >> >Hello,
> >> >
> >> >I just installed horde and everything seems to be working ok (i.e. the
> >> >test page comes up fine), but for the life of me, I can't figure out
how
> >> >to create and manage users (including the admin user).  How do you do
> >this?
> >> >
> >> >Thanks,
> >> >
> >> >Rob.
> >> >
> >> >--
> >> >Horde mailing list
> >> >Frequently Asked Questions: http://horde.org/faq/
> >> >To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> >>
> >>
> >> Cheers,
> >> Mike
> >>
>
>--------------------------------------------------------------------------
> >-------------------------------
> >> Hlade's Law: If you have a difficult task, give it to a lazy person --
> >> they will find an easier way to do it.
> >>
> >>
> >>
>
>
> Cheers,
> Mike
> --------------------------------------------------------------------------
-------------------------------
> Hlade's Law: If you have a difficult task, give it to a lazy person --
> they will find an easier way to do it.
>
>
>



More information about the horde mailing list