An additional note (and sorry for the constan messaging), to install 7.4 I
had to manually roll back to HAproxy 1.6.11, as 8.1 had installed HAproxy
1.8.9 and the config files generated by pfcmd generateconfig for 7.4 were
not compatible but the RPMs specified HAProxy >=1.6 but no <= version thus
1.8 satisfied the dependency but broke things...


On Sun, Jul 22, 2018 at 7:13 PM Diego Garcia del Rio <garc...@gmail.com>
wrote:

> This is my current config (now on 7.4 and still not showing any of the
> custom fields:
>
> [root@localhost conf]# cat profiles.conf
> #
> # Copyright (C) 2005-2018 Inverse inc.
> #
> # See the enclosed file COPYING for license information (GPL).
> # If you did not receive this file, see
> # http://www.fsf.org/licensing/licenses/gpl.html
>
>
>
> [root@localhost conf]# cat portal_modules.conf
> [default_registration_policy]
>
> modules=default_login_policy,default_guest_policy,goog,default_billing_policy,default_saml_policy,default_blackhole_policy
> actions=
> template=content-with-choice.html
> show_first_module_on_default=disabled
>
> [goog]
> actions=
> custom_fields=
> description=goog
> with_aup=1
> landing_template=oauth2/landing.html
> aup_template=aup_text.html
> type=Authentication::OAuth::Google
>
>
>
>
> [root@localhost conf]# cat authentication.conf
> [local]
> description=Local Users
> type=SQL
> realms=null
>
> [file1]
> description=Legacy Source
> path=/usr/local/pf/conf/admin.conf
> type=Htpasswd
> realms=null
>
> [file1 rule admins]
> description=All admins
> class=administration
> match=all
> action0=set_access_level=ALL
>
> [sms]
> description=SMS-based registration
>
> sms_carriers=100056,100057,100061,100058,100059,100060,100062,100063,100071,100064,100116,100066,100117,100112,100067,100065,100068,100069,100070,100118,100115,100072,100073,100074,100075,100076,100077,100085,100086,100080,100079,100081,100083,100082,100084,100087,100088,100111,100089,100090,100091,100092,100093,100094,100095,100096,100098,100097,100099,100100,100101,100113,100102,100103,100104,100106,100105,100107,100108,100109,100114,100110,100078,100122
> type=SMS
> create_local_account=no
>
> [sms rule catchall]
> description=
> class=authentication
> match=all
> action0=set_role=guest
> action1=set_access_duration=1D
>
> [email]
> description=Email-based registration
> email_activation_timeout=10m
> type=Email
> allow_localdomain=yes
> create_local_account=no
>
> [email rule catchall]
> description=
> class=authentication
> match=all
> action0=set_role=guest
> action1=set_access_duration=1D
>
> [sponsor]
> description=Sponsor-based registration
> type=SponsorEmail
> allow_localdomain=yes
> create_local_account=no
>
> [sponsor rule catchall]
> description=
> class=authentication
> match=all
> action0=set_role=guest
> action1=set_access_duration=1D
>
> [null]
> description=Null Source
> type=Null
> email_required=no
>
> [null rule catchall]
> description=catchall
> class=authentication
> match=all
> action0=set_role=guest
> action1=set_access_duration=1D
> [root@localhost conf]#
> [root@localhost conf]#
> [root@localhost conf]# ls -lrta
> total 3668
>
>
>
>
>
> On Sun, Jul 22, 2018 at 6:52 PM Diego Garcia del Rio <garc...@gmail.com>
> wrote:
>
>> Dear Fabrice,
>>
>> I'll get them ASAP. Its more confusing though as I now rolled back to a
>> 7.4 install and I'm seeing the same issues (while other systems with 7.4
>> seem to be fine).
>>
>> Thanks for the support.
>>
>>
>> On Fri, Jul 20, 2018 at 11:24 PM Durand fabrice via PacketFence-users <
>> packetfence-users@lists.sourceforge.net> wrote:
>>
>>> Hello Diego,
>>>
>>> can you give your authentication.conf. profiles.conf and
>>> portal_modules.conf files ?
>>>
>>> Regards
>>>
>>> Fabrice
>>>
>>> Le 2018-07-20 à 16:25, Diego Garcia del Rio via PacketFence-users a
>>> écrit :
>>>
>>> Hello everyone!
>>>
>>> I just did a clean install of PF 8.1 on a Centos 7.5 and I am facing
>>> issues trying to use any of the OAuth sources on the captive portal.
>>>
>>> Basically, whenever I add any authentication source to the captive
>>> portal, I get a "default"  "new portal module"  form (nothing specific to
>>> the module I was trying to add).
>>>
>>> For example, when trying to add a Facebook Oauth form, I get a form with
>>> "Identifier", "description", AUP, sources dropdown (empty) and landing
>>> template.
>>>
>>> Im getting quite confused to be honest. :(
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>
>>>
>>>
>>> _______________________________________________
>>> PacketFence-users mailing 
>>> listPacketFence-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/packetfence-users
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> PacketFence-users mailing list
>>> PacketFence-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>>>
>>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to