PackeTsar / radiuid

An application to extract User-to-IP mappings from RADIUS accounting data and send them to Palo Alto firewalls for use by the User-ID function.
http://packetpushers.net/radiuid/
GNU General Public License v3.0
34 stars 10 forks source link

v2.4.0 run broken when munge rules exist #29

Closed PackeTsar closed 7 years ago

PackeTsar commented 7 years ago

Munge rule processing results within push_uids were being assembled back into modipanduserdict incorrectly formatted excluding the status field in the dictionary.

-                                       modipanduserdict.update({entry: newuname})
+                                       status = ipanduserdict[entry]["status"]
+                                       modipanduserdict.update({entry: {"username": newuname, "status": status}})
PackeTsar commented 7 years ago

Fixed in v2.4.1