I had only put UserPrincipalName into the Username Attribute field. I have now also tried adding UserPrincialName in the Search Attributes list, but still the same problem.
The audit log shows: Module-Failure-Message = "chrooted_mschap: External script says: NT Error: code: 3221225572 message: (3221225572 'The specified account does not exist.')", D From: Zammit, Ludovic <[email protected]> Sent: 08 August 2025 19:50 To: IT Manager <[email protected]> Cc: [email protected] Subject: Re: [PacketFence-users] Username Attribute Ignored? Did you add the UPN as advance search attribute in the AD source ? Thanks, Ludovic Zammit Product Support Engineer Principal Lead [Image removed by sender.] Cell: +1.613.670.8432 Akamai Technologies - Inverse 145 Broadway Cambridge, MA 02142 Connect with Us: [Image removed by sender.]<https://community.akamai.com/>[Image removed by sender.]<http://blogs.akamai.com/>[Image removed by sender.]<https://twitter.com/akamai>[Image removed by sender.]<http://www.facebook.com/AkamaiTechnologies>[Image removed by sender.]<http://www.linkedin.com/company/akamai-technologies>[Image removed by sender.]<http://www.youtube.com/user/akamaitechnologies?feature=results_main> On Aug 8, 2025, at 10:48 AM, Dale Lloyd <[email protected]> wrote: This Message Is From an Untrusted Sender You have not previously corresponded with this sender. Yes, it is. D From: Zammit, Ludovic <[email protected]<mailto:[email protected]>> Sent: 08 August 2025 15:16 To: [email protected]<mailto:[email protected]> Cc: IT Manager <[email protected]<mailto:[email protected]>> Subject: Re: [PacketFence-users] Username Attribute Ignored? Hello Dale, Is the [email protected]<mailto:[email protected]> a UPN ? Thanks, Ludovic Zammit Product Support Engineer Principal Lead <~WRD0002.jpg> Cell: +1.613.670.8432 Akamai Technologies - Inverse 145 Broadway Cambridge, MA 02142 Connect with Us: <~WRD0002.jpg><https://community.akamai.com/><~WRD0002.jpg><http://blogs.akamai.com/><~WRD0002.jpg><https://urldefense.com/v3/__https:/twitter.com/akamai__;!!GjvTz_vk!UcgyUglPEmJES21oMmIZU8up07Ki0jTK3Pvx4OEZRZ5tZ2IxYe0N276Ni5SEiwthtEAvB7Lt35d4zI7ec5ZOohc$><~WRD0002.jpg><https://urldefense.com/v3/__http:/www.facebook.com/AkamaiTechnologies__;!!GjvTz_vk!UcgyUglPEmJES21oMmIZU8up07Ki0jTK3Pvx4OEZRZ5tZ2IxYe0N276Ni5SEiwthtEAvB7Lt35d4zI7eCjgLI3M$><~WRD0002.jpg><https://urldefense.com/v3/__http:/www.linkedin.com/company/akamai-technologies__;!!GjvTz_vk!UcgyUglPEmJES21oMmIZU8up07Ki0jTK3Pvx4OEZRZ5tZ2IxYe0N276Ni5SEiwthtEAvB7Lt35d4zI7eGDBTBhM$><~WRD0002.jpg><https://urldefense.com/v3/__http:/www.youtube.com/user/akamaitechnologies?feature=results_main__;!!GjvTz_vk!UcgyUglPEmJES21oMmIZU8up07Ki0jTK3Pvx4OEZRZ5tZ2IxYe0N276Ni5SEiwthtEAvB7Lt35d4zI7eCjDP75k$> On Aug 7, 2025, at 6:11 AM, Dale Lloyd via PacketFence-users <[email protected]<mailto:[email protected]>> wrote: This Message Is From an External Sender This message came from outside your organization. I have an 802.1X Wi-Fi network using an Active Directory authentication source. Usernames are in the format [email protected]<mailto:[email protected]> If usernames (the bit before the @ sign) exceed 20 characters, the user cannot log in, unless they truncate their username to 20 characters. I have changed the Username Attribute in the authentication source from sAMAccountName to UserPrincipalName, but still users cannot use their full username. I am using PacketFence 14.1. Advice welcomed :-) D _______________________________________________ PacketFence-users mailing list [email protected]<mailto:[email protected]> https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/packetfence-users__;!!GjvTz_vk!SsesnwPuupaH07uQY6L7vQlK_I31L1YivpboaxwpL73LoX-IhTa9xceVeJsmeawqyD2_oDTQn6KYIOyhzTxXqNNz6TzDJyF9DPiOKQ$<https://urldefense.com/v3/__https:/lists.sourceforge.net/lists/listinfo/packetfence-users__;!!GjvTz_vk!SsesnwPuupaH07uQY6L7vQlK_I31L1YivpboaxwpL73LoX-IhTa9xceVeJsmeawqyD2_oDTQn6KYIOyhzTxXqNNz6TzDJyF9DPiOKQ$>
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
