diff options
author | Gerald Carter <jerry@samba.org> | 2003-08-22 12:50:53 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-08-22 12:50:53 +0000 |
commit | ed087210169f7b2f8a0d378720a03e3f06d34dd4 (patch) | |
tree | c4f764d5743db81ae75f3a6de697db24f12896c9 | |
parent | 647a048ad085c74ebbddb1957b690f3cb9ced178 (diff) | |
download | samba-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)
-rw-r--r-- | source3/param/loadparm.c | 4 |
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. */ |