Hello Mike -

Thanks for sending this, however there is already a patch available for
Radiator 2.16.3 in the patches area:

http://www.open.com.au/radiator/downloads/patches-2.16.3/

regards

Hugh

On Thu, 05 Oct 2000, Mike Hickey wrote:
> The way the get function in perl-ldap worked was changed in .20.
> It use to return the attribute value directly, so:
> $cn = $entry->get(`cn`);
> might return "Mike Hickey" in the older versions, it will now return 
>ARRAY(0xsomememaddress).
> 
> 
> To get the value directly now, you have to do:
> $cn = $entry->get(`cn`)->[0];
> which will suck the first value out of the array.
> 
> AuthLDAP2.pm v1.10
> Line 385 is:
> my @vals=$ent->get($attr);
> should be:
> my @vals=$ent->get($attr)->[0];
> 
> Sorry - One day I'll learn how to use patch :-)
> 
> 
> Mike
> 
> ===
> Archive at http://www.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to