SAMR_KEY_USER
id = samr_hdalloc(mxa, SAMR_KEY_USER, data->kd_type, param->rid);
if ((hd = samr_hdlookup(mxa, id, SAMR_KEY_USER)) == NULL) {