Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Using Authen::Radius with LDAP: Password being encrypted or corrupted

by serafina (Initiate)
on Dec 03, 2012 at 17:15 UTC ( #1006916=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    #!/usr/bin/perl -w
    # radtest username "ldappassword" localhost 2 testing123
    print "server response type = $type\n";
  2. or download this
    rad_recv: Access-Request packet from host port 58912, id=203
    +, length=50
        User-Name = "username"
        User-Password = "=\337R\3361\001ا.!\353\346\352\010ܫ"
    ++[ldap] returns reject
    Failed to authenticate the user.
      WARNING: Unprintable characters in the password.  Double-check the s
    +hared secret on the server and the NAS!
  3. or download this
    rad_recv: Access-Request packet from host port 47900, id=129
    +, length=74
        User-Name = "username"
        User-Password = "ldappassword"
        NAS-IP-Address =
        NAS-Port = 2
        Message-Authenticator = 0x935a295ea594eea2237c17b4cdb74a5e

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1006916]
Approved by marto
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2016-02-08 18:00 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (280 votes), past polls