Re: [Samba] Samba 3 master browser on two networks plus WINS
The samba server also acts as the router. That is correct, a pc on subnet 1 cannot access a pc on subnet 2 through samba, but works fine using other protocols. Both subnet 1 and subnet 2 have pc that run Windows 7 x64, or Windows XP, or Linux (usually Fedora 17). The server itself runs on Archlinux. >> It seems that WINS is not the problem. Then what is ? From: Gaiseric Vandal To: samba@lists.samba.org Sent: Thursday, January 3, 2013 11:02 PM Subject: Re: [Samba] Samba 3 master browser on two networks plus WINS Presumably pc on subnet1 does NOT need to access a share from 192.168.7.1 since it can access 192.168.5.1. Presumably pc on subnet2 does NOT need to access a share from 192.168.5.1 since it can access 192.168.7.1. If you have a dual homed server + a router between subnets your routing could get a little tricky when access shares on the "other subnet" IP of the samba server. Or is the samba server also the router? But to clarify your issue is that a /*single-homed client */ PC on subnet1 (e.g. LIVINGROOM) can not access shares on single-homed client PC on subnet2 (e.g. ACERJUNKI)- even though they can ping each other? It seems that WINS is not the problem. On 01/03/13 15:41, Gala Dragos wrote: > Subnet 1 : > 192.168.5.1/24, wins 192.168.5.1 > > subnet 2: > 192.168.7.1/24, wins 192.168.7.1 > > all pc are allocated ip's from their respective subnet via dhcp. > > a pc on subnet 1 cannot access a share from e pc on subnet 2, not even by ip. > Same happens from subnet 2 to subnet 1. > > > The firewall is setup as to allow all traffic between the 2 subnets, > effectively considering them as a single zone (I use shorewall as an UI to > iptables) > > I have not specified any ports in smb.conf, but I have binded samba to the > required ethernet interface. > > Here is the wins.dat. I can see references from both subnets. > >>>>>>>> wins.dat follows >>>>>> > VERSION 1 0 >> "WORKGROUP#1e" 1357503758 0.0.0.0 e4R >> "ARCHROUTEUSB#03" 1357503758 192.168.5.1 192.168.7.1 66R >> "WORKGROUP#00" 1357503758 0.0.0.0 e4R >> "ROUTERJUNKIE#03" 1357503758 192.168.5.1 192.168.7.1 64R >> "LIVINGROOM#20" 1357541821 192.168.5.91 64R >> "LINUXJUNKIE#00" 1357511721 192.168.5.118 64R >> "ROUTERJUNKIE#00" 1357503758 192.168.5.1 192.168.7.1 64R >> "ARCHROUTEUSB RO#03" 1357258441 192.168.5.1 192.168.7.1 64R >> "FUJILAPPY#20" 1357497461 192.168.7.16 64R >> "ARCHROUTEUSB#00" 1357503758 192.168.5.1 192.168.7.1 66R >> "WORKGROUP#1b" 1357503758 192.168.5.1 192.168.7.1 64R >> "LIVINGROOM#00" 1357541816 192.168.5.91 64R >> "LINUXJUNKIE#20" 1357511723 192.168.5.118 64R >> "ARCHROUTEUSB RO#20" 1357258441 192.168.5.1 192.168.7.1 64R >> "WORKGROUP#1c" 1357503758 192.168.5.1 192.168.7.1 e4R >> "ACERJUNKIE#00" 1357381531 192.168.7.15 64R >> "FUJILAPPY#00" 1357497461 192.168.7.16 64R >> "ACERJUNKIE#20" 1357381531 192.168.7.15 64R >> "ARCHROUTEUSB RO#00" 1357258441 192.168.5.1 192.168.7.1 64R >> "ARCHROUTEUSB#20" 1357503758 192.168.5.1 192.168.7.1 66R >> "ROUTERJUNKIE#20" 1357503758 192.168.5.1 192.168.7.1 64R >>>>>>>>>>>>>>> end wins.dat >>>>>>>>>> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3 master browser on two networks plus WINS
Anything for samba 3 ? Btw what exactly are the difference between samba 3 and samba 4 ? I was under the impression that samba 4 only implements the new Homegroup feature that post XP windows has. From: Daniel Müller To: gaiseric.van...@gmail.com Cc: samba@lists.samba.org Sent: Friday, January 4, 2013 1:04 AM Subject: Re: [Samba] Samba 3 master browser on two networks plus WINS Try this, samba4wins (http://www.enterprisesamba.org/samba4wins/)! A real wins server can interact with microsoft wins server push and pull partner! Let one samba be your pdc the other the bdc point both to the samba4wins host, point all your windows clients to the samba4wins host and you are up and running. Working here with 3 subnets and two windows 2008 wins servers as replication partners. On Thu, 03 Jan 2013 09:13:06 -0500, Gaiseric Vandal wrote: > Is samba bound to a subnet1 interface only or all interfaces. Can > subnet2 clients connect to samba via either IP? Are subnet2 clients > supposed to be using samba services via the subnet1 IP or the subnet2 IP > on the server? The first would involve going thru the firewall, > which seems unnecessary with a dual homed samba server. The 2nd, > however, probably rules out using WINS for the subnet2 clients since you > would NOT want traffic going thru the firewall. > > > What IP are the clients on subnet2 using for a WINS server? Can you try > having the clients on subnet2 use samba server subnet1 IP as the WINS > server? I haven't tried running WINS on a dual homed system. I would > guess it you cat the wins.dat file (or tdbdump wins.tbd) you will only > see registrations for subnet1. > > > Have you specified any ports in the smb.conf file? Samba 3 uses "NT4" > type smb-over-NBT (ports 137,138,139 and not 445) BUT I have found that > explicitly specifying ports in smb.conf breaks more things than it fixes. > > > > > > On 01/03/13 04:01, Gala Dragos wrote: >> I'm banging my head against the wall here with a problem that I have. >> >> I have one Samba 3 server on a linux box with 2 ethernet interfaces, >> each given a different subnet. The same box does dhcp leases on both >> networks, with wins option pointing to this server. >> >> Firewall was configured to allow the best unobtrusive communication >> between the two subnets, I can ping between the subnets and receive >> response, I can also access some other services, like http, from one >> subnet to the other. >> >> I have setup on this server a common Public share, which works. >> >> Now I'm trying to get the Samba PC from subnet 1 to see the Samba PC >> from subnet 2 and viceversa, but to no avail. On subnet 1 I can see >> access the server via it's NetBIOS name, but on subnet 2 I can only see >> the server and access it via it's IP. No other Samba PC's can be seen >> across the subnets! All pc's have the same workgroup. >> >> What to enable in configuration in order to be able to do cross subnet >> browsing with samba ? >> >> Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 3 master browser on two networks plus WINS
Subnet 1 : 192.168.5.1/24, wins 192.168.5.1 subnet 2: 192.168.7.1/24, wins 192.168.7.1 all pc are allocated ip's from their respective subnet via dhcp. a pc on subnet 1 cannot access a share from e pc on subnet 2, not even by ip. Same happens from subnet 2 to subnet 1. The firewall is setup as to allow all traffic between the 2 subnets, effectively considering them as a single zone (I use shorewall as an UI to iptables) I have not specified any ports in smb.conf, but I have binded samba to the required ethernet interface. Here is the wins.dat. I can see references from both subnets. >>> wins.dat follows >> VERSION 1 0 >"WORKGROUP#1e" 1357503758 0.0.0.0 e4R >"ARCHROUTEUSB#03" 1357503758 192.168.5.1 192.168.7.1 66R >"WORKGROUP#00" 1357503758 0.0.0.0 e4R >"ROUTERJUNKIE#03" 1357503758 192.168.5.1 192.168.7.1 64R >"LIVINGROOM#20" 1357541821 192.168.5.91 64R >"LINUXJUNKIE#00" 1357511721 192.168.5.118 64R >"ROUTERJUNKIE#00" 1357503758 192.168.5.1 192.168.7.1 64R >"ARCHROUTEUSB RO#03" 1357258441 192.168.5.1 192.168.7.1 64R >"FUJILAPPY#20" 1357497461 192.168.7.16 64R >"ARCHROUTEUSB#00" 1357503758 192.168.5.1 192.168.7.1 66R >"WORKGROUP#1b" 1357503758 192.168.5.1 192.168.7.1 64R >"LIVINGROOM#00" 1357541816 192.168.5.91 64R >"LINUXJUNKIE#20" 1357511723 192.168.5.118 64R >"ARCHROUTEUSB RO#20" 1357258441 192.168.5.1 192.168.7.1 64R >"WORKGROUP#1c" 1357503758 192.168.5.1 192.168.7.1 e4R >"ACERJUNKIE#00" 1357381531 192.168.7.15 64R >"FUJILAPPY#00" 1357497461 192.168.7.16 64R >"ACERJUNKIE#20" 1357381531 192.168.7.15 64R >"ARCHROUTEUSB RO#00" 1357258441 192.168.5.1 192.168.7.1 64R >"ARCHROUTEUSB#20" 1357503758 192.168.5.1 192.168.7.1 66R >"ROUTERJUNKIE#20" 1357503758 192.168.5.1 192.168.7.1 64R >> end wins.dat >> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba 3 master browser on two networks plus WINS
I'm banging my head against the wall here with a problem that I have. I have one Samba 3 server on a linux box with 2 ethernet interfaces, each given a different subnet. The same box does dhcp leases on both networks, with wins option pointing to this server. Firewall was configured to allow the best unobtrusive communication between the two subnets, I can ping between the subnets and receive response, I can also access some other services, like http, from one subnet to the other. I have setup on this server a common Public share, which works. Now I'm trying to get the Samba PC from subnet 1 to see the Samba PC from subnet 2 and viceversa, but to no avail. On subnet 1 I can see access the server via it's NetBIOS name, but on subnet 2 I can only see the server and access it via it's IP. No other Samba PC's can be seen across the subnets! All pc's have the same workgroup. What to enable in configuration in order to be able to do cross subnet browsing with samba ? Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] FW: Samba is not starting automatically on boot, installed on Ubuntu
The new free Redhat is named Fedora. It includes the "newest" software, unlike RH which includew only proven stable software. Good luck. Sent from Yahoo! Mail Android -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] FW: Samba is not starting automatically on boot, installed on Ubuntu
Which means YOU don't have eth0 !? I also subscribe against Ubuntu as server (maybe as a toy), try something better (Fedora, Arch Linux, Gentoo). One mode thing, the chkconfig response tells you that the smbd service is enabled only in runlevel 3, as I recall Ubuntu started in runlevel 5 by default. From: L.P.H. van Belle To: "samba@lists.samba.org" Sent: Thursday, September 6, 2012 5:03 PM Subject: [Samba] FW: Samba is not starting automatically on boot, installed on Ubuntu Onderwerp: RE: [Samba] Samba is not starting automatically on boot, installed on Ubuntu Forgot to mention. Disable these settings and samba starts on boot. interfaces = lo eth0 bind interfaces only = Yes Louis >-Oorspronkelijk bericht- >Van: be...@bazuin.nl [mailto:samba-boun...@lists.samba.org] >Namens L.P.H. van Belle >Verzonden: donderdag 6 september 2012 15:38 >Aan: samba@lists.samba.org >Onderwerp: Re: [Samba] Samba is not starting automatically on >boot, installed on Ubuntu > >Hai, > >i also dont recommend ubuntu as server, but your script is correct. > >Did you remove upstart ? or did you install a non ubuntu package. >Im running samba also on ubuntu and debian, as pdc and no problem. > >setup dependency based boot sequencing >http://manpages.ubuntu.com/manpages/precise/man8/update-rc.d.8.html > >Louis > >>-Oorspronkelijk bericht- >>Van: smb...@chrissmith.org >>[mailto:samba-boun...@lists.samba.org] Namens Chris Smith >>Verzonden: donderdag 6 september 2012 15:02 >>Aan: Eitan Orgil >>CC: samba@lists.samba.org >>Onderwerp: Re: [Samba] Samba is not starting automatically on >>boot, installed on Ubuntu >> >>Ubuntu AFAIK has never fixed their Bug 951087 which is one reason I >>cannot recommend it as a server where Samba is a critical package. >> >>On Thu, Sep 6, 2012 at 7:33 AM, Eitan Orgil >> wrote: >>> Hi, >>> >>> I have installed an Ubuntu server 12.04.01 with Smba 3.6.3 >>> >>> I have configured it to be a file server as well as a PDC. >>> >>> When I restart the Linux system, the Samba service will not >>> start automatically. >>> >>> I tried using: "chkconfig smbd 3", for that I got a lot of >>"... missing LSB >>> tags and overrides" messages. >>> Then when I run: chkconfig smbd I get: smbd 3 >>> Rebooting the Linux, the service is up, but not responding, >>restarting the >>> smbd service and it is OK. >>> >>> I also tryed to ussysv-rc-confe with the same resoults,the >>service is up, >>> but not responding, restarting the smbd service and it is OK. >>> >>> Can anybody help? >>> >>> >>> -- >>> Best regards >>> Orgil Eitan >>> ??? please consider the environment before printing this email. >>> -- >>> To unsubscribe from this list go to the following URL and read the >>> instructions: https://lists.samba.org/mailman/options/samba >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: https://lists.samba.org/mailman/options/samba >> > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Linux to Windows Interoperability
If you are thinking about storing the files on a linux ext3 partition, then it is possible, but the access will be case sensitive. From: John Drescher To: "Knecht, Matthew J (AS)" Cc: "samba@lists.samba.org" ; "samba-techni...@lists.samba.org" ; "mail...@lists.samba.org" Sent: Thursday, May 24, 2012 3:32 PM Subject: Re: [Samba] Linux to Windows Interoperability > Curious to know if Samba is able to support communication (read/write) with > external media formatted EXT3 (Linux volume) from within the MS Windows > environment? > I am not sure samba works on a windows machine. I mean you would have to disable the Server service and probably a few more since Samba replaces these. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Fw: PDC/wins on multiple networks
>> WINS needs to be set up correctly. Example please ! >> Ports 137, 138, 139, and 445 should be sufficient. Do you mean forward them all between the networks ? -- . Microsoft broke the Volkswagen world record: Volkswagen only made 22 million bugs! . It is time for us to stand and cheer for the doer, the achiever, the one who recognizes the challenge and does something about it. -Vince Lombardi . Everybody can learn how to make kids, but not everyone can raise them right! From: "t...@tms3.com" To: Gala Dragos Cc: samba list Sent: Friday, March 25, 2011 8:38 PM Subject: Re: [Samba] Fw: PDC/wins on multiple networks Hi, > > >The pc that runs the samba server is my own property, it also dubs as router >and dhcp server. I assign WINS server to the clients by dhcp using dnsmasq. I >do not need or want to setup a domain. I just want to share files between the >two networks using windows neighborhood and a workgroup, just like the clients >would have been connected in the same network. > >I have deleted the "remote anounce" thingy but the error is the same: "The >network path could not be found" > WINS needs to be set up correctly. > >Maybe something has to do with the firewall? can you tell me which ports to >open and their direction ? > Ports 137, 138, 139, and 445 should be sufficient. > > >-- > > >.. Microsoft broke the Volkswagen world record: Volkswagen only made 22 >million bugs! > > >.. It is time for us to stand and cheer for the doer, the achiever, the one >who recognizes the challenge and does something about it. >-Vince Lombardi > > >.. Everybody can learn how to make kids, but not everyone can raise them >right! > > > >From: Daniel Müller >To: Gala Dragos >Cc: samba list >Sent: Thursday, March 24, 2011 11:24 PM >Subject: Re: [Samba] PDC/wins on multiple networks > >Hi, >you have a (Samba)domain server and it is your wins? >You just to have an entry in your win xp clients wins-server: >YourSambaWinsServer.Enable Netbios over TCP >.. >That is all. No: remote announce = 192.168.5.255/WORKGROUP >192.168.7.255/WORKGROUP >This is working for me with 3 subnets. > >On Thu, 24 Mar 2011 13:25:41 -0700 (PDT), Gala Dragos > wrote: > >Hi to everyone on the mailing list. >> >>I have two networks at home, apart from the internet. One is the wired >>network, LAN, and the other is the wireless network, WLAN. They need to >>be separated, not bridged, because of hardware issues. >> >>I am trying to setup inter-networking browsing on these networks, pc's >>on > >LAN should see and browse pc's on WLAN >> and viceversa. > > >>After reading the manual I have enabled wins server master and wins >>proxy > >in samba configuration. However I can only see the pc's from the other >>network, but I cannot >>browse them, windows returns an error like "network path could not be >>found". >> >>The samba server runs on my router box, together with the firewall >>(managed through shorewall) and dnsmasq for dhcp/dns. >> >> >>Below is my global smb.conf part. >> >>[global] >> server >> string = Samba Server >> interfaces = eth1, lo, wlan0 >> bind interfaces only = Yes >> security = SHARE >> log file = /var/log/samba/%m.log >> >> max log size = 50 > > announce as = NT Workstation >> os level = 99 >> lm interval = 10 >> preferred master = Yes >> domain master = Yes >> wins proxy = Yes >> wins support = Yes >> remote announce = 192.168.5.255/WORKGROUP >> 192.168.7.255/WORKGROUP >> create mask = 0666 >> case sensitive = No >> preserve case = No >> short preserve >> case = No > > hide special files = Yes >> map hidden = Yes >> store dos attributes = Yes >>Thanks. >> >> >> >>-- > > >> >>. Microsoft broke the Volkswagen world record: Volkswagen only made 22 >>million bugs! >> >> >>. It is time for us to stand and cheer for the doer, the achiever, the >>one who recognizes the challenge and does something about it. >>-Vince Lombardi >> >> >>. Everybody can learn how to make kids, but not everyone can raise them >>right! >> > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Fw: PDC/wins on multiple networks
Hi, The pc that runs the samba server is my own property, it also dubs as router and dhcp server. I assign WINS server to the clients by dhcp using dnsmasq. I do not need or want to setup a domain. I just want to share files between the two networks using windows neighborhood and a workgroup, just like the clients would have been connected in the same network. I have deleted the "remote anounce" thingy but the error is the same: "The network path could not be found" Maybe something has to do with the firewall? can you tell me which ports to open and their direction ? -- . Microsoft broke the Volkswagen world record: Volkswagen only made 22 million bugs! . It is time for us to stand and cheer for the doer, the achiever, the one who recognizes the challenge and does something about it. -Vince Lombardi . Everybody can learn how to make kids, but not everyone can raise them right! From: Daniel Müller To: Gala Dragos Cc: samba list Sent: Thursday, March 24, 2011 11:24 PM Subject: Re: [Samba] PDC/wins on multiple networks Hi, you have a (Samba)domain server and it is your wins? You just to have an entry in your win xp clients wins-server: YourSambaWinsServer.Enable Netbios over TCP . That is all. No: remote announce = 192.168.5.255/WORKGROUP 192.168.7.255/WORKGROUP This is working for me with 3 subnets. On Thu, 24 Mar 2011 13:25:41 -0700 (PDT), Gala Dragos wrote: > Hi to everyone on the mailing list. > > I have two networks at home, apart from the internet. One is the wired > network, LAN, and the other is the wireless network, WLAN. They need to > be separated, not bridged, because of hardware issues. > > I am trying to setup inter-networking browsing on these networks, pc's on > LAN should see and browse pc's on WLAN and viceversa. > > After reading the manual I have enabled wins server master and wins proxy > in samba configuration. However I can only see the pc's from the other > network, but I cannot > browse them, windows returns an error like "network path could not be > found". > > The samba server runs on my router box, together with the firewall > (managed through shorewall) and dnsmasq for dhcp/dns. > > > Below is my global smb.conf part. > > [global] > server > string = Samba Server > interfaces = eth1, lo, wlan0 > bind interfaces only = Yes > security = SHARE > log file = /var/log/samba/%m.log > max log size = 50 > announce as = NT Workstation > os level = 99 > lm interval = 10 > preferred master = Yes > domain master = Yes > wins proxy = Yes > wins support = Yes > remote announce = 192.168.5.255/WORKGROUP > 192.168.7.255/WORKGROUP > create mask = 0666 > case sensitive = No > preserve case = No > short preserve case = No > hide special files = Yes > map hidden = Yes > store dos attributes = Yes > Thanks. > > > -- > > > . Microsoft broke the Volkswagen world record: Volkswagen only made 22 > million bugs! > > > . It is time for us to stand and cheer for the doer, the achiever, the > one who recognizes the challenge and does something about it. > -Vince Lombardi > > > . Everybody can learn how to make kids, but not everyone can raise them > right! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] PDC/wins on multiple networks
Hi to everyone on the mailing list. I have two networks at home, apart from the internet. One is the wired network, LAN, and the other is the wireless network, WLAN. They need to be separated, not bridged, because of hardware issues. I am trying to setup inter-networking browsing on these networks, pc's on LAN should see and browse pc's on WLAN and viceversa. After reading the manual I have enabled wins server master and wins proxy in samba configuration. However I can only see the pc's from the other network, but I cannot browse them, windows returns an error like "network path could not be found". The samba server runs on my router box, together with the firewall (managed through shorewall) and dnsmasq for dhcp/dns. Below is my global smb.conf part. [global] server string = Samba Server interfaces = eth1, lo, wlan0 bind interfaces only = Yes security = SHARE log file = /var/log/samba/%m.log max log size = 50 announce as = NT Workstation os level = 99 lm interval = 10 preferred master = Yes domain master = Yes wins proxy = Yes wins support = Yes remote announce = 192.168.5.255/WORKGROUP 192.168.7.255/WORKGROUP create mask = 0666 case sensitive = No preserve case = No short preserve case = No hide special files = Yes map hidden = Yes store dos attributes = Yes Thanks. -- . Microsoft broke the Volkswagen world record: Volkswagen only made 22 million bugs! . It is time for us to stand and cheer for the doer, the achiever, the one who recognizes the challenge and does something about it. -Vince Lombardi . Everybody can learn how to make kids, but not everyone can raise them right! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba