Win2000 Pro RC2 can't find the Domain controller
matty at cifs.org
Mon Nov 15 05:31:24 GMT 1999
On Mon, Nov 15, 1999 at 04:06:54PM +1100, Richard Sharpe wrote:
> Win2K does a quuery for Primary Domain Controller, Samba responds, but
> Win2K keeps querying.
> Anyone know what the problem is?
Our QUERYFORPDC response in nmbd/nmbd_processlogon.c is *badly* broken.
As I remember part of it is misaligned, and I think our criteria for including
the extra information is incorrect.
We tend to regurgitate the ntversion we are given. Even blind Freddie
can see that we are not a Win2k domain controller, and Win2k doesn't buy it
either. ntversion should be hardcoded everywhere (= 1 I think).
We need to send an RPC fault on invalid opcode.
That should be just about it to get Win2k to join a Samba domain. If anyone
feels like fixing any of this then please do; I won't be available in this
universe until mid next week.
Matthew "Austin" Chapman
SysAdmin, Developer, Samba Team Member
More information about the samba-technical