summaryrefslogtreecommitdiff
path: root/source3/passdb/passdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 794560c829..2fa9a73dda 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -404,7 +404,7 @@ static struct smb_passwd *_getsampwuid(uid_t smb_userid)
DEBUG(10, ("getsampwuid: found by smb_userid: %x\n", smb_userid));
}
- endsmbpwent(fp);
+ endsampwent(fp);
return pwd;
}
@@ -436,7 +436,7 @@ static struct sam_passwd *_getsam21pwrid(uint32 rid)
DEBUG(10, ("_getsam21pwrid: found by smb_userid: %x\n", rid));
}
- endsmbpwent(fp);
+ endsampwent(fp);
return pwd;
}