Installing Horde Groupware

When I select Webmailer from inside Horde I have to authenticate once more. Can anybody tell what is wrong in the configuration?
It’s the same with Gollem.
By the way, Gollem needs a newer version of Horde core. I updated Core and all modules with pear, so I get notes and bookmarks as well.

I get permanent errors saying “invalid filter syntax”. Something must be wrong with the expression above.
Does anybody else have these errors? May somebody corrected the syntax aleady.

I think you have to change your filter settings consistent to your ad at Univention.

I don’t think so. Invalid syntax means a missing comma or something similar.
If I write it like that:
(&(objectCategory=group)(objectClass=user))
the error message stops but then the DN of the user is not found anymore.

I did my settings at webinterface, there you can type in like I wrote at my HowTo. But please have a look at config file, it should look like the foolowing:

$conf['group']['params']['user']['filter'] = '(objectCategory=group)(objectClass=user)';
$conf['group']['params']['user']['filter_type'] = 'filter';

Nope. Same error message.
But I found somewhere that “(objectCategory=group)” is redundant. So. I dropped this and just kept “(objectClass=user)”. As far as I can see, it works and no error message.

1 Like

I got everything up and running now. There is still one problem left: I cannot use the vacation filter in Ingo.
I adjusted the config to use timsieved and to communicate with the local imap server which is dovecot.
The mail server is part of NS. But there I don’t see a possibility in the GUI to use Sieve either.
Does anybody know how to do this?

I’ve read that you have to install

dovecot-pigeonhole

Could you try please.

I had dovecot-pigeonhole installed. But the main point is that you have to create a backends.local.php in ingo which replaces imap with timsieved. The configuration details are shown in backend.php.
After that you have “vacation” in the filter list. It works fine.

1 Like

Thanks Ralph,
if I have some time I would try the configuration of Ingo and add it to my howto.

I resolved this with the following configuration:

Configuration -> Horde -> tab “Authentication”

$conf[auth][driver] = "Let a Horde application handle authentication"
$conf[auth][params][app] = "imp"

https://www.horde.org/apps/imp/docs/INSTALL#configuring-imp

2 Likes

2 posts were merged into an existing topic: Password for LDAP bind

I’m running into some trouble on this on my Neth 7.4 machine. The first problem was errors with horde-db-migrate that it couldn’t connect to the mysql server using either localhost or the FQDN as the hostname. I solved that by connecting via unix socket instead, at /var/lib/mysql/mysql.sock.

Then I tried to configure it to bind to Active Directory, and am ending up with this result:

One oddity that might be relevant is that when I run account-provider-test dump, the BindPassword appears to be a 256-character string of non-ASCII characters:
"BindPassword" : "돃㭘斖漿绞粤ꋒ橳㔣砛縞 (cut off, it goes much longer)

When I look at /var/log/horde/horde.log, the only entry close in time to the failure is:
2017-11-17T18:31:14+00:00 EMERG: HORDE [horde] Permission denied. [pid 18146 on line 373 of "/usr/share/pear/Horde/Registry.php"]

Where should I start looking?

Hi @danb35,

you may create an AD User and use that AD user credentials for joining instead of machine and bind password.
Maybe Horde has problems with the binary bind password.

1 Like

I was in the middle of writing a post explaining what further problems I was having when I tried it again. It’s working now. I haven’t changed a thing. :confused: Now I can log in to the horde portal itself as admin or any other user I want, and I can go to admin/config/ and log in as admin.

OK, onward and upward. Going to try installing imp now and see how it goes.

1 Like

I’d been looking at installing this in an AD environment, but it’s looking like I’ll be using local LDAP instead. Any ideas what would need to change? I’m thinking the horde-hook script wouldn’t be needed, possibly replacing samaccountname with accountname? Others?

For LDAP it should be uid instead of samaccountname.

1 Like

Thanks. Would any other changes be called for?

Edit: It’d really be great to see this as a module that could be installed through yum–I’ve been using Horde for the last 15+ years. Other than packaging it myself, which I lack the skill to do, is there any other way I can help make this happen?

1 Like

Hi @danb35 ,
the horde-hook script could be interesting for getting fullname and mail adress from LDAP. Here you can find an example for doing it with LDAP:

https://wiki.horde.org/LDAPHooksHorde5

I don’t know, I didn’t tried with LDAP, I think some variables like givenname are not the same at LDAP. I’ve found for LDAP it is cn (Common Name).

A beginning could be to create the howto for LDAP-binding and post it.
I think a second big thing could be to create a howto for changing with all data from SOGo to Horde.
Tomorrow is a meeting at FOSDEM. I could ask if there is a chance to replace SOGo witht Horde.

Sounds like some pointers–I’ll see what I can accomplish. Thanks.

1 Like