summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-22 12:50:53 +0000
committerGerald Carter <jerry@samba.org>2003-08-22 12:50:53 +0000
commited087210169f7b2f8a0d378720a03e3f06d34dd4 (patch)
treec4f764d5743db81ae75f3a6de697db24f12896c9 /source3/param
parent647a048ad085c74ebbddb1957b690f3cb9ced178 (diff)
downloadsamba-ed087210169f7b2f8a0d378720a03e3f06d34dd4.tar.gz
samba-ed087210169f7b2f8a0d378720a03e3f06d34dd4.tar.bz2
samba-ed087210169f7b2f8a0d378720a03e3f06d34dd4.zip
ensure that 'available = no' works for [homes]; reported by Walter Haidinger
(This used to be commit 1278d2496162c6427729a795dd940b9863261a6d)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 9f378a9424..83f85e9187 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2312,8 +2312,6 @@ BOOL lp_add_home(const char *pszHomename, int iDefaultService,
"Home directory of %s", user);
string_set(&ServicePtrs[i]->comment, comment);
}
- ServicePtrs[i]->bAvailable = sDefault.bAvailable;
- ServicePtrs[i]->bBrowseable = sDefault.bBrowseable;
DEBUG(3, ("adding home's share [%s] for user '%s' at '%s'\n", pszHomename,
user, newHomedir));
@@ -2382,7 +2380,7 @@ BOOL lp_add_printer(const char *pszPrintername, int iDefaultService)
/* the printer name is set to the service name. */
string_set(&ServicePtrs[i]->szPrintername, pszPrintername);
string_set(&ServicePtrs[i]->comment, comment);
- ServicePtrs[i]->bBrowseable = sDefault.bBrowseable;
+`
/* Printers cannot be read_only. */
ServicePtrs[i]->bRead_only = False;
/* No share modes on printer services. */