Bug 53265 - "Allow network access" in MGT-Console not honoured when using auth-type ttls
"Allow network access" in MGT-Console not honoured when using auth-type ttls
Status: NEW
Product: UCS
Classification: Unclassified
Component: Radius
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-17 09:40 CEST by Raoul Borenius
Modified: 2021-05-17 09:40 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raoul Borenius 2021-05-17 09:40:28 CEST
Setting

ucr set freeradius/conf/auth-type/mschap=no
ucr set freeradius/conf/auth-type/ttls=yes

disables the possibility to disallow network access to users.

Fix:

--- /etc/univention/templates/files/etc/freeradius/3.0/mods-available/ldap-univention   2021-05-16 16:49:08.863039026 +0200
+++ /etc/univention/templates/files/etc/freeradius/3.0/mods-available/ldap      2021-05-17 09:33:18.882638005 +0200
@@ -229,7 +229,7 @@
                #  If this is undefined, anyone is authorised.
                #  If it is defined, the contents of this attribute
                #  determine whether or not the user is authorised
-#              access_attribute = 'dialupAccess'
+               access_attribute = 'univentionNetworkAccess'
 
                #  Control whether the presence of 'access_attribute'
                #  allows access, or denys access.
@@ -253,7 +253,7 @@
                #    userAccessAllowed: false
                #
                #  Will result in the user being locked out.
-#              access_positive = yes
+               access_positive = yes
        }
 
        #