Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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
    ...
            exit();
    }
    print "server response type = $type\n";
    
  2. or download this
    rad_recv: Access-Request packet from host 127.0.0.1 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 127.0.0.1 port 47900, id=129
    +, length=74
        User-Name = "username"
        User-Password = "ldappassword"
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 2
        Message-Authenticator = 0x935a295ea594eea2237c17b4cdb74a5e
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2014-10-25 22:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls