[sork] problem with ldap support for vacation-module

carole gimenez gimenez at cict.fr
Tue Mar 29 08:16:25 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. The mailer is sendmail.

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'] = 'xxxxxxxx';
$conf['server']['params']['default']['port'] = 389;
$conf['server']['params']['default']['basedn'] = 'ou=people,dc=ups-tlse,dc=fr';
$conf['server']['params']['default']['userdn'] = 'uid=' . Auth::getAuth() . ',ou=people,dc=ups-tlse,dc=fr';
$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', 'guest', '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 29 18:09:37 pc-systeme slapd[15889]: conn=1302 fd=17 ACCEPT from IP=130.120.74.17:43058 (IP=130.120.74.17:389)
Mar 29 18:09:37 pc-systeme slapd[15889]: conn=1302 op=0 BIND dn="uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr" method=128
Mar 29 18:09:37 pc-systeme slapd[15889]: conn=1302 op=0 BIND dn="uid=VRC4952A,ou=people,dc=ups-tlse,dc=fr" mech=SIMPLE ssf=0
Mar 29 18:09:37 pc-systeme slapd[15889]: conn=1302 op=0 RESULT tag=97 err=0 text=
Mar 29 18:09:37 pc-systeme slapd[15889]: conn=1302 op=1 MOD dn="uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr"
Mar 29 18:09:37 pc-systeme slapd[15889]: conn=1302 op=1 MOD attr=mailReplyText
Mar 29 18:09:37 pc-systeme slapd[15889]: conn=1302 op=1 RESULT tag=103 *err=17 text=: empty AttributeDescription*
Mar 29 18:09:37 pc-systeme slapd[15889]: conn=1302 op=2 SRCH base="uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr" scope=2 deref=0 filter="(uid=*)"
Mar 29 18:09:37 pc-systeme slapd[15889]: conn=1302 op=2 SRCH attr=mailReplyText
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1302 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1302 op=3 UNBIND
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1302 fd=17 closed
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1303 fd=17 ACCEPT from IP=130.120.74.17:43059 (IP=130.120.74.17:389)
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1303 op=0 BIND dn="uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr" method=128
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1303 op=0 BIND dn="uid=VRC4952A,ou=people,dc=ups-tlse,dc=fr" mech=SIMPLE ssf=0
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1303 op=0 RESULT tag=97 err=0 text=
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1303 op=1 SRCH base="uid=vrc4952a,ou=people,dc=ups-tlse,dc=fr" scope=2 deref=0 filter="(uid=*)"
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1303 op=1 SRCH attr=mailReplyText
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1303 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1303 op=2 UNBIND
Mar 29 18:09:38 pc-systeme slapd[15889]: conn=1303 fd=17 closed


I verified in slapd.conf that the user have write access to 'mailReplyText' attribute.

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