Dne 19.5.2015 v 15:22 Tomas Babej napsal(a):
On 05/14/2015 11:48 AM, Jan Cholasta wrote:
Dne 14.5.2015 v 11:00 Tomas Babej napsal(a):
this patch implements the domain level feature.
+# Create entry proclaiming Domain Level support of this master
+# This will update the supported Domain Levels during upgrade
+dn: cn=Domain Level support,cn=$FQDN,cn=masters,cn=ipa,cn=etc,$SUFFIX
+default: objectClass: top
+default: objectClass: nsContainer
+default: objectClass: ipaConfigObject
+default: objectClass: ipaSupportedDomainLevelConfig
+only: ipaMinDomainLevel: $MIN_DOMAIN_LEVEL
+only: ipaMaxDomainLevel: $MAX_DOMAIN_LEVEL
The design states that supported domain levels should be stored
directly in cn=$FQDN,cn=masters,cn=ipa,cn=etc,$SUFFIX and I agree with
that - there is no reason to have this information in a separate entry.
I agree, this is an error on my part - I read the design as stored in
entry under cn=$FQDN,cn=masters, not in the entry itself.
Maybe we can also rename ipaSupportedDomainLevelConfig to ipaMaster?
2) I though we agreed to call the command domainlevel-set instead of
3) Domain level is just a single integer and it should be treated as
such, there's no need for an LDAPObject plugin and other unnecessary
complexities. The implemetation could be as simple as (from top of my
That's right, I also considered this approach, but as far as I know you
do not get the permission handling for the global DomainLevel entry
The proper thing to do in such cases is to add the permissions to
Ludwig, I changed the path for the global entry to cn=DomainLevel.
Updated patch attached.
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code