summaryrefslogtreecommitdiff
path: root/source3/passdb/passdb.c
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/passdb/passdb.c
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/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 9df88bf6d3..411b76d006 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -532,7 +532,7 @@ time_t pdb_get_last_set_time(char *p)
/*******************************************************************
sets password-database-format time in a string.
********************************************************************/
-static set_time_in_string(char *p, int max_len, char *type, time_t t)
+static void set_time_in_string(char *p, int max_len, char *type, time_t t)
{
slprintf(p, max_len, ":%s-%08X:", type, (uint32)t);
}
@@ -679,11 +679,11 @@ BOOL pdb_name_to_rid(char *user_name, uint32 *u_rid, uint32 *g_rid)
{
/* turn the unix UID into a Domain RID. this is what the posix
sub-system does (adds 1000 to the uid) */
- *u_rid = uid_to_user_rid(pw->pw_uid);
+ *u_rid = pdb_uid_to_user_rid(pw->pw_uid);
}
/* absolutely no idea what to do about the unix GID to Domain RID mapping */
- *g_rid = gid_to_group_rid(pw->pw_gid);
+ *g_rid = pdb_gid_to_group_rid(pw->pw_gid);
return True;
}