Koozali.org: home of the SME Server

Horde Admin Login

Offline dbuechel

  • ***
  • 99
  • +0/-0
Horde Admin Login
« on: May 12, 2016, 12:27:33 PM »
Hi all!

I have a great problem! - I can not login to the Horde Admin!

I have do following:

Add the admin user as an administrator for Horde:

config setprop horde Administration enabled
signal-event email-update

in \home\httpd\html\horde\config\conf.php is:

$conf['auth']['admins'] = array('admin@domain.local', );


When I login over:
https://192.168.0.93/horde/admin/config/index.php

with admin and password - comes this:

Ein schwerer Fehler ist aufgetreten:
Zugriff verweigert.
Details wurden für den Administrator mitgeloggt.

In English:
A fatal error has occurred
Permission denied.
Details have been logged for the administrator.


and in putty:
Message from syslogd@domain at May 12 12:26:08 ...
 HORDE: [horde] Zugriff verweigert. [pid 2727 on line 373 of "/usr/share/pear/Horde/Registry.php"]

Why?

Can someone help me?

Best Regards!



EDIT: I change:
$conf['auth']['admins'] = array('admin');

^^
same problem!
« Last Edit: May 12, 2016, 12:57:36 PM by dbuechel »

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Horde Admin Login
« Reply #1 on: May 12, 2016, 12:48:30 PM »
first of all you'd translate the error messages

if you disable/revert the edit you did, does it work?


Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Horde Admin Login
« Reply #2 on: May 12, 2016, 12:49:23 PM »
I guess it should be

Code: [Select]
$conf['auth']['admins'] = array('admin', )

Offline dbuechel

  • ***
  • 99
  • +0/-0
Re: Horde Admin Login
« Reply #3 on: May 12, 2016, 12:58:04 PM »
I change my start topic ^^

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Horde Admin Login
« Reply #4 on: May 12, 2016, 12:58:57 PM »
please, DON'T, thank you

Offline dbuechel

  • ***
  • 99
  • +0/-0
Re: Horde Admin Login
« Reply #5 on: May 12, 2016, 01:22:22 PM »
please, DON'T, thank you

What are you trying to say?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Horde Admin Login
« Reply #6 on: May 12, 2016, 01:25:18 PM »
I'm asking you not to edit your previous posts editing/adding info

it makes things unclear and difficult to read/follow for future readers (my answers are with no sense after you edited your first post)

thank you

Offline dbuechel

  • ***
  • 99
  • +0/-0
Re: Horde Admin Login
« Reply #7 on: May 12, 2016, 01:45:38 PM »
OK  8-)

Question: Have you a solution for my problem?

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Horde Admin Login
« Reply #8 on: May 12, 2016, 01:57:04 PM »
You should be able to use this link to enable this option...

https://wiki.contribs.org/SME_Server:Documentation:Technical_Manual:Chapter4#Add_the_admin_user_as_an_administrator_for_Horde

There is nothing else you are required to modify.  Then go to https://server-ip/webmail and log in as "admin" and the password used when installed and setup SME Server.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline dbuechel

  • ***
  • 99
  • +0/-0
Re: Horde Admin Login
« Reply #9 on: May 12, 2016, 02:00:38 PM »
You should be able to use this link to enable this option...

https://wiki.contribs.org/SME_Server:Documentation:Technical_Manual:Chapter4#Add_the_admin_user_as_an_administrator_for_Horde

There is nothing else you are required to modify.  Then go to https://server-ip/webmail and log in as "admin" and the password used when installed and setup SME Server.

You read my first post?

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Horde Admin Login
« Reply #10 on: May 12, 2016, 02:09:01 PM »
You read my first post?

I did, now re-read my post and let us know the result. I.e. log in using the link I provided.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Horde Admin Login
« Reply #11 on: May 12, 2016, 02:15:57 PM »
I read you're trying to login on

Code: [Select]
https://192.168.0.93/horde/admin/config/index.php

not to
Code: [Select]
https://192.168.0.93/webmail

Offline dbuechel

  • ***
  • 99
  • +0/-0
Re: Horde Admin Login
« Reply #12 on: May 12, 2016, 02:17:49 PM »
I make this:
config setprop horde Administration enabled
signal-event email-update

and then:

My Webrowser change this https://192.168.0.93/webmail to https://192.168.0.93/horde/login.php

same problem  :shock:





Offline byte

  • *
  • 2,183
  • +2/-0
Re: Horde Admin Login
« Reply #13 on: May 12, 2016, 02:17:59 PM »
in \home\httpd\html\horde\config\conf.php is:

$conf['auth']['admins'] = array('admin@domain.local', );

Can you confirm then if you have edited this file?

If so, which I guess you either have a typo or something there is a rouge comma...

Incorrect code
Code: [Select]
$conf['auth']['admins'] = array('admin@domain.local', );
Correct code
Code: [Select]
$conf['auth']['admins'] = array('admin@domain.local');
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline dbuechel

  • ***
  • 99
  • +0/-0
Re: Horde Admin Login
« Reply #14 on: May 12, 2016, 02:58:14 PM »
@byte - the same problem!

OK - I find something:

I install a complete new sme 9.0

only admin user - I make this:
config setprop horde Administration enabled
signal-event email-update

and then can I use this:
https://192.168.0.93/webmail

perfect - adminstration menu is on!

Then - I upgrade to horde 5.2 over this:
cd /root
wget http://mirror.contribs.org/contribs/jbennett/horde/horde52-rpms.zip
unzip horde52-rpms.zip
cd horde52
sh Install-horde52.sh
signal-event post-upgrade
signal-event reboot

see: https://forums.contribs.org/index.php/topic,50969.msg257624.html#msg257624


horde 5.2 is installed and works !

BUT - No admin function -

https://192.168.0.93/horde/admin/config/index.php
In English:
A fatal error has occurred
Permission denied.
Details have been logged for the administrator.