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

Matthew Geddes musicalcarrion at gmail.com
Wed Mar 21 17:03:50 GMT 2007


Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kenneth MacDonald wrote:
>
>   
>> Use dscl on a Mac to change the operatingSystem, 
>> operatingSystemVersion and operatingSystemServicePack
>> attributes to "foobar" on a currently bound MS Windows
>> XP client in a 2003AD.
>>
>> Rebooted the XP client.  All three attributes got reset 
>> as soon as the "Configuring network connections ..." stage
>> of the boot was complete.
>>
>> We had been worried that XP perhaps only set these 
>> attributes at join and service pack install time, but I
>> think this proves it changes it.
>>
>> Do you still want us to supply a network trace of this?
>>     
>
> Yeah I do.  I actually think that AD is setting these values
> on behalf of the client somehow.

If I can find the spare cycles, I'll try something similar and grab the 
packets.

The records do exist right after joining too, which strengthens Jerry's 
theory.

The actual strings that end up in Active Directory are found in plenty 
of SMB packets. Perhaps there's some flag we're missing somewhere that 
convinces Windows servers to update its records. Does anyone know 
whether joining a Windows NT workstation to a late Windows domain 
controller causes the records in Active Directory to be updated?


thx,
Matt



More information about the samba-technical mailing list