Re: [PacketFence-users] Query Database for MAC address match

2022-01-27 Thread Chris Jordan via PacketFence-users
Hi Ludovic, It changes since it comes from a software called ManageEngine Desktop Central which manages our inventory. I can do a mass export and import it but with multiple nics (wifi/wired) and inventory changes not sure how well that would work Is there anything for Desktop Central or Postgres

[PacketFence-users] R: Change language for user welcome email

2022-01-27 Thread Samuele Bistoletti via PacketFence-users
Hi Ludovic, I already managed to setup the translations for the captive portal, and language detection with browser is working. Also, I added some translations and compiled them with the same command you sent me: the portal itself is switching the language according to the browser. The problem is

Re: [PacketFence-users] Query Database for MAC address match

2022-01-27 Thread Fabrice Durand via PacketFence-users
Hello Christopher, if you have an API in front of the postgresql db then it won´t be too complicate to code. I did that in the past and the code is there: https://github.com/inverse-inc/packetfence/compare/feature/rest_provisioner Regards Fabrice Le jeu. 27 janv. 2022 à 14:51, Chris Jordan vi

Re: [PacketFence-users] Query Database for MAC address match

2022-01-27 Thread Zammit, Ludovic via PacketFence-users
Hello Chris, How often the Mac address change status ? How they change status / VLAN ? You could export the Mac addresses from postgresql and import them in PF. As is, we don’t do external call during the authentication process because it will create issue if the external service fast enough.

Re: [PacketFence-users] Change language for user welcome email

2022-01-27 Thread Zammit, Ludovic via PacketFence-users
Hello Samuele, The language is automatically detected based on the browser/system language. For the translation, you will need to re-compile them once modified. Try this command : for TRANSLATION in de en es fr he_IL it nl pl_PL pt_BR ru_RU; do /usr/bin/msgfmt conf/locale/$TRANSLATION/LC_MESSA

[PacketFence-users] Query Database for MAC address match

2022-01-27 Thread Chris Jordan via PacketFence-users
Hello, I am trying to figure out how to get PacketFence to query a postgresql database to look for MAC addresses in a column to determine what vlan they belong to. For example a user connects to wifi, packetfence goes to the database to see if there is a mac address and if it does exist then it i

[PacketFence-users] Change language for user welcome email

2022-01-27 Thread Samuele Bistoletti via PacketFence-users
Hi, I was trying to change the language for the “Guest creation information” email, but I can’t find a configuration for that in the GUI. I also checked italian translations in the it/LC_MESSAGES and all rows in the email body are translated, but I can’t find the option to enable Italian languag

Re: [PacketFence-users] Challenge with a machine that has been provisioned.

2022-01-27 Thread Simon Sutcliffe via PacketFence-users
Good Morning Fabrice After a little more testing I have found the following additional information. The error is more tied to the user account. If this is also deleted the error occurs. But the strange thing is given time (not sure how long but it is at least hours) the error self rectifies.