smb_pkey_deluid
int smb_pkey_deluid(uid_t ioc_uid, cred_t *cr);
(void) smb_pkey_deluid((uid_t)-1, kcred);
err = smb_pkey_deluid(uid, cr);