Question
Hello,
I did set up 4 instances of twiki. On three of them, notifications are working great, but I'm not able to get the fourth on to work.
The difference ? It is the only one which is using
LdapUserMapping (ie
LdapContrib).
Access control is also active for all webs on this twiki.
Can this be the problem?
I tried with - group name (extracted from LDAP : KO) - username (not the login name : KO) - login name (extracted from LDAP) : KO - email address : KO
Any help would really be appreciated
The crontab : */15 * * * * /path-to-command/twiki
twiki cron command : #!/bin/bash cd /srv/twiki /usr/bin/perl -I /srv/twiki/bin -I /srv/twiki/lib -I /srv/twiki/lib/CPAN/lib tools/mailnotify
output from the command :
./twiki
Processing ComiteDeDirection
-
ComDir: *
-
MarieLaureMiniussi: *
-
Cabinet
Last notification was at 2008-12-09T14:30:37Z
Processing Main
Main has no subscribers
Processing RespServicesGalilee
Last notification was at 2008-12-09T15:05:45Z
Processing Sandbox
Sandbox has no subscribers
Processing Sit
Sit has no subscribers
Processing TWiki
TWiki has no subscribers
Processing Trash
Trash has no subscribers
0 change notifications from ComiteDeDirection
0 change notifications from RespServicesGalilee
Thanks
Marie-Laure
Environment
--
MarieLaureMiniussi - 10 Dec 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
An update on this problem.
I tried to get notification on a web without access control.
- with the line
I got an error message :
WARNING: Failed to find permitted email for ' *
TWikiName: *' when processing web 'Web'
- with the line
the notification was submitted.
The problem seems to be that :
-
MailerContrib is not able to find the user email address in LDAP base
-
MailerContrib is not able to verify that
TWikiName is part of a group.
Has anybody been able to fix that?
Thanks
Marie-Laure
--
MarieLaureMiniussi - 10 Dec 2008
I also get the same issue, if anyone can fix it, please let me know. Meanwhile, I'm trying to debug.
--
HieuLeTrung - 25 Jan 2009
Marie-Laure,
Here is how to get the mail run with web topic access.
- Go to TWiki configure page, and select Security setup -> check the {Register}{AllowLoginName} = on (make sure you select
LdapUserMapping as the user mapping
- Go to the
TWikiUsers and add the user name in the notification page include his login name i.e.
HieuLeTrung - hieult
Done
--
HieuLeTrung - 26 Jan 2009