test en local impossible [Radius] - Réseaux - Réseaux grand public / SoHo
Marsh Posté le 16-01-2007 à 15:06:00
Voici mes logs :
rad_recv: Access-Request packet from host 127.0.0.1:1046, id=17, length=56
User-Name = "test"
User-Password = "\334mL\022L?\356\310al\345C\2475\025\242"
NAS-IP-Address = 255.255.255.255
NAS-Port = 0
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
modcall[authorize]: module "chap" returns noop for request 0
modcall[authorize]: module "mschap" returns noop for request 0
rlm_realm: No '@' in User-Name = "test", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 0
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 0
users: Matched entry DEFAULT at line 156
modcall[authorize]: module "files" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type System
auth: type "System"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
rlm_unix: [test]: invalid password
modcall[authenticate]: module "unix" returns reject for request 0
modcall: leaving group authenticate (returns reject) for request 0
auth: Failed to validate the user.
WARNING: Unprintable characters in the password. ? Double-check the shared secret on the server and the NAS!
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 17 to 127.0.0.1 port 1046
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 17 with timestamp 45acdad9
Nothing to do. Sleeping until we see a request.
Et du coté du lancement du test voici ce que j'ai :
radtest test test localhost 0 test
Sending Access-Request of id 84 to 127.0.0.1 port 1812
User-Name = "test"
User-Password = "test"
NAS-IP-Address = 255.255.255.255
NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=84, length=20
rad_verify: Received Access-Reject packet from client 127.0.0.1 port 1812 with invalid signature (err=2)! (Shared secret is incorrect.)
Marsh Posté le 17-01-2007 à 09:32:30
Es-ce que ca serait pas un problème de passerelle sachant que celle de ma carte reseau est 193.52..... alors que dans radiusd.conf on peut voir qu'il y'a une plage d'adresse de 192.168.1...à 192.168.3... ???
Marsh Posté le 17-01-2007 à 13:13:24
bon apparement pas beaucoup de personne connaisse ce serveur...snifff
Marsh Posté le 16-01-2007 à 10:36:25
Bonjour a tous
Voila je rencontre un petit soucis avec mon serveur radius qui sera plus tard couplé avec ldap je pense.
Lorsque je lance mon serveur tout est OK.
Mais quand j'essai de faire un test alors voila ce qu ise passe :
Sending Access Request of ID 32 to 127.0.0.1 port 1812
user name....
password.......
NAS IP ADRESS = 255.255.255.255
Nas port = 0
Je ne comprends pas pourquoi il me met ce broadcast alors que norlament il devrait m'afficher GW (=Passerelle je supose)
Et ensuite m'envoyer une reponse, mais nan ca ne marche pas.
J'ai essayé en ajouter un utilisateur, mais aussi sans....
Quelqu'un pourrait-il m'aider?