[PATCH 1/2] Set os attribute and version during domain join
Andrew Bartlett
abartlet at samba.org
Mon Mar 26 06:54:27 GMT 2007
On Fri, 2007-03-16 at 12:16 -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> [This time with the patch]
>
> ok. I admit that I'm caving on this one. This patch
> adds osname and osver options to 'net ads join' which
> sets the operatingSystemName and operatingSystemVersion
> attributes strings in the machine object. The
> operatingSystemServicePack is set to "samba %v".
>
> For example:
>
> $ net ads join osname=`uname -s` osver=`uname -r`
>
> would yield
>
> operatingSystemName: Linux
> operatingSsystemVersion: 2.6.18.6-2-gwc
> operatingsystemServicePack: Samba 3.0.25pre2-SVN-build-21792
>
> Do people want this or should I just keep it as a local
> patch?
For what it's worth, we used to set the OS attribute to 'Samba', and the
version to the Samba version, in the old join code.
As a historical note...
On Snap's GuardianOS NAS boxes, this caused some customer concern, as
they got uppity about seeing 'Samba 3.0alpha24' in their AD (the word
alpha scares folks :-), so they changed it to 'Samba for GuardianOS',
with their OS version.
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/5f36fc16/attachment.bin
More information about the samba-technical
mailing list