git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d17a005
)
r24915: Try to quiet down this warning - the 'classic' share code doesn't
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 3 Sep 2007 04:05:50 +0000
(
04:05
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:03:38 +0000
(15:03 -0500)
support passwords for share-mode security (we don't even support share
mode security, and are unlikely ever to).
Andrew Bartlett
source/param/share_classic.c
patch
|
blob
|
history
diff --git
a/source/param/share_classic.c
b/source/param/share_classic.c
index 234a6321441cebd633c2b5319c689cd05d28ca7c..c38e5d78dfce81b67ce9cd1b958091d631390169 100644
(file)
--- a/
source/param/share_classic.c
+++ b/
source/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));