Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: dbuechel 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!
-
first of all you'd translate the error messages
if you disable/revert the edit you did, does it work?
-
I guess it should be
$conf['auth']['admins'] = array('admin', )
-
I change my start topic ^^
-
please, DON'T, thank you
-
please, DON'T, thank you
What are you trying to say?
-
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
-
OK 8-)
Question: Have you a solution for my problem?
-
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 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?
-
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.
-
I read you're trying to login on
https://192.168.0.93/horde/admin/config/index.php
not to
https://192.168.0.93/webmail
-
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:
-
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$conf['auth']['admins'] = array('admin@domain.local', );
Correct code
$conf['auth']['admins'] = array('admin@domain.local');
-
@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.
-
hmmm....
in horde is my User Name - admin@0.93
??
-
well, you did not tell us you were playing with Horde 5.2
so:
- this post is OT here since horde 5.2 is not part of SME cd
- horde 5.2 is unsupported
I move it to Contribs section
-
I think, this is the problem: @0.93
But where can I change this?
-
I sincerely don't know.. as said, Horde 5.2 is unsupported so, basically, you're on your own..
hope mrjhb3 will read this one
anyway, in https://forums.contribs.org/index.php/topic,50969.msg257624.html#msg257624, you can read "for testing purpose only"
-
Yes - I know.
But I thought in a forum someone can help me.
;)
-
I found the solution!
$conf['auth']['admins'] = array('admin@domain.local','admin@0.93');
^^
admin@0.93 - and everything works!
8-)
-
That's good. Nothing I have done tries to accommodate a user logging in to webmail via an IP address.
Just curious, what is the output of this command:more /home/httpd/html/horde/imp/config/backends.local.php
I'm going to guess that $servers and maildomain says domain.local since that is what your first entry shows in the conf-auth-admins array.
If you could have logged into webmail using the domain.local fqdn, then I suspect this would have worked for you with no issues.
I don't know if there is a real fix for logging in via IP address and wanting to show the admin options. If there is, the code for that is above me.
I also use an fqdn and it just works for me.
If you try to switch to test, then your admin preferences will be reset because nothing will have been saved for admin@domain.local, only for admin@0.93.
Sorry for coming to the party late, I got your email, then tried to respond by my smarthost is/was being blacklisted by one of the rbl's you are using, then I tried to respond directly via my gmail account, but I never got a response whether you received that or not. Clicking on the horde icon was my next suggestion to see what horde was showing as your user credentials.
John
-
Sorry for the late answer - I had vacation :-D
/*
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
*/
//100Overrides
$servers['imap']['disabled'] = true;
//120IMAPServers
$servers['domain.local'] = array(
'disabled' => false,
'name' => 'IMAP Server',
'hostspec' => 'localhost',
'hordeauth' => true,
'protocol' => 'imap',
'port' => '143',
'secure' => 'notls',
'maildomain' => 'domain.local',
'smtphost' => 'localhost',
'smtpport' => '25',
'cache' => false,
);
About Horde/webmail
I can only login with the user name "admin" - not admin@domain.local
Horde version is 5.2.10
Sorry for coming to the party late, I got your email, then tried to respond by my smarthost is/was being blacklisted by one of the rbl's you are using, then I tried to respond directly via my gmail account, but I never got a response whether you received that or not.
Interesting!
I answered directly to your GMail account! 13.05.2016 08:15
^^