Koozali.org formerly Contribs.org

[Announce] How to install/upgrade to Horde 3.0

Offline mrjhb3

  • *
  • 1,183
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #60 on: March 05, 2005, 08:08:17 PM »
Quote from: "hordeusr"
Long story shortened.  I'm working on configuring INGO to use procmail.  


Is it better to use procmail for this?  One of the reasons I included the accounts portion was to provide a link to user-manager, then the users can set their own settings via a somewhat easy interface.
Just asking.

JB
......

[Announce] How to install/upgrade to Horde 3.0
« Reply #61 on: March 06, 2005, 02:14:28 AM »
Is it better to use procmail for this?  One of the reasons I included the accounts portion was to provide a link to user-manager, then the users can set their own settings via a somewhat easy interface.
Just asking.
JB[/quote]

For my users, thats a big YES.  They are used to being able to change the vacation via horde (on the current server I have the vacation module set-up).  Also, the user-manager doesn't have external access(of course that can also be changed) and the majority of my users are external.  I'll get it working eventually...the problem seems to be the version of 'ls' on SME doesn't support the function needed.

Offline mrjhb3

  • *
  • 1,183
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #62 on: March 06, 2005, 05:48:36 AM »
As promised, I have updated the script to include MIMP.  It even worked with my phone.  8-)
There are other slight modifications to make the script flow a little better.

Enjoy,

John Bennett
SME 6.5RC1 Unofficial Update Scripts
......

[Announce] How to install/upgrade to Horde 3.0
« Reply #63 on: March 08, 2005, 03:35:40 PM »
I did manage to get ingo to fully control procmail (blacklist/whitelist/sorting/vacation) and it seems to work really well.  More testing is needed and I need to verify my 'method' works on a fresh 6.5 install.  Basicly I removed the ability to indicate how many days between replies to a sender. (Here are a couple of screen shots...
http://www.welcome2cncs.com/ingo/Image3.jpg
http://www.welcome2cncs.com/ingo/Image4.jpg

geo

[Announce] How to install/upgrade to Horde 3.0
« Reply #64 on: March 09, 2005, 12:03:05 PM »
In "10TurbaSources" at line 85 is a mistake:
}   'root' => 'dc={$turba_ldap},dc=com',


Geo

Offline mrjhb3

  • *
  • 1,183
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #65 on: March 09, 2005, 02:08:00 PM »
Quote from: "geo"
In "10TurbaSources" at line 85 is a mistake:
}   'root' => 'dc={$turba_ldap},dc=com',
Geo


No, this is not a mistake.  They are on the same line so that when you expand the template, it doesn't insert a blank line.

JB
......

geo

[Announce] How to install/upgrade to Horde 3.0
« Reply #66 on: March 09, 2005, 02:13:50 PM »
my server is in .xx not .com domain.

Offline mrjhb3

  • *
  • 1,183
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #67 on: March 09, 2005, 02:21:42 PM »
Quote from: "geo"
my server is in .xx not .com domain.


Well then that would be an issue I'd have to look at trying to correct some time.  For now, you will have to manually edit that file and expand it for your domain suffix.

JB
......

Offline wyron

  • *
  • 275
    • http://www.ideast.dk
[Announce] How to install/upgrade to Horde 3.0
« Reply #68 on: March 10, 2005, 12:57:42 PM »
Quote from: "mrjhb3"
For now, you will have to manually edit that file and expand it for your domain suffix. JB

Doesn't help one little bit.
After expansion of the sources.php
the line reads
...
 'root' => 'dc=domain.xx,dc=xx',
...
so instead you'll have to erase the ($turba_ldap) parenthesis in line 85 of the 10TurbaSources-template, and replace with your own
....
 'root' => 'dc=domain,dc=xx',
....
then expand the sources.php again.
That should take care of your problem.

Perhaps that ought to be documented in the 'update-scripts howto' as a reminder for those of us who don't have a .com domain.

Oh, by the way, JohnB
I love your scripts - they've saved me (and probably lots of others) many hours of tedious work.
Also lots of gratitude directed towards the other contributors.
You have all done some wonderful work!
Greetings
wyron
...

Offline mrjhb3

  • *
  • 1,183
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #69 on: March 10, 2005, 02:48:10 PM »
Quote from: "wyron"
Doesn't help one little bit.
After expansion of the sources.php
the line reads
...
 'root' => 'dc=domain.xx,dc=xx',
...


It was just a guess.  My test servers are down as I am reloading them again.  Sorry that didn't work.  I'm not sure how I can fix this.  The next thing that will happen is someone will say, well I have mydomain.mysubdomain.xxx and the file should read dc=domain,dc=subdomain,dc=xx.  So, I am open to suggestions, ok some code, from a real programmer.

Here is what I currently have:

/sbin/e-smith/config get DomainName > /root/plus/horde30/ldap
sed 's/.com//g' /root/plus/horde30/ldap > /root/plus/horde30/hordeldap

The above 2 lines get the value of the DomainName, chop off the .com (currently) and saves it to a file

#! /usr/bin/perl -w

$data_file="/root/plus/horde30/hordeldap";
open(DAT, $data_file) || die("Could not open file!");
@raw_data=<DAT>;
close(DAT);


foreach $ldapdomain (@raw_data)
{
 chop($ldapdomain);
 ($ldap_domain)=split(/\|/,$ldapdomain);
}

exec "\/sbin\/e-smith\/config setprop horde LdapDomainName $ldap_domain";

exit 0

The perl script reads the file that was created and adds an entry into the config database for horde, which the 10TurbaSources fragment reads

So, I think the code needs to change so that it can output the dc= lines instead of trying to insert the proper values as I have them now.  All suggestions welcomed.

Thanks,

JB

P.S. Thanks also for the kind words.
......

[Announce] How to install/upgrade to Horde 3.0
« Reply #70 on: March 10, 2005, 10:27:28 PM »
Try
'root' => ''
instead
'root' => 'dc=domain.xx,dc=xx'
Work for me

Offline wyron

  • *
  • 275
    • http://www.ideast.dk
[Announce] How to install/upgrade to Horde 3.0
« Reply #71 on: March 11, 2005, 10:43:51 AM »
Quote from: "PicsOne"
Try
'root' => ''
instead of
'root' => 'dc=domain.xx,dc=xx'
Work for me

Actually it shouldn't work.
the $turba_ldap puts the contents on both sides of a period (.) inside the DC 'container'.
To my best knowledge the system cannot interpret this, or, for that matter, a string that isn't there.
Greetings
wyron
...

Offline mrjhb3

  • *
  • 1,183
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #72 on: March 12, 2005, 04:20:44 AM »
Quote from: "wyron"
Quote from: "PicsOne"
Try
'root' => ''
instead of
'root' => 'dc=domain.xx,dc=xx'
Work for me

Actually it shouldn't work.
the $turba_ldap puts the contents on both sides of a period (.) inside the DC 'container'.
To my best knowledge the system cannot interpret this, or, for that matter, a string that isn't there.


I think he means to just use 'root' => ''.  I tried that and it seems to work.  I am testing more just to verify.

JB
......

[Announce] How to install/upgrade to Horde 3.0
« Reply #73 on: March 12, 2005, 06:02:26 AM »
Quote
I think he means to just use 'root' => ''. I tried that and it seems to work. I am testing more just to verify.

Yes, correct. Sorry for my bad english.
I extracted this for the previus turba source.php file.
About kronolith reminders, I read your thread at horde list, and I tryed this and run ok.
I use at command line:
/usr/bin/php /home/httpd/html/horde/kronolith/scripts/reminders.php

Run ok, and I get the reminders emails.

I use php 4.3.10 from Greg script
http://ergin.dyndns.org/download/php4.3.10-upgrade.sh
If you want to try, remove your current php version, and all extensions
Before execute, uncomment the lines for curl, mcrypt, mhash, domxml, xmlrpc

Then create a php custom template file named 70DynamicExtension71 and write this:
extension=domxml.so
extension=curl.so

Save, expand php, and restart httpd.
I use curl because moregroupware use it.
Ofcourse, you can load other extensions if you need it.
Tell me if you can run reminders ok with this php version.
Another module use reminders is nag, but I not tested yet.
Other issue for kronolith is the free/busyURL.

Offline mrjhb3

  • *
  • 1,183
    • John Bennett Services
[Announce] How to install/upgrade to Horde 3.0
« Reply #74 on: March 12, 2005, 02:55:23 PM »
Quote from: "PicsOne"
Quote
About kronolith reminders, I read your thread at horde list, and I tryed this and run ok.  I use at command line:
/usr/bin/php /home/httpd/html/horde/kronolith/scripts/reminders.php
Other issue for kronolith is the free/busyURL.


EDIT

OK, 2 down 1 to go.  Using 'root' => '' does seem to work.  I have also been able to get the reminders to work.  I never ever set my default identity.  The initial setup seems to be inconsistent for me.  It seems that my reminders don't work until I invite myself to 1 event, then they all start working.  Need to test this more for my sanity.  Thanks for the help.

JB
......