An extra const exists in the parameter of the definition of the function check_server_referral() for the key parameter. It compiles, but gcc throws an internal parse error - which means nothing except it makes the code harder to analyze by static analysis checkers (like prevent).
Created attachment 3945 [details] removes an extra const in the parameter line Removes one of the const keywords in the 'key' parameter to match the other functions in the same file.
I informed the maintainers of the KERBEROS HEIMDAL implementation.
Fixed through new HEIMDAL version in SAMBA 4.