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

Jeremy Allison jra at samba.org
Fri Mar 16 17:16:47 GMT 2007


On Fri, Mar 16, 2007 at 12:14:21PM -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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?

Sounds useful to me - why wouldn't admins want to
set these ?

Jeremy.


More information about the samba-technical mailing list