{
struct winbindd_request request;
struct winbindd_response response;
- enum winbindd_result result;
+ enum nss_status result;
DOM_SID tmp_sid;
uint32 rid;
fstring sid_str;
/* Copy out result */
- if (result == WINBINDD_OK) {
+ if (result == NSS_STATUS_SUCCESS) {
parse_domain_user(response.data.name.name, dom_name, name);
*name_type = response.data.name.type;
} else {
lookup_known_rid(&tmp_sid, rid, name, name_type);
}
- return (result == WINBINDD_OK);
+ return (result == NSS_STATUS_SUCCESS);
}
/***************************************************************************