Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of script for user-id updates appears to cause errors in ms.log #23

Open
benisek opened this issue Oct 24, 2017 · 0 comments
Open

Comments

@benisek
Copy link

benisek commented Oct 24, 2017

Use of the panxapi.py script to update user-id ip-user mappings yields the following errors messages in the ms.log file of PAN-OS 7.1.12 and PAN-OS 8.0.5 firewalls

TIMESTAMP Getting authorization info for user USERNAME succeeded.
TIMESTAMP Error: _pan_schema_verify_node(pan_schema_obj.c:5515): unexpected here , node: value near line 1
TIMESTAMP Error: _pan_schema_verify_node(pan_schema_obj.c:5770): is unexpected , node: hide-ip near line 1
TIMESTAMP Error: _pan_schema_verify_node(pan_schema_obj.c:5770): is unexpected , node: cli near line 1
TIMESTAMP Error: _pan_schema_verify_node(pan_schema_obj.c:5770): is unexpected , node: set near line 1
TIMESTAMP client useridd reported op command was SUCCESSFUL

If the same example is submitted via https://firewall/api under API->user-id -> data, no error is observed in the ms.log and the firewall provides a response status of success.

Note - the error messages do not appear to impact implementation of ip-user-mappings.

To reproduce...
panxapi.py -h firewall --vsys $vsys -U path_of_xml.xml

Sample XML is:






update
1.0

@benisek benisek changed the title Use for user-id updates appears to cause errors in ms.log Use of script for user-id updates appears to cause errors in ms.log Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant