captive portal - cannot disable "enforce local group"

Started by siga75, December 24, 2019, 10:05:34 AM

Previous topic - Next topic
I cannot select "none", if I do that, when I save it come back to "admin", I only can select others groups, I tried creating a wlan_guests group, but then how I am supposed to link vouchers to that group?
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet

looks like the value is empty in /conf/config.xml, still the voucher does not work for the login, but it works in the system since I tested it (system / access / tester)

    <captiveportal version="1.0.0">
      <zones>
        <zone uuid="b2285665-f9ae-4ee4-9741-b96082df2dd6">
          <enabled>1</enabled>
          <zoneid>0</zoneid>
          <interfaces>opt3</interfaces>
          <authservers>captive_voucher</authservers>
          <alwaysSendAccountingReqs>0</alwaysSendAccountingReqs>
          <authEnforceGroup/>
          <idletimeout>0</idletimeout>
          <hardtimeout>0</hardtimeout>
          <concurrentlogins>1</concurrentlogins>
          <certificate>5e0104ab1fe4d</certificate>
          <servername/>
          <allowedAddresses/>
          <allowedMACAddresses/>
          <transparentHTTPProxy>0</transparentHTTPProxy>
          <transparentHTTPSProxy>0</transparentHTTPSProxy>
          <template>cbb6c312-12ac-4261-8685-047bb1c0f359</template>
          <description>wlan1_guests</description>
        </zone>
      </zones>
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet

Did you opened an issue in Github? Apparently the problem still happens in last version 19.7.9_1.
Cloudfence Open Source Team

no, I didn't

at the end it works, my real issue was related to something else

still, this is indeed a bug, but probably "only" at WUI level
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet


Quote from: franco on January 22, 2020, 09:59:09 AM
One well-crafted bug report in the right place is all it takes:

https://github.com/opnsense/core/issues/3891


Cheers,
Franco

@Franco

One of our users questioned me in OPNsense's (Udemy) training about it and I always ask to them to post here in forum or open an issue (sometimes I do it myself) to share the information with community and solve problems quicker. I'll reply to the user about this issue in Portuguese forum

Thank you!
Cloudfence Open Source Team

Sure, thank you. This one slipped through the unit test but it'll be fixed early next week in 19.7.10.

Not that it doesn't work, but if you save you need to select none again otherwise you'll change the setting to the group. If you already had a group setting that is unaffected.


Cheers,
Franco