Hi there, I need advice regarding wins settings. I am running two samba servers on the same subnet in a multi-subnetted network. They are connected to a LDAP backend. One of them is supposed to be the PDC and the other one should act as BDC. The question is how the clients on the other subnets should find the BDC if the PDC is down if only one of them has wins support = yes set as suggested in the manpage for smb.conf ("Note that you should NEVER set this to yes on more than one machine in your network"). The only combination that has been working so far is to give the clients both servers as wins server via dhcp and enable wins support on both. If only the PDC has wins support = yes and only the pdc is being announced to the clients as wins server they refuse domain logons if the PDC is down saying that there is no logon server available. What am I missing ? If I understand correctly the clients in the subnets will elect a local master browser for each subnet which turns to the wins server to sync the browselist. But what if the wins server (PDC) is down ? How will the clients find the BDC ? Regards, Stephan -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zur?ck-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
From: steffo76 at gmx.de Date: Tue, 13 Sep 2011 17:17:23 +0200 (snip)> The question is how the clients > on the other subnets should find the BDC if the PDC is down if only > one of them has wins support = yes set as suggested in the manpage > for smb.conf.As you would understand, WINS server implementation of Samba lacks the function of replication, which means no redundancy. Unfortunately, there is no smart way to resolve that: 1) using samba4wins or WINS server on Windows server which can replicate their WINS database to each other. 2) using LMHOSTS file 3) using one of some hand-made replication solutions: I know 2 solutions in Japan. Both use "wins hook" parameter. - http://www.osstech.co.jp/techinfo/samba/wins-push - http://wiki.samba.gr.jp/mediawiki/index.php?title=WINS-replication If you are interested in them, I will translate them in English. --- TAKAHASHI Motonobu <monyo at samba.gr.jp>
Am Donnerstag, den 15.09.2011, 08:26 +0900 schrieb TAKAHASHI Motonobu:> From: steffo76 at gmx.de > Date: Tue, 13 Sep 2011 17:17:23 +0200 > > (snip) > > > The question is how the clients > > on the other subnets should find the BDC if the PDC is down if only > > one of them has wins support = yes set as suggested in the manpage > > for smb.conf. > > As you would understand, WINS server implementation of Samba lacks the > function of replication, which means no redundancy. > > Unfortunately, there is no smart way to resolve that: > > 1) using samba4wins or WINS server on Windows server > which can replicate their WINS database to each other. > 2) using LMHOSTS file > 3) using one of some hand-made replication solutions: > I know 2 solutions in Japan. Both use "wins hook" parameter. > - http://www.osstech.co.jp/techinfo/samba/wins-push > - http://wiki.samba.gr.jp/mediawiki/index.php?title=WINS-replication > > If you are interested in them, I will translate them in English.Thanks, I used an automatic translator for this task and had a lot of fun reading ;-) I tried wins-push and samba4wins and decided to go with wins-push since it is much less hassle.
Am Donnerstag, den 15.09.2011, 08:26 +0900 schrieb TAKAHASHI Motonobu:> From: steffo76 at gmx.de > Date: Tue, 13 Sep 2011 17:17:23 +0200 > > (snip) > > > The question is how the clients > > on the other subnets should find the BDC if the PDC is down if only > > one of them has wins support = yes set as suggested in the manpage > > for smb.conf. > > As you would understand, WINS server implementation of Samba lacks the > function of replication, which means no redundancy. > > Unfortunately, there is no smart way to resolve that: > > 1) using samba4wins or WINS server on Windows server > which can replicate their WINS database to each other. > 2) using LMHOSTS file > 3) using one of some hand-made replication solutions: > I know 2 solutions in Japan. Both use "wins hook" parameter. > - http://www.osstech.co.jp/techinfo/samba/wins-push > - http://wiki.samba.gr.jp/mediawiki/index.php?title=WINS-replication > > If you are interested in them, I will translate them in English.Thanks, I used an automatic translator for this task and had a lot of fun reading ;-) I tried wins-push and samba4wins and decided to go with wins-push since it is much less hassle.