May 22, 2012, 04:18:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Horde in overlay is not configurable  (Read 6837 times)
vollkorn
Newbie
*

Karma: 0
Posts: 6


View Profile
« on: March 02, 2007, 02:36:08 PM »

As I'm new to Horde and Kolab please forgive if I just made a mistake, but I followed http://wiki.kolab.org/index.php/Kolab2_Installation_-_Horde and everything is fine despite the fact that there is no "Administration link" on any sidebar when I log in to Horde. Actually it is only possible to log in as user, when I log in as manager I just get the same login screen as before with "Letzte Anmeldung: Noch nie" (last login: never) on the top of it. No matter how often I try to log in as manager, always the same message.
What can I do about it?
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #1 on: March 05, 2007, 11:37:53 PM »

You need to enter the desired administrator email into the template in /etc/kolab/templates/horde-kolab-conf.template.

Are you using OpenPKG or the Gentoo version? The installation instructions you refer to are intended for the OpenPKG version. So far p@rdus only intended to support the Gentoo version with this forum. Now that the original Kolab forum closed down we should maybe reconsider that though.
Logged
vollkorn
Newbie
*

Karma: 0
Posts: 6


View Profile
« Reply #2 on: March 06, 2007, 03:12:10 AM »

Nice to see your serverback up again. Smiley

You need to enter the desired administrator email into the template in /etc/kolab/templates/horde-kolab-conf.template.

I use the Gentoo-overlay. I thought the only difference would be the way the files are installed. So I guess I should use the "gentooish" howtos. Where do I find the one for setting up Horde with Kolab on gentoo? I just can't find one on http://docs.pardus.de/.

EDIT: My /var/www/kolab/htdocs/horde/config/kolab.php looks like this (I use it for testing only in my private LAN, hence the TLD "test"), so I guess this is fine.
Code:
<?php
$conf
['cookie']['domain'] = abfax2.treehouse.test;
$conf['problems']['email'] = 'postmaster@treehouse.test';
$conf['problems']['maildomain'] = 'treehouse.test';
$conf['kolab']['ldap']['basedn'] = 'dc=treehouse,dc=test';
$conf['kolab']['ldap']['binddn'] = 'cn=manager,cn=internal,dc=treehouse,dc=test';
$conf['kolab']['ldap']['bindpw'] = 'XXXXXXXXXXXXX';
$conf['kolab']['ldap']['phpdn'] = 'cn=nobody,cn=internal,dc=treehouse,dc=test';
$conf['kolab']['ldap']['phppw'] = 'XXXXXXXXXXXXX';
$conf['kolab']['imap']['server'] = 'abfax2.treehouse.test';
$conf['kolab']['imap']['maildomain'] = 'treehouse.test';
$conf['kolab']['imap']['adminpw'] = 'XXXXXXXXXXXXX';
?>
« Last Edit: March 06, 2007, 03:23:28 AM by vollkorn » Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #3 on: March 06, 2007, 08:09:13 AM »

Nice to see your serverback up again. Smiley

Same feeling here. A trip into the woods in southern germany made connections to the net difficult Wink

I use the Gentoo-overlay. I thought the only difference would be the way the files are installed. So I guess I should use the "gentooish" howtos. Where do I find the one for setting up Horde with Kolab on gentoo? I just can't find one on http://docs.pardus.de/.

Ah ok. Yes, actually the explicit horde documentation is still missing. Currently I am still to busy patching the system, but I hope to be able to write that soon.

EDIT: My /var/www/kolab/htdocs/horde/config/kolab.php looks like this (I use it for testing only in my private LAN, hence the TLD "test"), so I guess this is fine.
Code:
<?php
$conf
['cookie']['domain'] = abfax2.treehouse.test;
$conf['problems']['email'] = 'postmaster@treehouse.test';
$conf['problems']['maildomain'] = 'treehouse.test';
$conf['kolab']['ldap']['basedn'] = 'dc=treehouse,dc=test';
$conf['kolab']['ldap']['binddn'] = 'cn=manager,cn=internal,dc=treehouse,dc=test';
$conf['kolab']['ldap']['bindpw'] = 'XXXXXXXXXXXXX';
$conf['kolab']['ldap']['phpdn'] = 'cn=nobody,cn=internal,dc=treehouse,dc=test';
$conf['kolab']['ldap']['phppw'] = 'XXXXXXXXXXXXX';
$conf['kolab']['imap']['server'] = 'abfax2.treehouse.test';
$conf['kolab']['imap']['maildomain'] = 'treehouse.test';
$conf['kolab']['imap']['adminpw'] = 'XXXXXXXXXXXXX';
?>


Ah ok, that looks ok. Since you use Gentoo this is already in the new format. In that case you need to add the manager entry in /var/www/kolab/htdocs/horde/config/conf.php.

This is the example from a demo machine:

Code:
$conf['auth']['admins'] = array('wrobel@demo2.pardus.de');

Cheers,

Gunnar
Logged
vollkorn
Newbie
*

Karma: 0
Posts: 6


View Profile
« Reply #4 on: March 06, 2007, 08:07:44 PM »

Reffering to *** most settings were already correct. I just had to uncheck "Should we allow the user to specify the username?" under Password (passwd). So this should be easy to document Wink

But the Horde config page does not work at all:
Code:
Warning: DOMDocument::load() [function.DOMDocument-load]: Opening and ending tag mismatch: case line 1615 and configsection in /var/www/kolab/htdocs/horde/config/conf.xml, line: 1621 in /usr/share/php/Horde/DOM.php on line 72

Warning: DOMDocument::load() [function.DOMDocument-load]: Opening and ending tag mismatch: configswitch line 1612 and case in /var/www/kolab/htdocs/horde/config/conf.xml, line: 1633 in /usr/share/php/Horde/DOM.php on line 72

Warning: DOMDocument::load() [function.DOMDocument-load]: Opening and ending tag mismatch: configsection line 1596 and configswitch in /var/www/kolab/htdocs/horde/config/conf.xml, line: 1634 in /usr/share/php/Horde/DOM.php on line 72

Warning: DOMDocument::load() [function.DOMDocument-load]: Opening and ending tag mismatch: configtab line 1595 and configsection in /var/www/kolab/htdocs/horde/config/conf.xml, line: 1635 in /usr/share/php/Horde/DOM.php on line 72

Warning: DOMDocument::load() [function.DOMDocument-load]: Opening and ending tag mismatch: configuration line 3 and configtab in /var/www/kolab/htdocs/horde/config/conf.xml, line: 1636 in /usr/share/php/Horde/DOM.php on line 72

Warning: DOMDocument::load() [function.DOMDocument-load]: Extra content at the end of the document in /var/www/kolab/htdocs/horde/config/conf.xml, line: 1637 in /usr/share/php/Horde/DOM.php on line 72

Notice: Trying to get property of non-object in /usr/share/php/Horde/DOM.php on line 212

Notice: Trying to get property of non-object in /usr/share/php/Horde/DOM.php on line 306

Fatal error: Call to a member function hasChildNodes() on a non-object in /usr/share/php/Horde/DOM.php on line 301

I'll look later into this. Now I got to teach my little brother how transistors work Wink
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #5 on: March 07, 2007, 09:13:37 AM »

Did you somehow modify the file /var/www/kolab/htdocs/horde/config/conf.xml ?

I am not aware that I did modify the basic configuration definition (the conf.xml file).
Logged
vollkorn
Newbie
*

Karma: 0
Posts: 6


View Profile
« Reply #6 on: March 07, 2007, 02:25:52 PM »

No, the atimes are still the ones from the date of installation:
Code:
...
-rw-r--r--  1 apache apache  3601 Mar  6 13:36 conf.php
-rw-r--r--  1 apache apache  3146 Mar  1 23:59 conf.php.dist
-rw-r--r--  1 apache apache 75488 Mar  1 23:59 conf.xml
-rw-r--r--  1 apache apache  7444 Mar  1 23:59 hooks.php
-rw-r--r--  1 apache apache 53191 Mar  1 23:59 hooks.php.dist
...
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #7 on: March 08, 2007, 12:39:14 PM »

Ups, sorry, I lied Smiley I did modify conf.xml. Fixed in CVS. Sync the overlay and re-emerge horde-kolab.

Thanks for the report!!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!