Prior to this change a KDC response of KRB5KDC_ERR_SVC_UNAVAILABLE would result in the client looping forever. Setting the action to KRB5_SENTO_CONTINUE repeats the current loop without altering the current state. Hence the infinite loop. As of this change, the action is set to KRB5_SENDTO_RESET which forces the current kdc's response to be cleared and then to retry. If KRB5KDC_ERR_SVC_UNAVAILABLE continues to be returned, the retry limit will be reached and the loop will end. This bug was filed by multiple sources including Samba and ScottUrban on github. Change-Id: If1611be0ada3422cefae89541ed3b3df1f6efe29
30 KiB
30 KiB