mirror of
https://github.com/samba-team/samba.git
synced 2025-08-26 01:49:31 +03:00
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 0d56ab59c5
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
8294016a1b
commit
b93a941214
@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user