From 648f0849d6c9f66ebc4bd0445f0fe15ce091c511 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 6 Jul 2000 06:47:38 +0000 Subject: Changed checking for WINBINDD_OK return value instead of NSS_STATUS_SUCCESS when looking up sids from winbindd. (This used to be commit 79fb877bf13ba462ad0a878d8975f8b5183e3ea3) --- source3/rpc_server/srv_lsa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/rpc_server/srv_lsa.c b/source3/rpc_server/srv_lsa.c index 9c9424832b..84d2601d2c 100644 --- a/source3/rpc_server/srv_lsa.c +++ b/source3/rpc_server/srv_lsa.c @@ -286,7 +286,7 @@ BOOL winbind_lookup_sid(DOM_SID *sid, fstring dom_name, fstring name, { 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; @@ -321,7 +321,7 @@ BOOL winbind_lookup_sid(DOM_SID *sid, fstring dom_name, fstring name, /* 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 { @@ -335,7 +335,7 @@ BOOL winbind_lookup_sid(DOM_SID *sid, fstring dom_name, fstring name, lookup_known_rid(&tmp_sid, rid, name, name_type); } - return (result == WINBINDD_OK); + return (result == NSS_STATUS_SUCCESS); } /*************************************************************************** -- cgit