Security

 View Only
last person joined: 2 days ago 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Importing Custom RADIUS Dictionary XML Error

This thread has been viewed 13 times
  • 1.  Importing Custom RADIUS Dictionary XML Error

    MVP
    Posted Nov 03, 2023 04:20 PM

    I'm running 6.9.13, need to update the Tripplite RADIUS dictionary to include a new attribute called TrippLite-User-Role, but after exporting the existing and modifying the XML file, it's saying there are invalid XML tags. I've run into this issue when importing Endpoints I have to remove "<TagDictionaries></TagDictionaries>" from the file and it imports fine. Not sure what is wrong with this file, can someone advise?

     <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
    - <TipsContents xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
      <TipsHeader exportTime="Fri Nov 03 15:59:40 EDT 2023" version="6.9" /> 
    - <Dictionaries>
    - <Vendor vendorEnabled="true" prefix="TrippLite" name="Radius:TrippLite" id="850">
    - <RadiusAttributes>
      <Attribute profile="in out" type="String" name="TrippLite-Authorization" id="1" /> 
      <Attribute profile="in out" type="String" name="TrippLite-Message" id="3" /> 
      <Attribute profile="in out" type="String" name="TrippLite-Outlet-Realms" id="2" /> 
      <Attribute profile="in out" type="String" name="TrippLite-User-Role" id="4" /> 
      </RadiusAttributes>
      </Vendor>
      </Dictionaries>
      </TipsContents>

    Thanks!



    ------------------------------
    Michael Haring
    ------------------------------


  • 2.  RE: Importing Custom RADIUS Dictionary XML Error

    MVP
    Posted Nov 05, 2023 08:25 AM

    As a temporary workaround, I was able to use the legacy TrippLite-Authorization enforcement with a value of "default=rw" to provide administrator access to my team, but if I can still get feedback on the XML error, that would be greatly appreciated for a more modern role assignment. 



    ------------------------------
    Michael Haring
    Sr. Network and Communications Expert
    Lehigh Valley Health Network
    ------------------------------



  • 3.  RE: Importing Custom RADIUS Dictionary XML Error
    Best Answer

    EMPLOYEE
    Posted Nov 06, 2023 06:41 AM

    I don't think there is a built-in Tripplite dictionary, so you probably added/imported that one in the past. I found an XML here, with the User-Role included, and it just imports fine in my lab system.

    From what you sent, I see '-' symbols between the XML tags, which I think should not be there. Those could be inserted somewhere when you add text to a 'smart' text editor or Office suite. Using a plain text editor should not have that issue.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 4.  RE: Importing Custom RADIUS Dictionary XML Error

    MVP
    Posted Nov 16, 2023 11:07 AM

    Took a while but I finally got back to this - i used Notepad instead of Notepad++ with the exact same code and it imported without issue. Thanks for your help!



    ------------------------------
    Michael Haring
    Sr. Network and Communications Expert
    Lehigh Valley Health Network
    ------------------------------