Prev: [Samba] [Ubuntu 10.04] Share not visible from XP?
Next: [Samba] how many samba daemons should be ?
From: Gilles on 28 Jul 2010 11:40 On Wed, 28 Jul 2010 17:03:43 +0200, Marcello Romani <mromani(a)ottotecnica.com> wrote: >My servers are pure debian, so no I don't know of Ubuntu specific tweaks. >I'd try to enable wins in samba and raise its os level (though it should >already be higher than xp), but it could also be that xp refuses to >revert to netbios name resolution (i.e. broadcast). I've seen this >behaviour once, but can't remember right now what it was exactly... Thanks everyone for the help, in the mailing list and through e-mail, To make sure I get the basic covered... is there a reason why "testparm -s" skips some lines from smb.conf? ================== # cat /etc/samba/smb.conf [global] workgroup = WORKGROUP [homes] guest ok = no read only = no ================== # testparm -s Load smb config files from /etc/samba/smb.conf rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Processing section "[homes]" Loaded services file OK. Server role: ROLE_STANDALONE [global] [homes] read only = No ================== >P.S.: try to respond to the list, or you'll lose potential help :) It's because e-mail is immediate, while posts show in Gmane's NTTP servers after a good 15mn wait :-) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Nico De Ranter on 28 Jul 2010 12:10 I believe testparm will skip any attribute with default values. Nico On Wed, 2010-07-28 at 17:38 +0200, Gilles wrote: > On Wed, 28 Jul 2010 17:03:43 +0200, Marcello Romani > <mromani(a)ottotecnica.com> wrote: > >My servers are pure debian, so no I don't know of Ubuntu specific tweaks. > >I'd try to enable wins in samba and raise its os level (though it should > >already be higher than xp), but it could also be that xp refuses to > >revert to netbios name resolution (i.e. broadcast). I've seen this > >behaviour once, but can't remember right now what it was exactly... > > Thanks everyone for the help, in the mailing list and through e-mail, > > To make sure I get the basic covered... is there a reason why > "testparm -s" skips some lines from smb.conf? > > ================== > # cat /etc/samba/smb.conf > [global] > workgroup = WORKGROUP > > [homes] > guest ok = no > read only = no > ================== > # testparm -s > Load smb config files from /etc/samba/smb.conf > rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) > Processing section "[homes]" > Loaded services file OK. > Server role: ROLE_STANDALONE > [global] > > [homes] > read only = No > ================== > > >P.S.: try to respond to the list, or you'll lose potential help :) > > It's because e-mail is immediate, while posts show in Gmane's NTTP > servers after a good 15mn wait :-) > -- With kind regards Nico De Ranter Senior System Administrator Techsoft Centre Technology and Software Centre Europe The Corporate Village - Da Vincilaan 7-D1 - B-1935 Zaventem - Belgium Phone: +32 (0)2 700 8641 Fax: +32 (0)2 700 8622 E-mail: nico.deranter(a)eu.sony.com A division of Sony Europe (Belgium) N.V. VAT BE 0413.825.160 - RPR Brussels Fortis - BIC GEBABEBB - IBAN BE41293037680010 ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Gilles on 28 Jul 2010 12:10 On Wed, 28 Jul 2010 17:44:49 +0200, Nico De Ranter <nico(a)sonycom.com> wrote: >I believe testparm will skip any attribute with default values. Thanks for the tip. That's not the cause of the issue then :-/ At this point, I can finally get XP to show shared folders if I first try to connect to them blindly through Run > "\\srv\share". There were a few things I noticed along the way: - "restart smbd" works, but "restart nmbd" doesn't. OTOH, "/etc/init.d/smbd restart" works... and "/etc/init.d/nmbd restart" as well. Go figure - apparently, we must remove package "libpam-smbpass", and install "smbfs" and "winbind" - /etc/nsswitch.conf requires adding "wins" to "hosts" - I added the following to a share, with no idea if they're really needed: [share] [...] available = yes public = yes writable = yes Thank you. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Christian PERRIER on 28 Jul 2010 23:40 Quoting Gilles (gilles.ganault(a)free.fr): > Also tried this, running "restart smbd" after each addition, to no > avail: You apparently have a *browsing* problem, so it's likely that nmbd is more the problem. > =========== > # cat /etc/samba/smb.conf > [global] > workgroup = WORKGROUP > server string = Samba Server %v > guest account = nobody > dns proxy = no > > wins support = yes > remote announce = 192.168.0.255 I advice against messing up with browsing parameters without knwoing exactly what you're doing... Better increase the log level (try "log level = 3") and log at /var/log/samba/log.nmbd > BTW, how can I check that Samba does use /etc/samba/smb.conf as its > configuration file? It is. This is the Ubuntu package and It Works(tm)..:-) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Marcello Romani on 29 Jul 2010 03:00 Gilles ha scritto: > On Wed, 28 Jul 2010 17:44:49 +0200, Nico De Ranter <nico(a)sonycom.com> > wrote: >> I believe testparm will skip any attribute with default values. > > Thanks for the tip. That's not the cause of the issue then :-/ > > At this point, I can finally get XP to show shared folders if I first > try to connect to them blindly through Run > "\\srv\share". > > There were a few things I noticed along the way: > > - "restart smbd" works, but "restart nmbd" doesn't. OTOH, > "/etc/init.d/smbd restart" works... and "/etc/init.d/nmbd restart" as > well. Go figure A samba init script should take care of restarting both services IMHO, because they're really supposed to go together. Therefore it's not strange that they ported to upstart only the "main" init.d script (the one referring to smbd). That's all IMHO, of course. > > - apparently, we must remove package "libpam-smbpass", and install > "smbfs" and "winbind" AFAIKT, smbfs is needed only if you want to mount samba shares, i.e. for using the linux system as a samba *client*, not server. I'm not 100% sure, though. Regarding winbind, I find it strange that it didn't get installed along with the rest of samba... > > - /etc/nsswitch.conf requires adding "wins" to "hosts" > > - I added the following to a share, with no idea if they're really > needed: > [share] > [...] > available = yes > public = yes > writable = yes > > Thank you. > Don't know about "available" param, but public and writable shouldn't affect visibility of the server in windows neighborhood. -- Marcello Romani -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: [Samba] [Ubuntu 10.04] Share not visible from XP? Next: [Samba] how many samba daemons should be ? |