You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by ml ml <ml...@googlemail.com> on 2010/01/31 18:43:59 UTC

LDAP error: Argument "scope" isn't numeric in addition (+) at /usr/share/perl5/Net/LDAP.pm line 468

Hello List,

i am using Debian Lenny with spamassassin (3.2.5-2+lenny2), perl
(5.10.0-19lenny2) and slapd (2.4.11-1+lenny1).

In /etc/spamassassin/local.cf i have:
user_scores_dsn
ldap://localhost:389/ou=customer,dc=hq,dc=example,dc=net?attr?scope?uid=__USERNAME__

In my log i get this error:
spamd[5179]: Argument "scope" isn't numeric in addition (+) at
/usr/share/perl5/Net/LDAP.pm line 468, <GEN12> line 2.


Does anyone know why?
Am i doing something wrong?
How can i debug this? Or where do i have to go for help?

Cheers,
Mario

Re: LDAP error: Argument "scope" isn't numeric in addition (+) at /usr/share/perl5/Net/LDAP.pm line 468

Posted by ml ml <ml...@googlemail.com>.
ok, this was a stupid Copy+paste mistake.
the correct line should be:
ldap://localhost:389/ou=customer,dc=hq,dc=example,dc=net?spamassassin?sub?uid=__USERNAME__

:)

On Sun, Jan 31, 2010 at 6:43 PM, ml ml <ml...@googlemail.com> wrote:
> Hello List,
>
> i am using Debian Lenny with spamassassin (3.2.5-2+lenny2), perl
> (5.10.0-19lenny2) and slapd (2.4.11-1+lenny1).
>
> In /etc/spamassassin/local.cf i have:
> user_scores_dsn
> ldap://localhost:389/ou=customer,dc=hq,dc=example,dc=net?attr?scope?uid=__USERNAME__
>
> In my log i get this error:
> spamd[5179]: Argument "scope" isn't numeric in addition (+) at
> /usr/share/perl5/Net/LDAP.pm line 468, <GEN12> line 2.
>
>
> Does anyone know why?
> Am i doing something wrong?
> How can i debug this? Or where do i have to go for help?
>
> Cheers,
> Mario
>