summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-26 17:46:06 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-26 17:46:06 +0000
commitd300fc317319ac9b83f7475532847fb23b1d7ea6 (patch)
tree48c1cfb91c655c0dad30948ce17cbaf119af454a
parentf05928e40705b401ee86b5a346373c52d58dd254 (diff)
downloadsamba-d300fc317319ac9b83f7475532847fb23b1d7ea6.tar.gz
samba-d300fc317319ac9b83f7475532847fb23b1d7ea6.tar.bz2
samba-d300fc317319ac9b83f7475532847fb23b1d7ea6.zip
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)
-rw-r--r--source3/lsarpcd/srv_lsa.c3
-rw-r--r--source3/rpc_server/srv_lsa.c3
2 files changed, 6 insertions, 0 deletions
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