Re: [PacketFence-users] Auth Failed with openldap 【2nd Try】
Fabrice after enable ntPassword fucntion , the issue is still , we try to add attribute that ntPassword in the Openldap but failed , liangwei...@dslyy.com 发件人: Fabrice Durand 发送时间: 2022-09-23 02:18 收件人: 梁伟俊 抄送: packetfence-users 主题: Re: Re: [PacketFence-users]Auth Failed with openldap 【2nd Try】 Hello, i think in the ldap config you need to enable that: control:NT-Password := 'ntPassword' and ntPassword is supposed to be the attribute in the ldap that matches the user password. Regards Fabrice Le mer. 21 sept. 2022 à 22:51, 梁伟俊 a écrit : Fabrice Thanks for your reply , the raddebug log & ldap config as attachment for your reference Weijun Liang best regard, 发件人: Fabrice Durand via PacketFence-users 发送时间: 2022-09-22 09:59 收件人: packetfence-users 抄送: Fabrice Durand 主题: Re: [PacketFence-users]Auth Failed with openldap 【2nd Try】 Hello, it´s something like that you have to follow. https://www.packetfence.org/doc/PacketFence_Installation_Guide.html#_eap_authentication_against_openldap It´s been a long time i did that and it will probably needs to be adjusted. Let me know how it goes and provide me raddebug log if possible and i will try to help you. Regards Fabrice Le mer. 21 sept. 2022 à 11:54, 梁伟俊 via PacketFence-users a écrit : Hello Try it again liangwei...@dslyy.com 发件人: 梁伟俊 via PacketFence-users 发送时间: 2022-09-20 16:46 收件人: packetfence-users 抄送: 梁伟俊 主题: [PacketFence-users] Auth Failed with openldap hello endpoint authenticate using Mschapv2 with openldap was failed , userpassword is plaintext in database , Is there any incorroect settings there, please correct me, thanks (54) Tue Sep 20 14:30:07 2022: Debug: Found Auth-Type = openldap (54) Tue Sep 20 14:30:07 2022: Debug: # Executing group from file /usr/local/pf/raddb/sites-enabled/packetfence-tunnel (54) Tue Sep 20 14:30:07 2022: Debug: Auth-Type openldap { (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: You have set "Auth-Type := LDAP" somewhere (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * THAT CONFIGURATION IS WRONG. DELETE IT. (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * YOU ARE PREVENTING THE SERVER FROM WORKING (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * (54) Tue Sep 20 14:30:07 2022: ERROR: openldap: Attribute "User-Password" is required for authentication Desktop informations : OS: win10 use 802.1x PacketFence Version 12.0.0 attach the config & erro log best regard, ___ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users ___ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users
Re: [PacketFence-users] Auth Failed with openldap 【2nd Try】
Hello, i think in the ldap config you need to enable that: control:NT-Password := 'ntPassword' and ntPassword is supposed to be the attribute in the ldap that matches the user password. Regards Fabrice Le mer. 21 sept. 2022 à 22:51, 梁伟俊 a écrit : > Fabrice > > Thanks for your reply , the raddebug log & ldap config as attachment for > your reference > > -- > Weijun Liang > best regard, > > > *发件人:* Fabrice Durand via PacketFence-users > > *发送时间:* 2022-09-22 09:59 > *收件人:* packetfence-users > *抄送:* Fabrice Durand > *主题:* Re: [PacketFence-users]Auth Failed with openldap 【2nd Try】 > Hello, > > it´s something like that you have to follow. > > https://www.packetfence.org/doc/PacketFence_Installation_Guide.html#_eap_authentication_against_openldap > > It´s been a long time i did that and it will probably needs to be adjusted. > > Let me know how it goes and provide me raddebug log if possible and i will > try to help you. > > Regards > Fabrice > > > Le mer. 21 sept. 2022 à 11:54, 梁伟俊 via PacketFence-users < > packetfence-users@lists.sourceforge.net> a écrit : > >> Hello >> >> Try it again >> >> -- >> liangwei...@dslyy.com >> >> >> *发件人:* 梁伟俊 via PacketFence-users >> >> *发送时间:* 2022-09-20 16:46 >> *收件人:* packetfence-users >> *抄送:* 梁伟俊 >> *主题:* [PacketFence-users] Auth Failed with openldap >> hello >> >> endpoint authenticate using Mschapv2 with openldap was failed , >> userpassword is plaintext in database , Is there any incorroect settings >> there, please correct me, thanks >> >> (54) Tue Sep 20 14:30:07 2022: Debug: Found Auth-Type = openldap >> (54) Tue Sep 20 14:30:07 2022: Debug: # Executing group from file >> /usr/local/pf/raddb/sites-enabled/packetfence-tunnel >> (54) Tue Sep 20 14:30:07 2022: Debug: Auth-Type openldap { >> (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: You have set "Auth-Type >> := LDAP" somewhere >> (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: >> * >> (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * THAT CONFIGURATION IS >> WRONG. DELETE IT. >> (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * YOU ARE PREVENTING >> THE SERVER FROM WORKING >> (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: >> * >> (54) Tue Sep 20 14:30:07 2022: ERROR: openldap: Attribute "User-Password" >> is required for authentication >> >> *Desktop informations :* >> >>- OS: win10 >>- use 802.1x >>- PacketFence Version 12.0.0 >> >> attach the config & erro log >> >> >> -- >> best regard, >> >> ___ >> PacketFence-users mailing list >> PacketFence-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/packetfence-users >> > ___ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users
Re: [PacketFence-users] Auth Failed with openldap 【2nd Try】
Hello, it´s something like that you have to follow. https://www.packetfence.org/doc/PacketFence_Installation_Guide.html#_eap_authentication_against_openldap It´s been a long time i did that and it will probably needs to be adjusted. Let me know how it goes and provide me raddebug log if possible and i will try to help you. Regards Fabrice Le mer. 21 sept. 2022 à 11:54, 梁伟俊 via PacketFence-users < packetfence-users@lists.sourceforge.net> a écrit : > Hello > > Try it again > > -- > liangwei...@dslyy.com > > > *发件人:* 梁伟俊 via PacketFence-users > *发送时间:* 2022-09-20 16:46 > *收件人:* packetfence-users > *抄送:* 梁伟俊 > *主题:* [PacketFence-users] Auth Failed with openldap > hello > > endpoint authenticate using Mschapv2 with openldap was failed , > userpassword is plaintext in database , Is there any incorroect settings > there, please correct me, thanks > > (54) Tue Sep 20 14:30:07 2022: Debug: Found Auth-Type = openldap > (54) Tue Sep 20 14:30:07 2022: Debug: # Executing group from file > /usr/local/pf/raddb/sites-enabled/packetfence-tunnel > (54) Tue Sep 20 14:30:07 2022: Debug: Auth-Type openldap { > (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: You have set "Auth-Type > := LDAP" somewhere > (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: > * > (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * THAT CONFIGURATION IS > WRONG. DELETE IT. > (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * YOU ARE PREVENTING THE > SERVER FROM WORKING > (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: > * > (54) Tue Sep 20 14:30:07 2022: ERROR: openldap: Attribute "User-Password" > is required for authentication > > *Desktop informations :* > >- OS: win10 >- use 802.1x >- PacketFence Version 12.0.0 > > attach the config & erro log > > > -- > best regard, > > ___ > PacketFence-users mailing list > PacketFence-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/packetfence-users > ___ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users
[PacketFence-users] Auth Failed with openldap 【2nd Try】
Hello Try it again liangwei...@dslyy.com 发件人: 梁伟俊 via PacketFence-users 发送时间: 2022-09-20 16:46 收件人: packetfence-users 抄送: 梁伟俊 主题: [PacketFence-users] Auth Failed with openldap hello endpoint authenticate using Mschapv2 with openldap was failed , userpassword is plaintext in database , Is there any incorroect settings there, please correct me, thanks (54) Tue Sep 20 14:30:07 2022: Debug: Found Auth-Type = openldap (54) Tue Sep 20 14:30:07 2022: Debug: # Executing group from file /usr/local/pf/raddb/sites-enabled/packetfence-tunnel (54) Tue Sep 20 14:30:07 2022: Debug: Auth-Type openldap { (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: You have set "Auth-Type := LDAP" somewhere (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * THAT CONFIGURATION IS WRONG. DELETE IT. (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * YOU ARE PREVENTING THE SERVER FROM WORKING (54) Tue Sep 20 14:30:07 2022: WARNING: openldap: * (54) Tue Sep 20 14:30:07 2022: ERROR: openldap: Attribute "User-Password" is required for authentication Desktop informations : OS: win10 use 802.1x PacketFence Version 12.0.0 attach the config & erro log best regard, ___ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users