From 129e976c47037731c9344a3994597b5781210914 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 13:12:40 +0100 Subject: s3: "startsmbfilepwent" only looks at the inode -- is that enough? --- source3/passdb/pdb_smbpasswd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source3/passdb/pdb_smbpasswd.c') 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); -- cgit