upgradeprovision --full fails to find CN=NTDS Settings
esiotrot at gmail.com
Tue Jan 3 15:26:45 MST 2012
On 3 January 2012 23:39, Michael Wood <esiotrot at gmail.com> wrote:
> I notice that it still complains about not being able to set ACLs on
> policy-related objects.
> Unable to set ACLs on policies related objects: an integer is required
I got it to print a traceback:
Traceback (most recent call last):
line 635, in update_gpo
names.domainsid, names.dnsdomain, names.domaindn, lp)
line 1367, in setsysvolacl
os.chown(sysvol, -1, gid)
TypeError: an integer is required
This happens because names.wheel_gid is passed to setsysvolacl as the
GID, but this is an ldb.MessageElement(['4']) instead of an integer,
so os.chown chokes on it.
Using int(list(names.wheel_gid)) instead gets around it.
Michael Wood <esiotrot at gmail.com>
More information about the samba-technical