From c31115c8b5826dae6a73cfaf0393ec6b684859ad Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 13:03:09 +0100 Subject: [PATCH] s3: "net_usershare_add" only looks at the mode and uid (cherry picked from commit ad2be463bc386128075331b3695655c997e7aea7) --- source3/utils/net_usershare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index eb7508fe12f..b97f5adbdc6 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -749,7 +749,7 @@ static int net_usershare_add(struct net_context *c, int argc, const char **argv) } /* Check the directory to be shared exists. */ - if (sys_stat(us_path, &sbuf, lp_fake_dir_create_times()) != 0) { + if (sys_stat(us_path, &sbuf, false) != 0) { d_fprintf(stderr, _("net usershare add: cannot stat path %s to ensure " "this is a directory. Error was %s\n"), -- 2.11.4.GIT