summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-09-03 04:05:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:38 -0500
commitb93a941214b82448a15c3d936bb21dcda2a5287e (patch)
tree993921c3011abf2ad84f37389926fe62d5eb5719 /source4/param
parent8294016a1b72770f5c322decda9b705ed90fd40d (diff)
downloadsamba-b93a941214b82448a15c3d936bb21dcda2a5287e.tar.gz
samba-b93a941214b82448a15c3d936bb21dcda2a5287e.tar.bz2
samba-b93a941214b82448a15c3d936bb21dcda2a5287e.zip
r24915: Try to quiet down this warning - the 'classic' share code doesn't
support passwords for share-mode security (we don't even support share mode security, and are unlikely ever to). Andrew Bartlett (This used to be commit 0d56ab59c571fd38c3071660ed7db6264300df50)
Diffstat (limited to 'source4/param')
-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));