Tags:
create new tag
view all tags

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

  • MarieLaureMiniussi: *
    

   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

TWiki version: TWikiRelease04x02x03
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin,Contrib.MailerContrib,Contrib.LdapContrib
Server OS: Debian
Web server: apache 2
Perl version: 5.8.8
Client OS: Ubuntu 8.10
Web Browser: Firefox
Categories: Mail

-- MarieLaureMiniussi - 10 Dec 2008

Answer

ALERT! 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 smile

-- HieuLeTrung - 26 Jan 2009

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2009-01-26 - HieuLeTrung
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.