Re: [Samba] logon requests on the BDC

2007-09-08 Thread Thierry Lacoste
On Monday 06 August 2007 05:38, Volker Lendecke wrote:
 On Mon, Aug 06, 2007 at 10:39:14AM +1000, Andrew Bartlett wrote:
   Are there special things to do to make the BDC bias work?
   How can I troubleshoot the reason why it does not work?
 
  It has more to do with the order that the WINS server returns the
  addresses.  There were some plans to have this randomised at one point.

 That's false as well. Metze knows more, but iirc it's the
 one who answers the getdc port 138 request first.
So I guess the first address returned by the WINS server has an advantage.
If the WINS server stores DCs addresses in increasing order (as I always
observed) I suspect that there is a bias for the DC with the smallest IP.

Regards,
Thierry.

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


Re: [Samba] logon requests on the BDC

2007-08-06 Thread Thierry Lacoste
On Monday 06 August 2007 05:38, Volker Lendecke wrote:
 On Mon, Aug 06, 2007 at 10:39:14AM +1000, Andrew Bartlett wrote:
   Are there special things to do to make the BDC bias work?
   How can I troubleshoot the reason why it does not work?
 
  It has more to do with the order that the WINS server returns the
  addresses.  There were some plans to have this randomised at one point.

 That's false as well. Metze knows more, but iirc it's the
 one who answers the getdc port 138 request first.
Does the order mentioned by Andrew correspond to the order given by 
nmblookup 'mydomain#1c'?

Playing with IP adresses I noticed that on a XP client echo %LOGONSERVER%
gives me the netbios name of the DC (PDC or BDC) which has the smallest IP.
In any case nmblookup 'mydomain#1c' outputs the PDC before the BDC.

Is this behavior expected?

Regards,
Thierry.

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


Re: [Samba] logon requests on the BDC

2007-08-05 Thread Andrew Bartlett
On Sun, 2007-08-05 at 17:44 +0200, Thierry Lacoste wrote:
 From the Samba Howto:
 
  The BDC is biased to answer logon requests in preference to the PDC. On a
  network segment that has a BDC and a PDC, the BDC will most likely service
  network logon requests.

This isn't anything I've ever observed.  

 While this appear to be the case on my test network all my tests show that
 this is not true on my production network.
 AFAICS both networks have the same software configurations and on each
 network the BDC runs on the same hardware as the PDC.
 
 Are there special things to do to make the BDC bias work?
 How can I troubleshoot the reason why it does not work?

It has more to do with the order that the WINS server returns the
addresses.  There were some plans to have this randomised at one point. 

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Samba Developer, Red Hat Inc.  http://redhat.com


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] logon requests on the BDC

2007-08-05 Thread Volker Lendecke
On Mon, Aug 06, 2007 at 10:39:14AM +1000, Andrew Bartlett wrote:
  Are there special things to do to make the BDC bias work?
  How can I troubleshoot the reason why it does not work?
 
 It has more to do with the order that the WINS server returns the
 addresses.  There were some plans to have this randomised at one point. 

That's false as well. Metze knows more, but iirc it's the
one who answers the getdc port 138 request first.

Volker


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