Mark Frayling
2002-Oct-29 12:57 UTC
[Samba] Cannot see the samba server in Network Neighbourhood
Hi I am a newbie to samba after taking over from a previous administrator. I have upgraded to the version that ships with SuSE linux 8.0 and copied over the old smb.config and smbpasswd files. I can see the shares from a remote SWAT connection and also using the interactive method via a DOS window, but cannot get the shares to be seen via Network Neighbourhood. I am thinking that this may be a NetBios problem, but cannot pinpoint it. Any help would be muchly appreciated. -- Mark Frayling
Noel Kelly
2002-Oct-29 13:37 UTC
[Samba] Cannot see the samba server in Network Neighbourhood
It would be helpful if you could post you smb.conf and let us know what role the Samba machine is taking in the network. Sounds like the Samba machine could be set to be a wins server but is being usurped by another server? Also check your nmbd log file and check nmbd is actually running. Noel -----Original Message----- From: Mark Frayling [mailto:mark.frayling@asa.co.uk] Sent: 29 October 2002 12:56 To: samba@lists.samba.org Subject: [Samba] Cannot see the samba server in Network Neighbourhood Hi I am a newbie to samba after taking over from a previous administrator. I have upgraded to the version that ships with SuSE linux 8.0 and copied over the old smb.config and smbpasswd files. I can see the shares from a remote SWAT connection and also using the interactive method via a DOS window, but cannot get the shares to be seen via Network Neighbourhood. I am thinking that this may be a NetBios problem, but cannot pinpoint it. Any help would be muchly appreciated. -- Mark Frayling -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.408 / Virus Database: 230 - Release Date: 24/10/2002
Noel Kelly
2002-Oct-29 14:30 UTC
[Samba] Cannot see the samba server in Network Neighbourhood
Mark, Yes clearly your Samba machine is becoming the master browser from the log but I am suspicious of the 'os level' parameter being set to 2 (see below). You can search the archives at http://marc.theaimsgroup.com (see http://samba.mirror.ac.uk/samba/archives.html) HTH Noel os level (G) This integer value controls what level Samba advertises itself as for browse elections. The value of this parameter determines whether nmbd(8) has a chance of becoming a local master browser for the WORKGROUP in the local broadcast area. Note :By default, Samba will win a local master browsing election over all Microsoft operating systems except a Windows NT 4.0/2000 Domain Controller. This means that a misconfigured Samba host can effectively isolate a subnet for browsing purposes. See BROWS- ING.txt in the Samba docs/ directory for details. Default: os level = 20 Example: os level = 65 -----Original Message----- From: Mark Frayling [mailto:mark.frayling@asa.co.uk] Sent: 29 October 2002 13:51 To: Noel Kelly Subject: Re: [Samba] Cannot see the samba server in Network Neighbourhood Noel Thx for the quick reply. I have attached my smb.conf file along with the relevant log files. This setup, using the attached smb.conf file has been working ok with an older version of samba, how do i tell what version i am running? I installed SuSE version 8.0 which ships with a newer version and once installed i thought it would be a simple job of copying over my smb.conf and smbpasswd files. nmbd -D and smbd -D are running ok. I am not sure what you mean about the WINS server being used by another? I thought it had to run as a WINS server to handle the NetBIOS traffic to it? Thanks again --Mark PS I have been trying to search for past postings, is there such a place? Noel Kelly wrote:>************************************************************************** >This Message Was Virus Checked With : SAVI 3.61 September 2002 >Last Updated 11th October 2002 >************************************************************************** > >It would be helpful if you could post you smb.conf and let us know whatrole>the Samba machine is taking in the network. Sounds like the Samba machine >could be set to be a wins server but is being usurped by another server? > >Also check your nmbd log file and check nmbd is actually running. > >Noel > >-----Original Message----- >From: Mark Frayling [mailto:mark.frayling@asa.co.uk] >Sent: 29 October 2002 12:56 >To: samba@lists.samba.org >Subject: [Samba] Cannot see the samba server in Network Neighbourhood > > >Hi >I am a newbie to samba after taking over from a previous administrator. > >I have upgraded to the version that ships with SuSE linux 8.0 and copied >over the old smb.config and smbpasswd files. > >I can see the shares from a remote SWAT connection and also using the >interactive method via a DOS window, but cannot get the shares to be >seen via Network Neighbourhood. I am thinking that this may be a >NetBios problem, but cannot pinpoint it. >Any help would be muchly appreciated. > > >-- Mark Frayling IT Systems Administrator Advanced System Architectures Ltd --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
Mark Frayling
2002-Oct-31 11:00 UTC
[Samba] Cannot see the samba server in Network Neighbourhood
Noel I have kept all the names the same on the new build as they were on the old build. The new build is the same box, but a new physical disk,so i disconnect the one that i am not booting from. I have copied in the list too, so someone may see this and twig it, hopefully. Thanks again --Mark Noel Kelly wrote:> Ah right. > > The netbios name of your new server is different from the old one > right? If they are as you say, identical, then that could be the > basic problem - you need to give the new server a differnet name or > disconnect the old one. > > Yes that screen shot threw me! > > Might be a good idea to copy in the list - there are guys out there > who are far, far more experienced than me with this stuff. Bu i'll > keep chipping in as much as i can :) > > > > Cheers > Noel > > > -----Original Message----- > *From:* Mark Frayling [mailto:mark.frayling@asa.co.uk] > *Sent:* 31 October 2002 10:36 > *To:* Noel Kelly > *Subject:* Re: [Samba] Cannot see the samba server in Network > Neighbourhood > > Hi Noel > > Sorry to keep bothering you, please tell me if you would like me > to pass this on to the samba forum instead. > > I have checked the /etc/passwd and /etc/shadow files on the old > build and compared against the new build. There seems to be no > entries in either for any users or workstations. It looks as > though it is only the smbpasswd that we use for authentication, > which i have copied across from the old build to the new build. > > I think i may have confused you also as i cannot see the new build > machine in my Network Neighbourhood, ONLY the old build, which is > the screen shot i sent to you. > > There appears to be no entry in either the /etc/passwd or > /etc/shadow files on either the old or the new build for anything > to do with security or domain. > > I have printed the document you suggested, which i am currently > looking through. I think what i am experiencing is a simple > fundamental error that i cannot help but overlook, and the fact > that my understanding od SAMBA is currently minimal.... > > Thanks in advance for your help. > > --Mark > > > > Noel Kelly wrote: > >> OK so you can see it but cannot access the shares? >> >> Your log file is set to "log file = /var/log/smb" and it show this: >> >> [2002/10/28 14:27:58, 0] smbd/password.c:domain_client_validate(1517) >> domain_client_validate: could not fetch trust account password >> for domain WORKGROUP >> [2002/10/28 14:27:58, 0] smbd/service.c:make_connection(249) >> troy (193.195.233.14) couldn't find service janeth >> [2002/10/28 14:27:58, 0] smbd/service.c:make_connection(249) >> troy (193.195.233.14) couldn't find service janeth >> [2002/10/28 14:27:58, 0] smbd/service.c:make_connection(249) >> troy (193.195.233.14) couldn't find service janet >> >> I think you need to copy more than just the smbpasswd - >> 'security=domain' requries an entry in the /etc/passwd file as >> well so you might need to transpose the relevant bits of >> /etc/passwd and /etc/shadow as well. Each of the workstations >> needs to have an account as well in the from 'workstation$'. >> Have a look at the /etc/passwd on the original server and you >> will no doubt see such entries. >> >> Try a 'man smb.conf' and look under the 'security' parameter. >> >> I think there is some good info in this document - >> http://samba.mirror.ac.uk/samba/docs/Samba-HOWTO-Collection.pdf >> >> HTH >> >> >> >> >> >> >> >> >> -----Original Message----- >> *From:* Mark Frayling [mailto:mark.frayling@asa.co.uk] >> *Sent:* 29 October 2002 15:05 >> *To:* Noel Kelly >> *Subject:* Re: [Samba] Cannot see the samba server in Network >> Neighbourhood >> >> Noel >> I have attached a current screen dump of my network >> neighbourhood. This on IS working ok as i have had to revert >> back to the old build disk to keep users working. I will >> then change back to the new build the one not working this >> evening to play around with it. >> >> The machine 'cabi' is the samba server, which can be seen at >> the moment. With the new build though, cabi cannot be seen, >> even though i can see it across the network via ping etc. >> >> My workstation is currently set to workgroup called WORKGROUP >> and is set to use cabi, the samba server, as a WINS server. >> >> Not sure what you mean by the samba server being in its own >> workgroup. So if the default workgroup on samba is workgroup >> i take it then that i do not have to add this in. >> >> Thanks >> >> --Mark >> >> >> Noel Kelly wrote: >> >>> Mark, >>> >>> Looking at it, your Samba server is configured to be the >>> Master Browser (ie all the other machines on the network >>> register with it and it is this list which is displayed in >>> the Network Neighbourhood. Troubleshooting this stuff is >>> always a game as the browse list can take up to 15 mins to >>> update). Each Windoze machine has an OS level with which to >>> win a browser election. The most lowly being a Win95 >>> machine and the highest being a Win2000 Server. Samba you >>> can adjust this with the os level= parameter. So being set >>> to be the wins server (wins support = yes) but having a OS >>> level of 2 (effetively nothing) is a little odd although the >>> logs hsow it winning the election. >>> >>> The Workgroup parameter should be set to whatever your >>> workgroup/domain name your Windows network has been given. >>> By default they belong to the workgroup 'Workgroup'. I >>> suspect you need to change this - when you are browsing the >>> neighbourhood, what is the top level name? Probably the >>> Samba server is in its own workgroup and hence not showing >>> up in the neighbourhood. >>> >>> HTH >>> Noel >>> >>> -----Original Message----- >>> *From:* Mark Frayling [mailto:mark.frayling@asa.co.uk] >>> *Sent:* 29 October 2002 14:40 >>> *To:* Noel Kelly >>> *Subject:* Re: [Samba] Cannot see the samba server in >>> Network Neighbourhood >>> >>> Noel >>> >>> I am a little uncertain as to all this browsing stuff, >>> ie master browser etc. >>> >>> I take it then that the samba server should not be the >>> master browser, if not what should, or is there no >>> master browser. How do i change this? >>> >>> Is my smb.conf file ok with this later version of samba? >>> >>> I have noticed that the later version has an entry in >>> the smb.conf file for 'WORKGROUP', my older smb.conf >>> file appears not to have this entry? >>> >>> Thanks >>> >>> --Mark >>> >>> Noel Kelly wrote: >>> >>>>************************************************************************** >>>>This Message Was Virus Checked With : SAVI 3.61 September 2002 >>>>Last Updated 11th October 2002 >>>>************************************************************************** >>>> >>>>Mark, >>>> >>>>Yes clearly your Samba machine is becoming the master browser from the log >>>>but I am suspicious of the 'os level' parameter being set to 2 (see below). >>>> >>>>You can search the archives at http://marc.theaimsgroup.com (see >>>>http://samba.mirror.ac.uk/samba/archives.html) >>>> >>>>HTH >>>>Noel >>>> >>>> >>>> os level (G) >>>> This integer value controls what level Samba advertises >>>>itself as >>>> for browse elections. The value of this parameter >>>>determines >>>> whether nmbd(8) has a chance of becoming a local master >>>>browser for >>>> the WORKGROUP in the local broadcast area. >>>> >>>> Note :By default, Samba will win a local master browsing >>>>election >>>> over all Microsoft operating systems except a Windows NT >>>>4.0/2000 >>>> Domain Controller. This means that a misconfigured Samba >>>>host can >>>> effectively isolate a subnet for browsing purposes. See >>>>BROWS- >>>> ING.txt in the Samba docs/ directory for details. >>>> >>>> Default: os level = 20 >>>> >>>> Example: os level = 65 >>>> >>>>-----Original Message----- >>>>From: Mark Frayling [mailto:mark.frayling@asa.co.uk] >>>>Sent: 29 October 2002 13:51 >>>>To: Noel Kelly >>>>Subject: Re: [Samba] Cannot see the samba server in Network >>>>Neighbourhood >>>> >>>> >>>>Noel >>>> >>>>Thx for the quick reply. >>>> >>>>I have attached my smb.conf file along with the relevant log files. >>>> >>>>This setup, using the attached smb.conf file has been working ok with an >>>>older version of samba, how do i tell what version i am running? >>>> >>>>I installed SuSE version 8.0 which ships with a newer version and once >>>>installed i thought it would be a simple job of copying over my smb.conf >>>>and smbpasswd files. >>>> >>>>nmbd -D and smbd -D are running ok. >>>> >>>>I am not sure what you mean about the WINS server being used by another? >>>> I thought it had to run as a WINS server to handle the NetBIOS traffic >>>>to it? >>>> >>>>Thanks again >>>> >>>>--Mark >>>> >>>>PS >>>> >>>>I have been trying to search for past postings, is there such a place? >>>> >>>>Noel Kelly wrote: >>>> >>>> >>>> >>>>>************************************************************************** >>>>>This Message Was Virus Checked With : SAVI 3.61 September 2002 >>>>>Last Updated 11th October 2002 >>>>>************************************************************************** >>>>> >>>>>It would be helpful if you could post you smb.conf and let us know what >>>>> >>>>> >>>>role >>>> >>>> >>>>>the Samba machine is taking in the network. Sounds like the Samba machine >>>>>could be set to be a wins server but is being usurped by another server? >>>>> >>>>>Also check your nmbd log file and check nmbd is actually running. >>>>> >>>>>Noel >>>>> >>>>>-----Original Message----- >>>>>From: Mark Frayling [mailto:mark.frayling@asa.co.uk] >>>>>Sent: 29 October 2002 12:56 >>>>>To: samba@lists.samba.org >>>>>Subject: [Samba] Cannot see the samba server in Network Neighbourhood >>>>> >>>>> >>>>>Hi >>>>>I am a newbie to samba after taking over from a previous administrator. >>>>> >>>>>I have upgraded to the version that ships with SuSE linux 8.0 and copied >>>>>over the old smb.config and smbpasswd files. >>>>> >>>>>I can see the shares from a remote SWAT connection and also using the >>>>>interactive method via a DOS window, but cannot get the shares to be >>>>>seen via Network Neighbourhood. I am thinking that this may be a >>>>>NetBios problem, but cannot pinpoint it. >>>>>Any help would be muchly appreciated. >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>>-- >>>Mark Frayling >>>IT Systems Administrator >>>Advanced System Architectures Ltd >>> >>> >>> >>> >>> --- >>> Incoming mail is certified Virus Free. >>> Checked by AVG anti-virus system (http://www.grisoft.com). >>> Version: 6.0.404 / Virus Database: 228 - Release Date: >>> 15/10/2002 >>> >>> >>> --- >>> Outgoing mail is certified Virus Free. >>> Checked by AVG anti-virus system (http://www.grisoft.com). >>> Version: 6.0.404 / Virus Database: 228 - Release Date: >>> 15/10/2002 >>> >> >>-- >>Mark Frayling >>IT Systems Administrator >>Advanced System Architectures Ltd >> >> >> >> >> --- >> Incoming mail is certified Virus Free. >> Checked by AVG anti-virus system (http://www.grisoft.com). >> Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 >> >> >> --- >> Outgoing mail is certified Virus Free. >> Checked by AVG anti-virus system (http://www.grisoft.com). >> Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 >> > >-- >Mark Frayling >IT System Administrator >Advanced System Architectures Ltd > > > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 >-- Mark Frayling IT System Administrator Advanced System Architectures Ltd