Globally replace 'global_sam_sid' with get_global_sam_sid(), a self