abdelahad Posté(e) le 17 mai 2009 Posté(e) le 17 mai 2009 bonsoir, svp quelqu'un pourrait me venir en aide apres avoir lancer le raduisd -X ( sans sql ) normalement, je me retrouve avec ce pb en lancant le radtest [root@localhost raddb]# /usr/local/freeradius-fsdm/bin/radtest fsdmsmi testpw localhost:1812 1 testing123 (ou [root@localhost raddb]# /usr/local/freeradius-fsdm/bin/radtest fsdmsmi testpw localhost:1812 1812 testing123 ou [root@localhost raddb]# /usr/local/freeradius-fsdm/bin/radtest fsdmsmi testpw localhost:1812 0 testing123 ) Sending Access-Request of id 42 to 127.0.0.1 port 1812 User-Name = "fsdmsmi" User-Password = "testpw" NAS-IP-Address = 127.0.0.1 NAS-Port = 1 rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=42, length=31 cote serveur : rad_recv: Access-Request packet from host 127.0.0.1 port 42139, id=42, length=59 User-Name = "fsdmsmi" User-Password = "testpw" NAS-IP-Address = 127.0.0.1 NAS-Port = 1 +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop [suffix] No '@' in User-Name = "fsdmsmi", looking up realm NULL [suffix] No such realm "NULL" ++[suffix] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop ++[unix] returns notfound WARNING: Found User-Password == "...". WARNING: Are you sure you don't mean Cleartext-Password? WARNING: See "man rlm_pap" for more information. [files] users: Matched entry fsdmsmi at line 203 ++[files] returns ok ++[expiration] returns noop ++[logintime] returns noop [pap] WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop Found Auth-Type = Local WARNING: Please update your configuration, and remove 'Auth-Type = Local' WARNING: Use the PAP or CHAP modules instead. No "known good" password was configured for the user. As a result, we cannot authenticate the user. Login incorrect (No password configured for the user): [fsdmsmi/testpw] (from client localhost port 1) Failed to authenticate the user. Login incorrect: [fsdmsmi/testpw] (from client localhost port 1) Using Post-Auth-Type Reject +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> fsdmsmi attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 0 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 0 Sending Access-Reject of id 42 to 127.0.0.1 port 42139 Reply-Message = "Hello, %u" Waking up in 4.9 seconds. Cleaning up request 0 ID 42 with timestamp +262 Ready to process requests. pourtant le pass et le login sont correct voici l fichier users: "fsdmsmi" Auth-Type := Local, User-Password == 'testpw' fichier clients.conf client localhost { secret = testing123 require_message_authenticator = no shortname = localhost nastype = other } une solution svp car j'arrive plus a avancer dans mon projet
Serom Posté(e) le 17 mai 2009 Posté(e) le 17 mai 2009 Dans ton fichier user essaye ca: "fsdmsmi" Auth-Type := CHAP, User-Password == 'testpw'
abdelahad Posté(e) le 17 mai 2009 Auteur Posté(e) le 17 mai 2009 Dans ton fichier user essaye ca: "fsdmsmi" Auth-Type := CHAP, User-Password == 'testpw' nn ca na pas marché autre idee ??
Serom Posté(e) le 18 mai 2009 Posté(e) le 18 mai 2009 Ensuite il faut changer User-Password, c'est Cleartext-Password la bonne variable: "fsdmsmi" Auth-Type := CHAP, Cleartext-Password == 'testpw'
abdelahad Posté(e) le 18 mai 2009 Auteur Posté(e) le 18 mai 2009 Ensuite il faut changer User-Password, c'est Cleartext-Password la bonne variable:"fsdmsmi" Auth-Type := CHAP, Cleartext-Password == 'testpw' il falait utiliser Cleartext-Password mais avec operateur := pas == !! merci comme meme :)
Messages recommandés
Archivé
Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.