Hi Mark -

At 1:26 AM 28/7/99, Mark O'Leary wrote:
>You may recall I've been trying to authenticate against an NDS password via
>an LDAP server...
>
>I have it mostly working (most code cannabalised from existing modules)
>except for one thing: I need to get the plaintext version of the password
>that the NAS sent in its access request packet into a variable.
>
>I am grabbing the supplied username as the $name passed to the finduser
>subroutine (or in other attempts via  '$p->getUserName').
>
>Whats the equivalent for getting the password, please? Advice welcomed.
>

You can get the plaintext password by doing something similar to what is
in Radius::Radius::check_plaintext_password

$submitted_pw = $self->decode_password($self->{Client}->{Secret});

where $self is a radius packet.

hth

Hugh

--
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.



===
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