Re: [Samba] NetBIOS across subnets

2005-01-18 Thread Tomasz Chmielewski
Misty Stanley-Jones wrote:
On Tuesday 18 January 2005 10:49, Tomasz Chmielewski wrote:
In my opinion, it is wrong.
On one server, set:
wins support = yes
On the other:
wins server = 192.168.5.2  # (IP of the first one)
wins proxy = yes

I did this, and I think it MIGHT have worked.  Not sure.  I get this:
oink:/usr/local/samba/var/locks # net rpc trustdom establish furn
Password:
Could not connect to server FURNSRV
Trust to domain FURN established
urnsrv:/usr/local/samba/var/locks # net rpc trustdom establish corp
Password:
Could not connect to server CORPSRV
Trust to domain CORP established
How in the world do I know if it worked or not.  Going to check it now.  
Either way those errors certainly are sending mixed signals.

It only will let me connect as a guest.  I don't know if that's the expected 
behavior -- need to read more.  The more important this is being able to join 
a domain on a different subnet, as that is what needs to happen when I 
combine the two domains into one.

don't know about joining a domain from another network - never tried.
I only tried joining the same domain (although in a different network).
This is how it works for me:
In the "Network neighbourhood" of your windows machine you should see 
hosts from both networks.

smbclient -L server should list hosts from each network.
Another problem you might have is too restrictive firewall between the 
two subnets - you will see the hosts, will be able to browse, but won't 
be able to join the domain.

Tomek
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] NetBIOS across subnets

2005-01-18 Thread Misty Stanley-Jones
On Tuesday 18 January 2005 10:49, Tomasz Chmielewski wrote:
>
> In my opinion, it is wrong.
>
> On one server, set:
>
> wins support = yes
>
> On the other:
>
>
> wins server = 192.168.5.2  # (IP of the first one)
> wins proxy = yes

I did this, and I think it MIGHT have worked.  Not sure.  I get this:
oink:/usr/local/samba/var/locks # net rpc trustdom establish furn
Password:
Could not connect to server FURNSRV
Trust to domain FURN established

urnsrv:/usr/local/samba/var/locks # net rpc trustdom establish corp
Password:
Could not connect to server CORPSRV
Trust to domain CORP established

How in the world do I know if it worked or not.  Going to check it now.  
Either way those errors certainly are sending mixed signals.

It only will let me connect as a guest.  I don't know if that's the expected 
behavior -- need to read more.  The more important this is being able to join 
a domain on a different subnet, as that is what needs to happen when I 
combine the two domains into one.

Misty

>
>
> Tomek
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] NetBIOS across subnets

2005-01-18 Thread Tomasz Chmielewski
Tomasz Chmielewski wrote:
 > Currently 192.168.1.x is the CORP domain. Samba PDC is acting as the 
WINS server.
 >
 > 192.168.2.x is the FURN server, and its Samba PDC is acting as its 
WINS server.

In my opinion, it is wrong.
On one server, set:
wins support = yes
On the other:
wins server = 192.168.5.2  # (IP of the first one)
wins proxy = yes
you will also have to allow certain hosts/subnets on each server:
hosts allow = 192.168.0. 192.168.5.2 127.0.0.1
Tomek
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] NetBIOS across subnets

2005-01-18 Thread Tomasz Chmielewski
Misty Stanley-Jones wrote:
> Hi all,
>
> I would like two Samba servers to be able to talk to each other via 
NetBIOS.  The problem is that they are on two different subnets.  I have 
enabled broadcast ping on the routers, and the servers can each ping the 
other subnet with no trouble.  The two relevant IPs are 192.168.1.101 
and 192.168.2.3.  There is a T1 between two Cisco routers, and IP 
routing is all set up.
> Currently 192.168.1.x is the CORP domain. Samba PDC is acting as the 
WINS server.
>
> 192.168.2.x is the FURN server, and its Samba PDC is acting as its 
WINS server.

In my opinion, it is wrong.
On one server, set:
wins support = yes
On the other:
wins server = 192.168.5.2  # (IP of the first one)
wins proxy = yes
Tomek
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] NetBIOS across subnets

2005-01-18 Thread Misty Stanley-Jones
Hi all,

I would like two Samba servers to be able to talk to each other via NetBIOS.  
The problem is that they are on two different subnets.  I have enabled 
broadcast ping on the routers, and the servers can each ping the other subnet 
with no trouble.  The two relevant IPs are 192.168.1.101 and 192.168.2.3.  
There is a T1 between two Cisco routers, and IP routing is all set up. 

Currently 192.168.1.x is the CORP domain. Samba PDC is acting as the WINS 
server.

192.168.2.x is the FURN server, and its Samba PDC is acting as its WINS 
server.

My Windows systems in CORP can browse to the FURN domain and see systems in 
it.

My Windows systems in FURN can browse to the CORP domain but can't see any 
systems in it.

Neither of my PDCs can see the other, so they cannot establish a trust.

Relevant settings for CORP PDC are:
wins support = yes
os level = 100
preferred master = yes
domain master = yes
remote announce = 192.168.2.255/CORP
remote browse sync = 192.168.2.255
name resolve order = bcast wins lmhosts host  (there is no lmhosts or host)
allow trusted domains = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Relevant settings for FURN PDC are:
os level = 99
dns proxy = Yes
wins support = Yes
wins proxy = Yes
os level = 100
preferred master = yes
domain master = yes
local master = yes
remote announce = 192.168.1.255/FURN
remote browse sync = 192.168.1.255
# I put this one in to try to get it to "hear" the other server's broadcasts 
-- did not work 
   interfaces = 127.0.0.1 192.168.2.3/255.255.0.0
name resolve order = bcast wins lmhosts host
allow trusted domains = yes

Both servers are 3.0.11pre1.  Both are DHCP servers as well.  They are pushing 
out netbios server settings to the clients as follows:

CORP:
option netbios-name-servers 192.168.1.101, 192.168.2.3;
option netbios-node-type 8;

FURN:
option netbios-name-servers 192.168.2.3;
option netbios-node-type 8;

The fact that FURN is not giving out CORP as a netbios server might be 
significant why the users can't see CORP's computers, but it doesn't explain 
why the domains can't see each other.

If anybody has any information on how I can make this work I would love it.  I 
did look in "Samba 3 By Example" but it doesn't really go into the networking 
side of it at all.

Thanks,
Misty
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba