impacket icon indicating copy to clipboard operation
impacket copied to clipboard

Add error checking for an unknown samaccountname

Open man715 opened this issue 1 year ago • 2 comments

When rbcd.py cannot determine the SamAccountName of a SID, the tool would simply fail. By adding this error checking and adding 'Unknown' for the SamAccountName, when it cannot be determined, the tool will still perform the as intended.

man715 avatar Jun 01 '24 04:06 man715

Thanks for the PR. Qq: in which scenario SamAccountName could not be retrieved ?

anadrianmanrique avatar Jul 03 '24 12:07 anadrianmanrique

it happened when the user account t was deleted and the delegation was not removed on the object.

man715 avatar Jul 04 '24 15:07 man715