OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • captive portal - cannot disable "enforce local group"
« previous next »
  • Print
Pages: [1]

Author Topic: captive portal - cannot disable "enforce local group"  (Read 2987 times)

siga75

  • Full Member
  • ***
  • Posts: 187
  • Karma: 11
    • View Profile
    • www.signorini.ch
captive portal - cannot disable "enforce local group"
« on: December 24, 2019, 10:05:34 am »
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?
Logged
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet

siga75

  • Full Member
  • ***
  • Posts: 187
  • Karma: 11
    • View Profile
    • www.signorini.ch
Re: captive portal - cannot disable "enforce local group"
« Reply #1 on: December 24, 2019, 11:54:05 am »
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>
Logged
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet

juliocbc

  • Sr. Member
  • ****
  • Posts: 336
  • Karma: 12
    • View Profile
    • Cloudfence
Re: captive portal - cannot disable "enforce local group"
« Reply #2 on: January 21, 2020, 09:37:08 pm »
Did you opened an issue in Github? Apparently the problem still happens in last version 19.7.9_1.
Logged
Cloudfence Open Source Team

siga75

  • Full Member
  • ***
  • Posts: 187
  • Karma: 11
    • View Profile
    • www.signorini.ch
Re: captive portal - cannot disable "enforce local group"
« Reply #3 on: January 22, 2020, 08:27:50 am »
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
Logged
https://www.signorini.ch
Protectli Pfsense Mi7500L6 Intel 7Th Gen Core I7 7500U 16Gb Ddr4 Ram
512Gb Msata Ssd
6 X Intel Gigabit Ethernet

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17712
  • Karma: 1618
    • View Profile
Re: captive portal - cannot disable "enforce local group"
« Reply #4 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
Logged

juliocbc

  • Sr. Member
  • ****
  • Posts: 336
  • Karma: 12
    • View Profile
    • Cloudfence
Re: captive portal - cannot disable "enforce local group"
« Reply #5 on: January 22, 2020, 01:15:57 pm »
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!
Logged
Cloudfence Open Source Team

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17712
  • Karma: 1618
    • View Profile
Re: captive portal - cannot disable "enforce local group"
« Reply #6 on: January 23, 2020, 09:35:16 am »
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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • captive portal - cannot disable "enforce local group"
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2