Wireless Access

last person joined: 2 days ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

XML-API help

This thread has been viewed 4 times
  • 1.  XML-API help

    Posted Apr 23, 2013 10:06 AM

    Hi,

     

    Im trying to create my own External Captive portal that will communicate with my Aruba W-3500 controller adding/authenticating users from our Hotel PMS system.

     

    I have setup my controller to redirect me to my test Captive Portal webpage and have added the XML-API server ip to the configuration however i am recieving an error back from the Controller after trying to add a user.

     

    The error i am getting is 

     

    <aruba>

    <status>Error</status>

    <code>8</code>

    <reason>missing message authentication</reason>

    </aruba>

     

    I am sending :

     

    xml=<aruba command="user_add">

    <ipaddr>10.21.6.227</ipaddr>

    <macaddr>e4:8b:7f:85:ae:7b</macaddr>

    <name>testing</name>

    <role>authenticated</role>

    <session_timeout>9999</session_timeout>

    <key>MyKey</key>

    <authentication>cleartext</authentication>

    <version>1.0</version>

    </aruba>

     

    I have tried moving the authentication line above key (and then it returns a different error) and also changing the authentication type to MD5/SHA-1.

     

    Does anyone have any insight or ideas on why its giving me this message and how to fix it ?

     

    Thanks



  • 2.  RE: XML-API help

    EMPLOYEE
    Posted Apr 23, 2013 10:11 AM

    Is the XML-API server attached to the AAA profile you want to deal with?

     



  • 3.  RE: XML-API help

    Posted Apr 23, 2013 10:21 AM

    I believe so.  

     

    When doing a show on "wirelessusers" AAA i get the following (10.4.0.56) is my test environement

     

    AAA Profile "wirelessusers"
    ---------------------------
    Parameter Value
    --------- -----
    Initial role logon
    MAC Authentication Profile N/A
    MAC Authentication Default Role guest
    MAC Authentication Server Group default
    802.1X Authentication Profile N/A
    802.1X Authentication Default Role guest
    802.1X Authentication Server Group N/A
    L2 Authentication Fail Through Disabled
    RADIUS Accounting Server Group N/A
    RADIUS Interim Accounting Disabled
    XML API server 10.4.0.56
    XML API server 10.7.0.10
    RFC 3576 server N/A
    User derivation rules N/A
    Wired to Wireless Roaming Enabled
    SIP authentication role N/A
    Device Type Classification Enabled
    Enforce DHCP Disabled