Ah, looks like the valid_from field for the admin user was set to 17:34:41 on the day of the install, which would have been an hour or two after I ran the setup wizard. I'm guessing that's another time zone related bug where the user was created first, then the time zone was changed sending the current system time into the past relative to the user's valid from date.
________________________________ From: Zammit, Ludovic Sent: Friday, April 23, 2021 10:25 AM To: Ethan Powell Cc: packetfence-users@lists.sourceforge.net Subject: Re: [PacketFence-users] Admin "Wasn't able to authenticate" after setup wizard in ZEN Hello Ethan, Run this command: mysql -p -upf pf -e "select * from password where pid='admin'\G” Put your PF MySQL password and check the valid_from and expiration. Thanks, Ludovic Zammit Product Support Engineer Principal [https://www.akamai.com/us/en/multimedia/images/custom/2019/logo-no-tag-93x45.png] Cell: +1.613.670.8432 Akamai Technologies - Inverse 145 Broadway Cambridge, MA 02142 Connect with Us: [https://www.akamai.com/us/en/multimedia/images/custom/community.jpg] <https://community.akamai.com> [https://www.akamai.com/us/en/multimedia/images/custom/rss.png] <http://blogs.akamai.com> [https://www.akamai.com/us/en/multimedia/images/custom/twitter.png] <https://twitter.com/akamai> [https://www.akamai.com/us/en/multimedia/images/custom/fb.png] <http://www.facebook.com/AkamaiTechnologies> [https://www.akamai.com/us/en/multimedia/images/custom/in.png] <http://www.linkedin.com/company/akamai-technologies> [https://www.akamai.com/us/en/multimedia/images/custom/youtube.png] <http://www.youtube.com/user/akamaitechnologies?feature=results_main> On Apr 23, 2021, at 9:10 AM, Ethan Powell <epow...@hlcommunity.org<mailto:epow...@hlcommunity.org>> wrote: When I ran the date command yesterday and today it shows the correct time. I just tried logging in again this morning and it let's me login as admin now. Both yesterday and today, Lastpass was filling in the credentials. I didn't reboot between yesterday and today. Not sure what that was about, but it does make me a little nervous. ________________________________ From: Zammit, Ludovic Sent: Friday, April 23, 2021 7:25 AM To: packetfence-users@lists.sourceforge.net<mailto:packetfence-users@lists.sourceforge.net> Cc: Ethan Powell Subject: Re: [PacketFence-users] Admin "Wasn't able to authenticate" after setup wizard in ZEN Hello Ethan, If you do the command: date On the server, does it show the correct time ? Thanks, Ludovic Zammit Product Support Engineer Principal [https://www.akamai.com/us/en/multimedia/images/custom/2019/logo-no-tag-93x45.png] Cell: +1.613.670.8432 Akamai Technologies - Inverse 145 Broadway Cambridge, MA 02142 Connect with Us: [https://www.akamai.com/us/en/multimedia/images/custom/community.jpg] <https://community.akamai.com/> [https://www.akamai.com/us/en/multimedia/images/custom/rss.png] <http://blogs.akamai.com/> [https://www.akamai.com/us/en/multimedia/images/custom/twitter.png] <https://urldefense.com/v3/__https://twitter.com/akamai__;!!GjvTz_vk!FazjTROqqBEd64e7kKMPG-iF02eGiqAjDp2l5KWGtXczfPGIqJHNd6Jg6f2Qqw$> [https://www.akamai.com/us/en/multimedia/images/custom/fb.png] <https://urldefense.com/v3/__http://www.facebook.com/AkamaiTechnologies__;!!GjvTz_vk!FazjTROqqBEd64e7kKMPG-iF02eGiqAjDp2l5KWGtXczfPGIqJHNd6KrrKB4xA$> [https://www.akamai.com/us/en/multimedia/images/custom/in.png] <https://urldefense.com/v3/__http://www.linkedin.com/company/akamai-technologies__;!!GjvTz_vk!FazjTROqqBEd64e7kKMPG-iF02eGiqAjDp2l5KWGtXczfPGIqJHNd6L1BTHYvQ$> [https://www.akamai.com/us/en/multimedia/images/custom/youtube.png] <https://urldefense.com/v3/__http://www.youtube.com/user/akamaitechnologies?feature=results_main__;!!GjvTz_vk!FazjTROqqBEd64e7kKMPG-iF02eGiqAjDp2l5KWGtXczfPGIqJHNd6JBkkYsvg$> On Apr 22, 2021, at 3:58 PM, Ethan Powell via PacketFence-users <packetfence-users@lists.sourceforge.net<mailto:packetfence-users@lists.sourceforge.net>> wrote: I deployed the PacketFence ZEN OVA template (PacketFence-ZEN-v10.3.0.ova) through Vmware Vcenter 6.7 navigated to https://urldefense.com/v3/__https://ipaddress:1443/__;!!GjvTz_vk!BleucoILgarTGgMevxTG_KH97mVxpvOKTlqWdxgrzPCpfjkJxM2e2y66AgMneBtx$ and ran through the setup wizard. I generated an admin password in Lastpass, copied it into the web interface of Pfsense, and used the view password eyeball button to confirm that it matched. After I finished the setup wizard, it would not let me login with the username admin and the password that I set. It said, "Wasn't able to authenticate those credentials". I found this bug, which looks like it's been patched https://urldefense.com/v3/__https://github.com/inverse-inc/packetfence/issues/5390__;!!GjvTz_vk!BleucoILgarTGgMevxTG_KH97mVxpvOKTlqWdxgrzPCpfjkJxM2e2y66Av1q1XRE$ . During the setup I set my time zone to America/Chicago. When I use the Vmware console to login to the terminal with the default credentials (root and p@ck3tf3nc3) and run the date command, I see that the timezone is CDT which is correct. I connected to the database (that password worked fine) and ran "SHOW GLOBAL VARIABLES LIKE 'time_zone';" which showed the timezone set to system. I also rebooted to see if that would help, and it did not. I deleted the VM and deployed the template again. This time I was very careful to copy the password into the admin field. I even used the button below the password field to copy it out and verify that it matched. Same problem, after the install, I couldn't login as admin. It says, "Wasn't able to authenticate those credentials". Where should I go from here? _______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net<mailto:PacketFence-users@lists.sourceforge.net> https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/packetfence-users__;!!GjvTz_vk!BleucoILgarTGgMevxTG_KH97mVxpvOKTlqWdxgrzPCpfjkJxM2e2y66AjLqTfIc$
_______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users