Discussion:
[Samba] netbios and interfaces
Pol Hallen
2016-08-03 16:41:53 UTC
Permalink
Hi all

I've a samba server listen on eth0 (everything ok) and eth2

server1 has eth2: 192.168.100.212 <--> 192.168.100.213 (another linux
server) with another interface 192.168.30.0/24

from network 192.168.30.0/24 I can ping 192.168.100.212 and works with
samba shares (but only using numeric IP)

I don't see any computers from windows machines.

nbtstat doesn't find any host (host not found)

nbtstat -a name_of_samba
host not found

nbtstat -A 192.168.100.212

Do I need to create a routing of broadcast address? or what?

Any idea?

thanks for help!

thanks!
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Gaiseric Vandal
2016-08-03 17:34:45 UTC
Permalink
If you use have a wins server , then all machines can be configured as
wins clients, even if not on the same subnet.

But even if you can't browser for servers, you can still connect to then
if you know the host name or ip.
Post by Pol Hallen
Hi all
I've a samba server listen on eth0 (everything ok) and eth2
server1 has eth2: 192.168.100.212 <--> 192.168.100.213 (another linux
server) with another interface 192.168.30.0/24
from network 192.168.30.0/24 I can ping 192.168.100.212 and works with
samba shares (but only using numeric IP)
I don't see any computers from windows machines.
nbtstat doesn't find any host (host not found)
nbtstat -a name_of_samba
host not found
nbtstat -A 192.168.100.212
Do I need to create a routing of broadcast address? or what?
Any idea?
thanks for help!
thanks!
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Pol Hallen
2016-08-03 18:16:57 UTC
Permalink
Also add wins server from advanced tcp/ip I can't browsing samba server :-/
Post by Gaiseric Vandal
If you use have a wins server , then all machines can be configured as
wins clients, even if not on the same subnet.
Exaclty! I don't see any samba server from browsing list but I can connect
with netbios and ip.

So, why I can't see any samba server from browser list?
Post by Gaiseric Vandal
But even if you can't browser for servers, you can still connect to then
if you know the host name or ip.
thanks!
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Gaiseric Vandal
2016-08-03 19:11:00 UTC
Permalink
I stand corrected

WINS is to support looking up of netbios names to IP. If DNS is
setup, you usually don't need it for accessing network shares. If you
have configured samba in a domain model, WINS would help clients locate
the DC.

For browsing between subnets you probably want the "remote browse sync"
feature (see the man page on smb.conf.) I haven't used it. I think it
isn't worth the work.


If a domain model, a logon script usually maps drive letters to key shares.
Post by Pol Hallen
Also add wins server from advanced tcp/ip I can't browsing samba server :-/
Post by Gaiseric Vandal
If you use have a wins server , then all machines can be configured as
wins clients, even if not on the same subnet.
Exaclty! I don't see any samba server from browsing list but I can connect
with netbios and ip.
So, why I can't see any samba server from browser list?
Post by Gaiseric Vandal
But even if you can't browser for servers, you can still connect to then
if you know the host name or ip.
thanks!
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Pol Hallen
2016-08-03 19:20:59 UTC
Permalink
Understood!

many many thanks boy ;-)

Pol
Post by Gaiseric Vandal
WINS is to support looking up of netbios names to IP. If DNS is
setup, you usually don't need it for accessing network shares. If you
have configured samba in a domain model, WINS would help clients locate
the DC.
For browsing between subnets you probably want the "remote browse sync"
feature (see the man page on smb.conf.) I haven't used it. I think it
isn't worth the work.
If a domain model, a logon script usually maps drive letters to key shares.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
L.P.H. van Belle
2016-08-04 07:05:05 UTC
Permalink
Some side notes on this one.
Post by Gaiseric Vandal
WINS is to support looking up of netbios names to IP
Yes, but only if the hostname is 15 of less characters.

I normaly set this on one server.. ( !!!! ONLY ONE SERVER !!! )
and last time i check, do this on a member server, i lost track if
wins support works on an AD DC samba server.
( someone, correct if im wrong here. )

wins support = yes
dns proxy = yes ( default yes )

Now wins will also lookup in dns, which i personaly like.
And is preffered also by MS.
Post by Gaiseric Vandal
If a domain model, a logon script usually maps drive letters to key
shares.
Use Group policies. It saves you hassle with scripts, but thats a choice.
I dont have any script anymore for the domain login, only 1 vb script for importing certificates based on group memberships, but through GPO.


Good article to read.
http://www.techrepublic.com/article/how-netbios-name-resolution-really-works/



Greetz,

Louis
Post by Gaiseric Vandal
-----Oorspronkelijk bericht-----
Verzonden: woensdag 3 augustus 2016 21:11
Onderwerp: Re: [Samba] netbios and interfaces
I stand corrected
WINS is to support looking up of netbios names to IP. If DNS is
setup, you usually don't need it for accessing network shares. If you
have configured samba in a domain model, WINS would help clients locate
the DC.
For browsing between subnets you probably want the "remote browse sync"
feature (see the man page on smb.conf.) I haven't used it. I think it
isn't worth the work.
If a domain model, a logon script usually maps drive letters to key
shares.
Post by Pol Hallen
Also add wins server from advanced tcp/ip I can't browsing samba server
:-/
Post by Pol Hallen
Post by Gaiseric Vandal
If you use have a wins server , then all machines can be configured as
wins clients, even if not on the same subnet.
Exaclty! I don't see any samba server from browsing list but I can
connect
Post by Pol Hallen
with netbios and ip.
So, why I can't see any samba server from browser list?
Post by Gaiseric Vandal
But even if you can't browser for servers, you can still connect to
then
Post by Pol Hallen
Post by Gaiseric Vandal
if you know the host name or ip.
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
Pol Hallen
2016-08-03 18:18:01 UTC
Permalink
When you say 'samba server', what sort of Samba server ?
simple file server
PS Do you have to use that email domain, I find it offensive.
Don't think so.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Continue reading on narkive:
Loading...