FreeRADIUS / freeradius-server

FreeRADIUS - A multi-protocol policy server.
http://freeradius.org
GNU General Public License v2.0
2.11k stars 1.08k forks source link

hello i m using packetfence v12 i m getting error when i m doing ldap authentication. error message is "chrooted_mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'" please hel me how to resolve this issue #4798

Closed Nikunj-vachhani closed 1 year ago

Nikunj-vachhani commented 1 year ago

Message

No response

Nikunj-vachhani commented 1 year ago

here my log is.

User-Name = "test" PacketFence-Outer-User = "test" PacketFence-Radius-Ip = "10.20.40.153" PacketFence-KeyBalanced = "6b122f22c604e222f12b61d62d280f1c" Realm = "null" MS-CHAP2-Response = 0x0d656cc2d345ea2eb1296a0fb15b2f4199ac00000000000000000173e6119dba97e99ccce5c9885fee973cdc28ce6a307388 NAS-IP-Address = 11.11.11.240 NAS-Port = 53 MS-CHAP-Challenge = 0xbaca61dd8a6ea7c15cc945f87dd93b56 Acct-Session-Id = "050000D6" Calling-Station-Id = "54:05:db:0a:ae:a4" NAS-Port-Type = Ethernet EAP-Message = 0x020d003f1a020d003a316cc2d345ea2eb1296a0fb15b2f4199ac00000000000000000173e6119dba97e99ccce5c9885fee973cdc28ce6a3073880074657374 PacketFence-Domain = "RRU" EAP-Type = MSCHAPv2 Event-Timestamp = "Nov 11 2022 20:36:56 IST" State = 0x8f2aa8e58f27b281f75af021299fd306 PacketFence-NTLMv2-Only = "" FreeRADIUS-Proxied-To = 127.0.0.1 MS-CHAP-User-Name = "test" Stripped-User-Name = "test" Module-Failure-Message = "chrooted_mschap: Program returned code (1) and output 'The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)'" Module-Failure-Message = "chrooted_mschap: External script says: The attempted logon is invalid. This is either due to a bad username or authentication information. (0xc000006d)" Module-Failure-Message = "chrooted_mschap: MS-CHAP2-Response is incorrect" User-Password = "**" SQL-User-Name = "test"

RADIUS Reply MS-CHAP-Error = "\rE=691 R=0 C=2ab8937d7fdee13c698835b2c37498d3 V=3 M=Authentication rejected" EAP-Message = 0x040d0004 Message-Authenticator = 0x00000000000000000000000000000000

mcnewton commented 1 year ago

Questions belong on the freeradius-users mailing list.

Nikunj-vachhani commented 1 year ago

share the link to find