diff options
author | Tim Potter <tpot@samba.org> | 2000-07-06 06:47:38 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-07-06 06:47:38 +0000 |
commit | 648f0849d6c9f66ebc4bd0445f0fe15ce091c511 (patch) | |
tree | 8bb599e5867b9d13d5762b770a2960615e5ba975 /source3/rpc_server | |
parent | 01f7ba69aeedf8fd694f3887c9c5fd139dda9e88 (diff) | |
download | samba-648f0849d6c9f66ebc4bd0445f0fe15ce091c511.tar.gz samba-648f0849d6c9f66ebc4bd0445f0fe15ce091c511.tar.bz2 samba-648f0849d6c9f66ebc4bd0445f0fe15ce091c511.zip |
Changed checking for WINBINDD_OK return value instead of NSS_STATUS_SUCCESS
when looking up sids from winbindd.
(This used to be commit 79fb877bf13ba462ad0a878d8975f8b5183e3ea3)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_lsa.c | 6 |
1 files 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); } /*************************************************************************** |