[PATCH 1/2] Set os attribute and version during domain join

Andrew Bartlett abartlet at samba.org
Mon Mar 26 06:01:40 GMT 2007


On Thu, 2007-03-22 at 08:48 -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> simo wrote:
> > On Thu, 2007-03-22 at 23:56 +1100, Luke Howard wrote:
> >>> Luke, I don't see any places in our IDL for this RPC that
> >>> the AD DC would get the information from.  Care to
> >>> expand a little?  Are you saying that NetrLogonGetDomainInfo()
> >>> is the trigger that causes the DC to update the attribbutes
> >>> but not necessarily is where the AD DC gets the values from?
> >> I haven't studied this closely, but if you look at:
> >>
> >> http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/branches/SAMBA_4_0/source/librpc/idl/netlogon.idl?rev=21403&view=markup
> >>
> >> there is a "product" field in netr_DomainQuery1. I'm not sure
> >> where the version and service pack comes from though. Time to
> >> study some packet traces!
> > 
> > Unless I am blind (which happens at times) I don;t see that call in the
> > NT Server traces .. does NT joins/logins update AD ?
> 
> No.  But then again you don't get the service pack information
> either so there might just be some fallover here for older clients.
> I still think Luke's suggestion is work investigating.

For ages, Samba was being marked as NT4, because we didn't set the right
flags in the auth2 code in netlogon.  When we matched Win2k3, we started
being able to keep the 'Samba' OS string that we were setting with LDAP
in the old join code.   (Being marked/blacklisted as NT4 broke other
things too).

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070326/65001f79/attachment.bin


More information about the samba-technical mailing list