[sork] Vacation problem

carole gimenez gimenez at cict.fr
Fri Mar 25 06:06:08 PST 2005


Hi,

I used horde-3.0.3, imp-h3-4.0.2 and vacation-HEAD-2005-03-04

I don't manage to make function the vacation module.

The authentication for horde/imp is done through cyrus-imap which
consults the ldap directory. It works well.

So, i want to interface the vacation module with the ldap directory.

For that, i try to use the Exim mailer based ldap driver. I choose the
'mailReplyText' attribute of qmail.schema to store the vacation message
in the ldap directory.

My conf.php looks at this:
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: vacation/config/conf.xml,v 1.8 2004/11/10 19:20:07 eraserhd Exp $
$conf['vacation']['path'] = '/usr/bin/vacation';
$conf['vacation']['default'] = 'Subject: ' . _("On vacation message") .
"\n" . _("I'm on vacation and will not be reading my mail for a while.")
. "\n" . _
("Your mail will be dealt with when I return.") . "\n";;
$conf['server']['params']['default']['host'] = 'xxxxxx';
$conf['server']['params']['default']['port'] = 389;
$conf['server']['params']['default']['basedn'] =
'ou=people,dc=ups-tlse,dc=fr';
$conf['server']['params']['default']['userdn'] =
'uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr';  (==> it's my entry in ldap
directory)
$conf['server']['params']['default']['vacation'] = 'mailReplyText';
$conf['server']['params']['default']['hordeauth'] = 'full';
$conf['server']['driver'] = 'ldap';
$conf['aliases']['show'] = false;
$conf['aliases']['driver'] = 'none';
$conf['user']['refused'] = array('root', 'bin', 'daemon', 'adm', 'lp',
'shutdown', 'halt', 'uucp', 'ftp', 'anonymous', 'nobody', 'httpd',
'operator', 'gues
t', 'diginext', 'bind', 'cyrus', 'courier', 'games', 'kmem', 'mailnull',
'man', 'mysql', 'news', 'postfix', 'sshd', 'tty', 'www');
$conf['menu']['apps'] = array('imp');
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */


When i try to put a vacation message, horde says me that 'The message of
absence was activated successfully'. But in the ldap log, i have this
error ": empty AttributeDescription" :

Mar 25 11:14:13 pc-systeme slapd[11775]: do_modify
Mar 25 11:14:13 pc-systeme slapd[11775]: do_modify: dn
(uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr)
Mar 25 11:14:13 pc-systeme slapd[11775]: >>> dnPrettyNormal:
<uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr>
Mar 25 11:14:13 pc-systeme slapd[11775]: <<< dnPrettyNormal:
<uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr>,
<uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr>
Mar 25 11:14:13 pc-systeme slapd[11775]: modifications:
Mar 25 11:14:13 pc-systeme slapd[11775]: ^Ireplace: mailReplyText
Mar 25 11:14:13 pc-systeme slapd[11775]: ^I^Ione value, length 57
Mar 25 11:14:13 pc-systeme slapd[11775]: ^Ireplace:
Mar 25 11:14:13 pc-systeme slapd[11775]: ^I^Ione value, length 1
Mar 25 11:14:13 pc-systeme slapd[11775]: conn=248 op=1 MOD
dn="uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr"
Mar 25 11:14:13 pc-systeme slapd[11775]: conn=248 op=1 MOD
attr=mailReplyText
Mar 25 11:14:13 pc-systeme slapd[11775]:
bdb_dn2entry("uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr")
Mar 25 11:14:13 pc-systeme slapd[11775]: send_ldap_result: conn=248 op=1 p=2
Mar 25 11:14:13 pc-systeme slapd[11775]: send_ldap_result: err=17
matched="" text=": empty AttributeDescription"
Mar 25 11:14:13 pc-systeme slapd[11775]: send_ldap_response: msgid=2
tag=103 err=17
Mar 25 11:14:13 pc-systeme slapd[11775]: conn=248 op=1 RESULT tag=103
err=17 text=: empty AttributeDescription


I must do something wrong but i don't find any answer to my problem.

Do someone can help me to understand how that works?

Thanks for advance.

Carole Gimenez.




More information about the sork mailing list