red-tux/zbxapi — pull request #28 by kwoodson (2014-11-03 17:16:00+00:00)
Title: Fix for another 2.4 authentication problem using auth parameters

During the upgrade from 2.0.x to 2.4 we ran into a few issues with the zabbix api. Specifically the APIInfo.version and the user.login calls. Both of these calls now require that the auth parameter not be sent over the wire. If they are sent the requests are returned as failures.

This fix is to remove the auth param for both the apiinfo.version and the user.login methods.

I have tested this method against 2.4 but do not have a < 2.4 version to run this against. It shouldn't break because previously we were sending it to the server and it was accepting the auth param. This should be backwards compatible.