winreg_sd_format
static uint32_t winreg_sd_format(smb_sd_t *);
if ((status = winreg_sd_format(&sd)) != ERROR_SUCCESS)