r24915: Try to quiet down this warning - the 'classic' share code doesn't
[kamenim/samba.git] / source4 / param / share_classic.c
index 234a6321441cebd633c2b5319c689cd05d28ca7c..c38e5d78dfce81b67ce9cd1b958091d631390169 100644 (file)
@@ -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));