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

Gerald (Jerry) Carter jerry at samba.org
Fri Mar 16 17:14:21 GMT 2007


-----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?




cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF+tBtIR7qMdg1EfYRAn9iAJ9D3H1r55hg86lzmyEmnzN7W9fAtwCbB4+2
nc79WP9IP0wZHFO7dZ9t2fE=
=wqWz
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list