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