From b93a941214b82448a15c3d936bb21dcda2a5287e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 3 Sep 2007 04:05:50 +0000 Subject: 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) --- source4/param/share_classic.c | 4 ++++ 1 file changed, 4 insertions(+) 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)); -- cgit