[Samba] Autogenerating of operatingSystem and operatingSystemVersion attributes in AD

Gerald (Jerry) Carter jerry at samba.org
Mon Feb 12 13:09:22 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rashid,

> When Samba joins to AD, net creates 'Computer' object in 
> target AD.  Object 'Computer' has attributes operatingSystem
> and operatingSystemVersion,  which automatically setup
> in properly value, when native Windows join to AD.
> I offer a patch to utils/net_ads.c to do similar way - 
> set up operatingSystem to "Samba" and operatingSystemVersion
> to Samba version, when Samba joins AD

The problem with this patch and the reason we don't set
these attributes any more is that you cannot be guaranteed
to have permission unless you are a domain admin.
If you can find a way to do this via RPC, that would
probably be a better solution.




cheers,jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0GcCIR7qMdg1EfYRAhWPAJ9Xpv+dLSlbO+0fpVDzE0DvYBhQlACfagxF
SqDxyM00unpNDu5nWZECf1I=
=n3Fg
-----END PGP SIGNATURE-----


More information about the samba mailing list