Re: probable bug with default authentication in tmda-ofmipd, if run as root
Stephen Warren <[email protected]> Tue, 19 Dec 2006 12:07:53 -0700
| Newsgroups | gmane.mail.spam.tmda.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nathan Arthur wrote: > I get the following error: > > File "/usr/pkg/lib/python2.4/site-packages/TMDA/Util.py", line 120, in > getfilemode > statinfo = os.stat(path) > TypeError: coercing to Unicode: need string or buffer, NoneType found > > When I look in the source, I see what looks like a bug on line 291 (in > tmda/1.1.9): > > 291 authfile = '/usr/pkg/etc/tmda/tofmipd' > > If I change line 291 to read: > > 291 opts.authfile = '/usr/pkg/etc/tmda/tofmipd' > > ...it seems to fix the problem. I've checked this fix into svn. Thanks! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFiDiJhk3bo0lNTrURAh4qAKCaRgzJWotIznchc0kMyr6UeUTTmgCfbMiy IG3fXPRh2QQHBTiU/M91YGA= =7Wih -----END PGP SIGNATURE-----