[Samba] Autogenerating of operatingSystem
and operatingSystemVersion attributes in AD
idra at samba.org
Mon Feb 12 13:37:58 GMT 2007
On Mon, 2007-02-12 at 07:09 -0600, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> > 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.
Gerry, can;t we just 'try' to do optional stuff and simply gracefully
fail (ignore) if we are not admin?
Samba Team GPL Compliance Officer
email: idra at samba.org
More information about the samba