Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-30 Thread Moray Henderson (ICT)
Quoting Gilles (gilles.gana...@free.fr): BTW, how can I check that Samba does use /etc/samba/smb.conf as its configuration file? smbd -b lists the parameters Samba was built with - CONFIGFILE is in there somewhere. If not set otherwise in the init script or command line, that is what it is

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-30 Thread Gilles
On Fri, 30 Jul 2010 09:57:37 +0100, Moray Henderson (ICT) moray.hender...@ict.om.org wrote: smbd -b lists the parameters Samba was built with - CONFIGFILE is in there somewhere. If not set otherwise in the init script or command line, that is what it is using. Thanks for the tip. # smbd -b |

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Marcello Romani
Gilles ha scritto: On Wed, 28 Jul 2010 17:44:49 +0200, Nico De Ranter n...@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

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Gilles
On Thu, 29 Jul 2010 08:55:16 +0200, Marcello Romani mrom...@ottotecnica.com wrote: 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

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Gilles
On Wed, 28 Jul 2010 18:20:36 +0200, Christian PERRIER bubu...@debian.org wrote: 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 Thanks for the tip. It is. This

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Marcello Romani
Gilles ha scritto: On Thu, 29 Jul 2010 08:55:16 +0200, Marcello Romani mrom...@ottotecnica.com wrote: 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

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Gilles
On Thu, 29 Jul 2010 11:30:20 +0200, Marcello Romani mrom...@ottotecnica.com wrote: Yes, it seems to care only about the process name it's been given, smbd in this case. I havent studied upstart so it might also be possible that somewhere in its configuration it's specified that smbd goes along

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Christian PERRIER
Quoting Gilles (gilles.gana...@free.fr): It is. This is the Ubuntu package and It Works(tm)..:-) Apparently, not that well ;-) http://ubuntuforums.org/showthread.php?t=1468111 Ah, this upstart thing*that* is a Ubuntu change to the Debian package. Not my responsibility, then..:-) (at

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Gilles
On Thu, 29 Jul 2010 06:49:44 -0400, Christian PERRIER bubu...@debian.org wrote: Ah, this upstart thing*that* is a Ubuntu change to the Debian package. Not my responsibility, then..:-) (at least until we adopt upstrat in Debian) So what's the correct way on Ubuntu 10.04 to (re)start Samba,

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Adam Stirk
: Re: [Samba] [Ubuntu 10.04] Share not visible from XP? On Thu, 29 Jul 2010 06:49:44 -0400, Christian PERRIER bubu...@debian.org wrote: Ah, this upstart thing*that* is a Ubuntu change to the Debian package. Not my responsibility, then..:-) (at least until we adopt upstrat in Debian) So

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Gilles
On Thu, 29 Jul 2010 12:23:41 +0100, Adam Stirk adam.st...@brantano.co.uk wrote: The correct way to restart the smbd and nmbd in Ubuntu 10.04 is sudo service smbd restart sudo service nmbd restart Thanks Adam. I read somewhere on the Net that calling restart on a non-running process triggers an

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Helmut Hullen
Hallo, Gilles, Du meintest am 29.07.10: So what's the correct way on Ubuntu 10.04 to (re)start Samba, including smbd and nmbd? If the daemons run and only need to re-read the smb.conf: killall -HUP smbd killall -HUP nmbd on Linux machines. I know - there are some Unix

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Leonardo Carneiro
On Thu, Jul 29, 2010 at 8:48 AM, Helmut Hullen hul...@t-online.de wrote: Hallo, Gilles, Du meintest am 29.07.10: So what's the correct way on Ubuntu 10.04 to (re)start Samba, including smbd and nmbd? If the daemons run and only need to re-read the smb.conf:        killall -HUP smbd      

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Gilles
On Thu, 29 Jul 2010 08:58:23 -0300, Leonardo Carneiro chesterma...@gmail.com wrote: I think that on ubuntu you could user just /etc/init.d/samba reload Right... but that was until recently, while the latest Samba package is different ;-) # /etc/init.d/samba restart -su:

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-29 Thread Leonardo Carneiro
On Thu, Jul 29, 2010 at 9:07 AM, Gilles gilles.gana...@free.fr wrote: On Thu, 29 Jul 2010 08:58:23 -0300, Leonardo Carneiro chesterma...@gmail.com wrote: I think that on ubuntu you could user just /etc/init.d/samba reload Right... but that was until recently, while the latest Samba package is

[Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-28 Thread Gilles
Hello I waited 15mn in case it was due to some browsing issue, but the directory I shared on a Ubuntu server still doesn't show up in the XP Net'hood, with no error when starting smbd or in /var/log/samba/log.smbd. Here's the smb.conf I wrote: === # cat /etc/samba/smb.conf

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-28 Thread Chris Gonnerman
On 07/28/2010 07:28 AM, Gilles wrote: I waited 15mn in case it was due to some browsing issue, but the directory I shared on a Ubuntu server still doesn't show up in the XP Net'hood, with no error when starting smbd or in /var/log/samba/log.smbd. Are you expecting it to appear in the My

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-28 Thread Gilles
On Wed, 28 Jul 2010 14:28:57 +0200, Gilles gilles.gana...@free.fr wrote: Here's the smb.conf I wrote: Also tried this, running restart smbd after each addition, to no avail: === # cat /etc/samba/smb.conf [global] workgroup = WORKGROUP server string = Samba Server %v guest account = nobody

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-28 Thread Gilles
On Wed, 28 Jul 2010 07:42:34 -0500, Chris Gonnerman ch...@newcenturycomputers.net wrote: Go to Start, Run, and enter \\name-of-server\share then hit OK. Of course, you should substitute the actual name of the server. If it opens a window (with whatever is in /srv/samba visible in it), you're

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-28 Thread Marcello Romani
Gilles ha scritto: On Wed, 28 Jul 2010 07:42:34 -0500, Chris Gonnerman ch...@newcenturycomputers.net wrote: Go to Start, Run, and enter \\name-of-server\share then hit OK. Of course, you should substitute the actual name of the server. If it opens a window (with whatever is in /srv/samba

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-28 Thread Marcello Romani
Gilles Ganault ha scritto: At 15:16 28/07/2010, you wrote: Try pinging the ubuntu server via ip address. If that works, then try to connect to the share by using the ip address instead of the hostname, e.g.: \\ip-addr-of-server\share Thanks for the help. I can connect through its IP

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-28 Thread Gilles
On Wed, 28 Jul 2010 17:03:43 +0200, Marcello Romani mrom...@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

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-28 Thread Nico De Ranter
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 mrom...@ottotecnica.com wrote: My servers are pure debian, so no I don't know of Ubuntu specific tweaks. I'd try to

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-28 Thread Gilles
On Wed, 28 Jul 2010 17:44:49 +0200, Nico De Ranter n...@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

Re: [Samba] [Ubuntu 10.04] Share not visible from XP?

2010-07-28 Thread Christian PERRIER
Quoting Gilles (gilles.gana...@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 =