On Wed, 03 Jan 2007 17:48:17 +0000, Ian Eiloart <[EMAIL PROTECTED]> wrote:
>Hi, > >I'm trying to get spamd to read user configurations from LDAP, and I see >the errors below all the time. Does anyone know the cause? Or better, the >solution? > >I'm using this dsn: > >user_scores_dsn "ldap://ldap.sussex.ac.uk/ou=mail,o=university of >sussex?spamassassin?uid=__USERNAME__" with the correct >user_scores_ldap_username and user_scores_ldap_password. > > >Jan 3 17:45:27 karpinski spamd[23032]: invalid DN at > /opt/local/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Conf/LDAP.pm >line 161\n >Jan 3 17:45:27 karpinski spamd[23032]: Argument "uid=__username__" isn't >numeric in addition (+) at > /opt/local/lib/perl5/vendor_perl/5.8.8/Net/LDAP.pm line 406, <GEN102> >line 2.\n Just a guess, but isn't the UID the number associated with the username rather than the username? EG root UID=0