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, 梁伟俊 <liangwei...@dslyy.com> 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
> <packetfence-users@lists.sourceforge.net>
> *发送时间:* 2022-09-22 09:59
> *收件人:* packetfence-users <packetfence-users@lists.sourceforge.net>
> *抄送:* Fabrice Durand <oeufd...@gmail.com>
> *主题:* 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
>> <packetfence-users@lists.sourceforge.net>
>> *发送时间:* 2022-09-20 16:46
>> *收件人:* packetfence-users <packetfence-users@lists.sourceforge.net>
>> *抄送:* 梁伟俊 <liangwei...@dslyy.com>
>> *主题:* [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

Reply via email to