[horde] Setting up the admin user... Now... How can I make someone admin...

Goodyear, Duran DGoodyear at uarts.edu
Thu Apr 19 15:57:24 UTC 2007


I just got it working also... Just with IMAP logins... But I can't get
to the admin screen.

I need that, I think, since I need to limit users to just IMP.  (long
story).

I set up servers.php with my imap server, and can login just fine to
Horde.

But, that doesn't do anything for me for getting to the ADMIN screen.
Is there a way equate a certain user to be the HORDE admin somewhere?

The end goal is to get to the Admin interface.
And to then limit users to JUST IMP.

Thanks !


] duran goodyear
] web developer
] the university of the arts
] 215.717.6068

-----Original Message-----
From: horde-bounces at lists.horde.org
[mailto:horde-bounces at lists.horde.org] On Behalf Of Mike Jones
Sent: Thursday, April 19, 2007 11:49 AM
To: horde at lists.horde.org
Subject: Re: [horde] Setting up the admin user... Or, whats my password?

Hi Duran,

I just went through this myself, and this is what worked for me:

Set up the initial user for your db with
horde/scripts/sql/script.initial_horde_user.sql

Second, make sure that you've set Horde to use sql authorization in
horde/config/conf.php $conf['auth']['admins'] =
array('script-generated-sql-username-here');
$conf['auth']['params']['app'] = 'imp';
$conf['auth']['driver'] = 'sql';

I believe the key setting above is auth.driver.  params.app tells it
what app to use to display the login screen, and auth.driver tells it
where to get the auth data.  Please, someone correct me if I'm wrong,
though...as I've just become acquainted with horde the last few days.

Regardless, once I set the auth.driver setting to sql, horde started
authenticating against my sql db.  It hadn't been prior to that.

Mike

On 4/19/07, Goodyear, Duran <DGoodyear at uarts.edu> wrote:
>
> I just installed The latest stable release of Horde Webmail Groupware.
> Ran the ../scripts/setup.php file.
> Installed the database.
>
> Hit my http://____/horde/
> And I get the login screen.
>
> That's a good sign.
>
> But, I haven't set up any users, (even tried to point it at our 
> institution LDAP servers), or anything.
>
> Is there a default 'root'/'admin' user account that I missed in the 
> instructions?
>
> Thanks.
>
>
> ] duran goodyear
> ] web developer
> ] the university of the arts
> ] 215.717.6068
>
> -----Original Message-----
> From: horde-bounces at lists.horde.org
> [mailto:horde-bounces at lists.horde.org] On Behalf Of Suhag Desai
> Sent: Wednesday, April 18, 2007 6:20 AM
> To: Patrick Boutilier
> Cc: horde at lists.horde.org
> Subject: Re: [horde] Fw: HORDE LOGIN PAGE
>
> Thanks a lot
>
> its worked
>
>
>
>
> ----- Original Message -----
> From: "Patrick Boutilier" <boutilpj at ednet.ns.ca>
> To: <horde at lists.horde.org>
> Sent: Wednesday, April 18, 2007 3:16 PM
> Subject: Re: [horde] Fw: HORDE LOGIN PAGE
>
>
> > Suhag Desai wrote:
> >> Thanks for reply..
> >>
> >> I have set my DocumentRoot in httpd.conf "/var/www/horde"
> >>
> >> Whenevr i tried to load page by http://192.168.10.71 OR 
> >> http://192.168.10.71/horde  OR http://192.168.10.71/horde nothing
> display
> >> ..
> >>
> >> My httpd log is "[Wed Apr 18 11:42:22 2007] [error] [client
> 192.168.10.1]
> >> File does not exist: /var/www/horde/horde"
> >>
> >> pl. let me know , next step.
> >> -suhag
> >
> > Sounds like the automatic webroot detection is not working. Try
> setting
> > it to '' .
> >
> >
> > In horde/config/registry.php change
> >
> > $this->applications['horde'] = array(
> >     'fileroot' => dirname(__FILE__) . '/..',
> >     'webroot' => $webroot,
> >     'initial_page' => 'login.php',
> >     'name' => _("Webmail"),
> >     'status' => 'active',
> >     'templates' => dirname(__FILE__) . '/../templates',
> >     'provides' => 'horde'
> > );
> >
> >
> > to
> >
> >
> > $this->applications['horde'] = array(
> >     'fileroot' => dirname(__FILE__) . '/..',
> >     'webroot' => '',
> >     'initial_page' => 'login.php',
> >     'name' => _("Webmail"),
> >     'status' => 'active',
> >     'templates' => dirname(__FILE__) . '/../templates',
> >     'provides' => 'horde'
> > );
> >
> >
> >>
> >>
> >> ----- Original Message -----
> >> From: "Bill Graham" <grahamcw at hurleybulldogs.com>
> >> To: <horde at lists.horde.org>
> >> Sent: Wednesday, April 18, 2007 9:42 AM
> >> Subject: Re: [horde] Fw: HORDE LOGIN PAGE
> >>
> >>
> >> Typically horde is run out of a subdirectory (horde) and you
> shouldn't
> >> have to invoke login.php directly.
> >>
> >> index.php should be one of your default pages in your web server 
> >> and it should be run when you address the subdirectory.
> >> Using your example -
> >> You would invoke horde as http://192.168.10.71/horde You aren't 
> >> giving us much to work with here - are you getting any error 
> >> messages in the logs or on the screen ?
> >>
> >> Bill
> >>
> >
> > --
> > Horde mailing list - Join the hunt: http://horde.org/bounties/#horde

> > Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, 
> > mail: horde-unsubscribe at lists.horde.org
> >
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde 
> Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, 
> mail: horde-unsubscribe at lists.horde.org
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde 
> Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, 
> mail: horde-unsubscribe at lists.horde.org
>
--
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail:
horde-unsubscribe at lists.horde.org


More information about the horde mailing list