Hi Wilbert,

This is very puzzling to us. We have not seen it before, and we are unsure what
the right way to deal with it.

Can you tell us exactly what whitespace characters are trailing your fields,
and how you loaded the data in to the LDAP server? Are you sure that the data
in the LDAP server does not have trailing whitespace?

Thanks for reporting this. I hope we will be able to get to the bottom of it
soon.
Cheers.




On Jul 30,  9:03am, Wilbert de Graaf wrote:
> Subject:
>
>
> We have Radiator running on both Linux and NT, and authenticate against the
Microsoft LDAP server, using the AuthbyLDAP clause. With Radiator on Linux,
everything was okay but when we tried it on NT, every authentication request
was rejected.
> When I looked into the logfile, I noticed there was an extra whitespace at
the end of every value. I tried to use AuthbyLDAP2 instead, but the same there.
When I changed AuthLDAP.pm on NT a little bit it worked, but this is not a
general solution. The code was something like:
>
> #file "AuthLDAP.pm"
>
> sub finduser {
>     #...
>     if ($ent) {
>         #...
>         for (...) {
>             my @vals = ldap_get_values($self->{ld}, $ent, $ber);
>             chop @vals;
>         }
>     }
> }
>
> The only thing I added was the "chop @vals;". This is okay on NT, but wrong
on Linux.
>
> - Wilbert
>
>
> [ Attachment (text/x-html): ".prt3322Cfcbbb" 3019 bytes
>   Character set: iso-8859-1
>   Encoded with "quoted-printable" ]
>-- End of excerpt from Wilbert de Graaf



-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to