Re: [Samba] Samba WINS Questions

2006-06-28 Thread Vincent Fonteneau

Hi,

First, I know about public IP addresses 193 and 194, i'm just using it 
for tests before the final solution


Then adding static entries in the wins.dat file is possible of course 
it's discribe in the samba's doc. By the way when you configure samba 
PDC and BDC with Wins server and Wins client, the wins.dat goes 
automaticaly with the line 2 and 3 of BDC1 wins.dat. I know then this is 
samba which done it.


The problem come from the architecture. I've many sites which need Wins 
server localy 'cause of windows's softs. When configuring smb.conf and 
running smbd/nmbd then DBC are unable to join the DMB. I finaly goes 
with BDC which are subnet LMB but unable to send netbios informations to 
synchronize Wins. This could be verify by looking at the moment in 
wins.dat BDC server. I can see my BDC as domain controleur for the 
subnet but no information about PDC and setting log level = 9 show in 
log.nmbd : DMB UNKNOW...


Maybe it possible that i've missed something in Wins proccesses

I'm going to investiguate one more time

thank for help

Vincent


On Tue, 27 Jun 2006, Vincent Fonteneau wrote:


Finaly WINS problem solved,



I'm not so sure.  The WINS server is supposed to maintain a
dynamic database that is updated every time some NetBIOS names
are registered or deregistered on the network.  Just stuffing
data into the databases like that isn't likely to really
work properly.

WINS replication is used (but I don't know if I can use the 
expression replication) by entering new parameters in 
/var/lib/samba/wins.dat before starting smb daemon


on BDC1 the wins.dat should goes with :
MYDOMAIN#00 1151663528 255.255.255.255 e4R
MYDOMAIN#1b 1151589720 192.168.2.71 64R
MYDOMAIN#1c 1151663528 192.168.2.71 193.168.2.71 e4R
MYDOMAIN#1e 1151663528 255.255.255.255 e4R
MYPDC#00 1151589720 192.168.2.71 66R
MYPDC#03 1151589720 192.168.2.71 66R
MYPDC#20 1151589720 192.168.2.71 66R
MYBDC1#00 1151663528 193.168.2.71 66R
MYBDC1#03 1151663528 193.168.2.71 66R
MYBDC1#20 1151663528 193.168.2.71 66R
MYBDC2#00 1151663528 194.168.2.71 66R
MYBDC2#03 1151663528 194.168.2.71 66R
MYBDC2#20 1151663528 194.168.2.71 66R

on PDC the wins.dat should goes with :
MYDOMAIN#00 1151663528 255.255.255.255 e4R
MYDOMAIN#1b 1151589720 192.168.2.71 64R
MYDOMAIN#1c 1151663528 192.168.2.71 193.168.2.71 194.168.2.71 e4R
MYDOMAIN#1e 1151663528 255.255.255.255 e4R
MYPDC#00 1151589720 192.168.2.71 66R
MYPDC#03 1151589720 192.168.2.71 66R
MYPDC#20 1151589720 192.168.2.71 66R
MYBDC1#00 1151663528 193.168.2.71 66R
MYBDC1#03 1151663528 193.168.2.71 66R
MYBDC1#20 1151663528 193.168.2.71 66R
MYBDC2#00 1151663528 194.168.2.71 66R
MYBDC2#03 1151663528 194.168.2.71 66R
MYBDC2#20 1151663528 194.168.2.71 66R



That should be pretty good until Thu Jun 29 14:02:00 2006 (UTC)
when the entries with the timestamp 1151589720 will expire.
If you're going to hardcode data into WINS, at least read the
documentation on how to do that:

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html#id2554221 



Of course, I still recommend that you don't try to force
software to do replication when it wasn't designed to do that.

  - Logan



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


Re: [Samba] Samba WINS Questions

2006-06-27 Thread Vincent Fonteneau

Finaly WINS problem solved,

WINS replication is used (but I don't know if I can use the expression 
replication) by entering new parameters in /var/lib/samba/wins.dat 
before starting smb daemon


on BDC1 the wins.dat should goes with :
MYDOMAIN#00 1151663528 255.255.255.255 e4R
MYDOMAIN#1b 1151589720 192.168.2.71 64R
MYDOMAIN#1c 1151663528 192.168.2.71 193.168.2.71 e4R
MYDOMAIN#1e 1151663528 255.255.255.255 e4R
MYPDC#00 1151589720 192.168.2.71 66R
MYPDC#03 1151589720 192.168.2.71 66R
MYPDC#20 1151589720 192.168.2.71 66R
MYBDC1#00 1151663528 193.168.2.71 66R
MYBDC1#03 1151663528 193.168.2.71 66R
MYBDC1#20 1151663528 193.168.2.71 66R
MYBDC2#00 1151663528 194.168.2.71 66R
MYBDC2#03 1151663528 194.168.2.71 66R
MYBDC2#20 1151663528 194.168.2.71 66R

on BDCs the wins.dat should goes with :
MYDOMAIN#00 1151663528 255.255.255.255 e4R
MYDOMAIN#1b 1151589720 192.168.2.71 64R
MYDOMAIN#1c 1151663528 192.168.2.71 193.168.2.71 194.168.2.71 e4R
MYDOMAIN#1e 1151663528 255.255.255.255 e4R
MYPDC#00 1151589720 192.168.2.71 66R
MYPDC#03 1151589720 192.168.2.71 66R
MYPDC#20 1151589720 192.168.2.71 66R
MYBDC1#00 1151663528 193.168.2.71 66R
MYBDC1#03 1151663528 193.168.2.71 66R
MYBDC1#20 1151663528 193.168.2.71 66R
MYBDC2#00 1151663528 194.168.2.71 66R
MYBDC2#03 1151663528 194.168.2.71 66R
MYBDC2#20 1151663528 194.168.2.71 66R

Then restarting PDC and all BDCs and looking to the log.nmbd. After few 
seconds I could see in the browse.dat and wins.dat all the network goes up.
Finaly, by take a look to the network neighborhood, I can see all the 
computers from MYDOMAIN even if subnets are differents.


I could use one Wins server a site and then according all Wins with PDC.

Vincent


Maybe Samba4Wins could be used?
http://enterprisesamba.org/index.php?id=88

Cheers, henrik
26 jun 2006 kl. 21:23 skrev Logan Shaw:


On Mon, 26 Jun 2006, Vincent Fonteneau wrote:

I'm using Samba 3.0.21c with PDC and severals BDC in different  
subnets.


I'm triing to use Wins servers on all the BDC servers and on the  
PDC. The problems occurs in the network browsing.



Hopefully someone will correct me if I'm wrong (please...),
but as far as I know, the only valid WINS configuration is to
have exactly one WINS server for a given domain.  WINS servers
can't sync, so if you have more than one, you would have two
different, inconsistent view of the NetBIOS names available
within the domain.

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





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


Re: [Samba] Samba WINS Questions

2006-06-27 Thread Logan Shaw

On Tue, 27 Jun 2006, Vincent Fonteneau wrote:

Finaly WINS problem solved,


I'm not so sure.  The WINS server is supposed to maintain a
dynamic database that is updated every time some NetBIOS names
are registered or deregistered on the network.  Just stuffing
data into the databases like that isn't likely to really
work properly.

WINS replication is used (but I don't know if I can use the expression 
replication) by entering new parameters in /var/lib/samba/wins.dat before 
starting smb daemon


on BDC1 the wins.dat should goes with :
MYDOMAIN#00 1151663528 255.255.255.255 e4R
MYDOMAIN#1b 1151589720 192.168.2.71 64R
MYDOMAIN#1c 1151663528 192.168.2.71 193.168.2.71 e4R
MYDOMAIN#1e 1151663528 255.255.255.255 e4R
MYPDC#00 1151589720 192.168.2.71 66R
MYPDC#03 1151589720 192.168.2.71 66R
MYPDC#20 1151589720 192.168.2.71 66R
MYBDC1#00 1151663528 193.168.2.71 66R
MYBDC1#03 1151663528 193.168.2.71 66R
MYBDC1#20 1151663528 193.168.2.71 66R
MYBDC2#00 1151663528 194.168.2.71 66R
MYBDC2#03 1151663528 194.168.2.71 66R
MYBDC2#20 1151663528 194.168.2.71 66R

on BDCs the wins.dat should goes with :
MYDOMAIN#00 1151663528 255.255.255.255 e4R
MYDOMAIN#1b 1151589720 192.168.2.71 64R
MYDOMAIN#1c 1151663528 192.168.2.71 193.168.2.71 194.168.2.71 e4R
MYDOMAIN#1e 1151663528 255.255.255.255 e4R
MYPDC#00 1151589720 192.168.2.71 66R
MYPDC#03 1151589720 192.168.2.71 66R
MYPDC#20 1151589720 192.168.2.71 66R
MYBDC1#00 1151663528 193.168.2.71 66R
MYBDC1#03 1151663528 193.168.2.71 66R
MYBDC1#20 1151663528 193.168.2.71 66R
MYBDC2#00 1151663528 194.168.2.71 66R
MYBDC2#03 1151663528 194.168.2.71 66R
MYBDC2#20 1151663528 194.168.2.71 66R


That should be pretty good until Thu Jun 29 14:02:00 2006 (UTC)
when the entries with the timestamp 1151589720 will expire.
If you're going to hardcode data into WINS, at least read the
documentation on how to do that:


http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html#id2554221

Of course, I still recommend that you don't try to force
software to do replication when it wasn't designed to do that.

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


Re: [Samba] Samba WINS Questions

2006-06-27 Thread Logan Shaw

On Tue, 27 Jun 2006, Vincent Fonteneau wrote:

MYPDC#00 1151589720 192.168.2.71 66R
MYBDC1#00 1151663528 193.168.2.71 66R
MYBDC2#00 1151663528 194.168.2.71 66R


Also, I forgot to mention:  193.168.2.71 and 194.168.2.71
(note the 193 and 194) are not RFC 1918 private IP addresses.
That particular range of private IP addresses only goes from
192.168.0.0 up to 192.168.255.255.

If you want to use private addresses, there are 17,891,328
private IP addresses available, so why cause yourself (and
possibly, others) problems by using public ones?

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


[Samba] Samba WINS Questions

2006-06-26 Thread Vincent Fonteneau

Hi,

I'm using Samba 3.0.21c with PDC and severals BDC in different subnets.

I'm triing to use Wins servers on all the BDC servers and on the PDC. 
The problems occurs in the network browsing.
I'm able to see all computers with the PDC on the different subnets but 
I just can see local servers in the network neighborhood on BDC


When starting BDC i've got the unable to find the domain master 
message log error. I've tried the remote annouce and remote browse sync 
option without success.


The Samba's docs show how to configure DMB and LMB with domain master 
option. Is it possible to get DMB from different machine than the PDC ? 
When putting Domain master = no the server is automatically BDC in the 
network. I've configured PDC and then while see the log.nmbd i can see 
that PDC goes first as the domain master and after few secondes came 
with Local master. Is it normal ? The PDC runs with Os level = 255 and 
BDC with 248. Local master option is yes on all servers.


Remote announce and remote brose sync are options to synchronize LMB 
with others LMB, and not DMB is it right ?


How to synchronize all Wins server (PDC to all BDC) on different subnets 
when I want to go with one wins server per site and is it possible ? I 
understand now that wins is using to pass routers when triing to send 
netbios informations between subnets, and i'm afraid that PDC and BDC 
can't communicate both without configuring one wins server option on one 
server and wins client on the others servers ???


Thanks for help

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


Re: [Samba] Samba WINS Questions

2006-06-26 Thread Logan Shaw

On Mon, 26 Jun 2006, Vincent Fonteneau wrote:

I'm using Samba 3.0.21c with PDC and severals BDC in different subnets.

I'm triing to use Wins servers on all the BDC servers and on the PDC. The 
problems occurs in the network browsing.


Hopefully someone will correct me if I'm wrong (please...),
but as far as I know, the only valid WINS configuration is to
have exactly one WINS server for a given domain.  WINS servers
can't sync, so if you have more than one, you would have two
different, inconsistent view of the NetBIOS names available
within the domain.

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


Re: [Samba] Samba WINS Questions

2006-06-26 Thread Henrik Zagerholm

Maybe Samba4Wins could be used?
http://enterprisesamba.org/index.php?id=88

Cheers, henrik
26 jun 2006 kl. 21:23 skrev Logan Shaw:


On Mon, 26 Jun 2006, Vincent Fonteneau wrote:
I'm using Samba 3.0.21c with PDC and severals BDC in different  
subnets.


I'm triing to use Wins servers on all the BDC servers and on the  
PDC. The problems occurs in the network browsing.


Hopefully someone will correct me if I'm wrong (please...),
but as far as I know, the only valid WINS configuration is to
have exactly one WINS server for a given domain.  WINS servers
can't sync, so if you have more than one, you would have two
different, inconsistent view of the NetBIOS names available
within the domain.

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


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