12-11-2014 02:23 AM
I'm using the ArubaOS XML API to check on which wifi my users are connected. For this purpose, I use the user_query command. Is there a way to use this command with only the MAC address (without passing the IP address) ?
I use the following command : curl -vikd "xml=<aruba command="user_query"><macaddr>xx:xx:xx:xx:xx:xx</macaddr><key>softcom</key><authentication>cleartext</authentication><version>1.0</version></aruba>" -H "Content-Type: application/xml" https://xxx.xxx.x.xxx:4343/auth/command.xml
Which returns an "unknown user" error.
According to the documentation, the IP address is required but I would like to know if there is a workaround or a configuration trick to solve my issue.
Thanks in advance.
Solved! Go to Solution.
12-11-2014 03:34 AM
Try with this,
<authentication>MD5|SHA-1|cleartext</authentication> #select any one
Please refer KB article 1399
Hope got your answer, if not please feel free to come back for any further assistance :)
[Is my post helped you ? Give Kudos :) ]
12-11-2014 03:41 AM