summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_smbpasswd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:12:40 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:04 +0100
commit129e976c47037731c9344a3994597b5781210914 (patch)
treec54e101dcf306d6cc03457b0e5d2082f16d470b5 /source3/passdb/pdb_smbpasswd.c
parent6e94113b6f23622e0e5688cd1b7e9acf23391de9 (diff)
downloadsamba-129e976c47037731c9344a3994597b5781210914.tar.gz
samba-129e976c47037731c9344a3994597b5781210914.tar.bz2
samba-129e976c47037731c9344a3994597b5781210914.zip
s3: "startsmbfilepwent" only looks at the inode -- is that enough?
Diffstat (limited to 'source3/passdb/pdb_smbpasswd.c')
-rw-r--r--source3/passdb/pdb_smbpasswd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c
index 1595d65c2e..f465d34c88 100644
--- a/source3/passdb/pdb_smbpasswd.c
+++ b/source3/passdb/pdb_smbpasswd.c
@@ -276,8 +276,7 @@ Error was %s\n", pfile, strerror(errno) ));
* prevent infinate loops. JRA.
*/
- if (sys_stat(pfile, &sbuf1,
- lp_fake_dir_create_times()) != 0) {
+ if (sys_stat(pfile, &sbuf1, false) != 0) {
DEBUG(0, ("startsmbfilepwent_internal: unable to stat file %s. \
Error was %s\n", pfile, strerror(errno)));
pw_file_unlock(fileno(fp), lock_depth);
@@ -285,8 +284,7 @@ Error was %s\n", pfile, strerror(errno)));
return NULL;
}
- if (sys_fstat(fileno(fp), &sbuf2,
- lp_fake_dir_create_times()) != 0) {
+ if (sys_fstat(fileno(fp), &sbuf2, false) != 0) {
DEBUG(0, ("startsmbfilepwent_internal: unable to fstat file %s. \
Error was %s\n", pfile, strerror(errno)));
pw_file_unlock(fileno(fp), lock_depth);