summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/smbpass.c4
-rw-r--r--source3/passdb/smbpassgroup.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c
index 464cec015c..e7adbe6d45 100644
--- a/source3/passdb/smbpass.c
+++ b/source3/passdb/smbpass.c
@@ -33,7 +33,7 @@ static char s_readbuf[1024];
static void *startsmbfilepwent(BOOL update)
{
- return startfilepwent(lp_smb_passwd_file(), s_readbuf, sizeof(s_readbuf),
+ return startfileent(lp_smb_passwd_file(), s_readbuf, sizeof(s_readbuf),
&pw_file_lock_depth, update);
}
@@ -43,7 +43,7 @@ static void *startsmbfilepwent(BOOL update)
static void endsmbfilepwent(void *vp)
{
- endfilepwent(vp, &pw_file_lock_depth);
+ endfileent(vp, &pw_file_lock_depth);
}
/*************************************************************************
diff --git a/source3/passdb/smbpassgroup.c b/source3/passdb/smbpassgroup.c
index 33b848cc76..056f198074 100644
--- a/source3/passdb/smbpassgroup.c
+++ b/source3/passdb/smbpassgroup.c
@@ -32,7 +32,7 @@ extern int DEBUGLEVEL;
static void *startsmbfilegrpent(BOOL update)
{
static char s_readbuf[1024];
- return startfilepwent(lp_smb_passgrp_file(), s_readbuf, sizeof(s_readbuf),
+ return startfileent(lp_smb_passgrp_file(), s_readbuf, sizeof(s_readbuf),
&grp_file_lock_depth, update);
}
@@ -42,7 +42,7 @@ static void *startsmbfilegrpent(BOOL update)
static void endsmbfilegrpent(void *vp)
{
- endfilepwent(vp, &grp_file_lock_depth);
+ endfileent(vp, &grp_file_lock_depth);
}
/*************************************************************************