summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-18 12:27:04 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-18 12:27:04 +0000
commit39f3c0c25a289b0b255e104a0a0aaade557c84f4 (patch)
tree216e3cae15cf1231eba6d8120d7da75bfb1c3fe4 /source3/rpc_server
parenta85b42ff3720adb9adf10707cf54f8119cca4461 (diff)
downloadsamba-39f3c0c25a289b0b255e104a0a0aaade557c84f4.tar.gz
samba-39f3c0c25a289b0b255e104a0a0aaade557c84f4.tar.bz2
samba-39f3c0c25a289b0b255e104a0a0aaade557c84f4.zip
- renamed some of the passdb.c functions: they have a prefix pdb_ on them
- split smbpass.c "password file lock" routines into smbpassfile.c: moved trust account routines into smbpassfile.c as well (This used to be commit 3e48b4eb113cc5e1c6794d7ac699fd9ac47c654a)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_lsa.c2
-rw-r--r--source3/rpc_server/srv_netlog.c2
-rw-r--r--source3/rpc_server/srv_util.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_lsa.c b/source3/rpc_server/srv_lsa.c
index 930b607770..ff4b6bf4b6 100644
--- a/source3/rpc_server/srv_lsa.c
+++ b/source3/rpc_server/srv_lsa.c
@@ -372,7 +372,7 @@ static void api_lsa_lookup_names( int uid, prs_struct *data,
for (i = 0; i < q_l.num_entries; i++)
{
char *user_name = unistr2(q_l.lookup_name[i].str.buffer);
- if (!name_to_rid(user_name, &dom_rids[i], &dummy_g_rid))
+ if (!pdb_name_to_rid(user_name, &dom_rids[i], &dummy_g_rid))
{
/* WHOOPS! we should really do something about this... */
dom_rids[i] = 0;
diff --git a/source3/rpc_server/srv_netlog.c b/source3/rpc_server/srv_netlog.c
index 73992faf5d..e5ae3959b9 100644
--- a/source3/rpc_server/srv_netlog.c
+++ b/source3/rpc_server/srv_netlog.c
@@ -725,7 +725,7 @@ static void api_net_sam_logon( int uid,
sam_logon_in_ssb = False;
- if (name_to_rid(samlogon_user, &r_uid, &r_gid))
+ if (pdb_name_to_rid(samlogon_user, &r_uid, &r_gid))
{
make_net_user_info3(&usr_info,
&dummy_time, /* logon_time */
diff --git a/source3/rpc_server/srv_util.c b/source3/rpc_server/srv_util.c
index 204a9eac8e..632c508343 100644
--- a/source3/rpc_server/srv_util.c
+++ b/source3/rpc_server/srv_util.c
@@ -414,7 +414,7 @@ uint32 lookup_user_name(uint32 rid, char *user_name, uint32 *type)
return 0x0;
}
- unix_uid = uid_to_user_rid(rid);
+ unix_uid = pdb_uid_to_user_rid(rid);
DEBUG(5,(" uid: %d", unix_uid));
/* ok, it's a user. find the user account */