Wireless Access

Reply
Occasional Contributor II
Posts: 10
Registered: ‎04-01-2013

XML-API help

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

Guru Elite
Posts: 20,820
Registered: ‎03-29-2007

Re: XML-API help

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

 



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Occasional Contributor II
Posts: 10
Registered: ‎04-01-2013

Re: XML-API help

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

Search Airheads
Showing results for 
Search instead for 
Did you mean: