summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/param/share_classic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/param/share_classic.c b/source4/param/share_classic.c
index 234a632144..c38e5d78df 100644
--- a/source4/param/share_classic.c
+++ b/source4/param/share_classic.c
@@ -89,6 +89,10 @@ static const char *sclassic_string_option(struct share_config *scfg, const char
return lp_fstype(s->snum);
}
+ if (strcmp(opt_name, SHARE_PASSWORD) == 0) {
+ return defval;
+ }
+
DEBUG(0,("request for unknown share string option '%s'\n",
opt_name));