From d300fc317319ac9b83f7475532847fb23b1d7ea6 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 26 Jul 1999 17:46:06 +0000 Subject: commented location where lookup_sids(), a direct call to the password database API, needs to be replaced with over-the-wire (actually, tcp/ip loopback) to smbd. in fact, this is the location where, if we want to put in an nt5 ldap lookup system or netware NDS instead, we make the calls to resolve users-to-sids and vice-versa: NOT by replacing rpc_server/srv_samr.c. (This used to be commit fd886af3317ca806c9c28f71afca5c7b063c1226) --- source3/lsarpcd/srv_lsa.c | 3 +++ source3/rpc_server/srv_lsa.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/source3/lsarpcd/srv_lsa.c b/source3/lsarpcd/srv_lsa.c index d8a74d627b..26153fca47 100644 --- a/source3/lsarpcd/srv_lsa.c +++ b/source3/lsarpcd/srv_lsa.c @@ -329,6 +329,9 @@ static void make_lsa_trans_names(DOM_R_REF *ref, if (sid_equal(&find_sid, &global_sam_sid) || sid_equal(&find_sid, &global_sid_S_1_5_20)) { + /* lkclXXXX REPLACE THIS FUNCTION WITH + samr_xxxx() routines + */ status = lookup_sid(&tmp_sid, name, &sid_name_use); } else diff --git a/source3/rpc_server/srv_lsa.c b/source3/rpc_server/srv_lsa.c index d8a74d627b..26153fca47 100644 --- a/source3/rpc_server/srv_lsa.c +++ b/source3/rpc_server/srv_lsa.c @@ -329,6 +329,9 @@ static void make_lsa_trans_names(DOM_R_REF *ref, if (sid_equal(&find_sid, &global_sam_sid) || sid_equal(&find_sid, &global_sid_S_1_5_20)) { + /* lkclXXXX REPLACE THIS FUNCTION WITH + samr_xxxx() routines + */ status = lookup_sid(&tmp_sid, name, &sid_name_use); } else -- cgit