summaryrefslogtreecommitdiff
path: root/source3/passdb/smbpass.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-18 14:17:47 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-18 14:17:47 +0000
commit646ab2b0a773592a5973ce78fecfb24b39aa2506 (patch)
treeab0b0bea789a68923fbb4de508b4ce528dc74c8e /source3/passdb/smbpass.c
parent648ceb2f2ed5c9c029cf85f22f0dfccdd915ab12 (diff)
downloadsamba-646ab2b0a773592a5973ce78fecfb24b39aa2506.tar.gz
samba-646ab2b0a773592a5973ce78fecfb24b39aa2506.tar.bz2
samba-646ab2b0a773592a5973ce78fecfb24b39aa2506.zip
resolving compilation errors
(This used to be commit dea0c06eec44a7c2860f97d8f23584d30e482e0a)
Diffstat (limited to 'source3/passdb/smbpass.c')
-rw-r--r--source3/passdb/smbpass.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c
index a712092439..f2f0b27153 100644
--- a/source3/passdb/smbpass.c
+++ b/source3/passdb/smbpass.c
@@ -21,6 +21,7 @@
#ifdef USE_SMBPASS_DB
+extern int pw_file_lock_depth;
extern int DEBUGLEVEL;
extern pstring samlogon_user;
extern BOOL sam_logon_in_ssb;
@@ -141,7 +142,7 @@ struct sam_passwd *getsmb21pwent(void *vp)
user.smb_userid = pw_buf->smb_userid;
user.smb_grpid = pwfile->pw_gid;
- user.user_rid = uid_to_user_rid (user.smb_userid);
+ user.user_rid = pdb_uid_to_user_rid (user.smb_userid);
user.group_rid = DOMAIN_GROUP_RID_USERS; /* lkclXXXX this is OBSERVED behaviour by NT PDCs, enforced here. */
pstrcpy(full_name , "");