mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Add objects for initial ID range
This commit is contained in:
parent
ab6097bc6a
commit
0350b5e8a1
@ -409,3 +409,17 @@ objectClass: top
|
||||
objectClass: nsContainer
|
||||
cn: usermap
|
||||
|
||||
dn: cn=ranges,cn=etc,$SUFFIX
|
||||
changetype: add
|
||||
objectClass: top
|
||||
objectClass: nsContainer
|
||||
cn: ranges
|
||||
|
||||
dn: cn=$REALM_id_range,cn=ranges,cn=etc,$SUFFIX
|
||||
changetype: add
|
||||
objectClass: top
|
||||
objectClass: ipaIDrange
|
||||
objectClass: ipaDomainIDRange
|
||||
cn: $REALM_id_range
|
||||
ipaBaseID: $IDSTART
|
||||
ipaIDRangeSize: $IDRANGE_SIZE
|
||||
|
13
install/updates/62-ranges.update
Normal file
13
install/updates/62-ranges.update
Normal file
@ -0,0 +1,13 @@
|
||||
dn: cn=schema
|
||||
add:attributeTypes: (2.16.840.1.113730.3.8.11.33 NAME 'ipaBaseID' DESC 'First value of a Posix ID range' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'IPA v3' )
|
||||
add:attributeTypes: (2.16.840.1.113730.3.8.11.34 NAME 'ipaIDRangeSize' DESC 'Size of a Posix ID range' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'IPA v3' )
|
||||
add:attributeTypes: (2.16.840.1.113730.3.8.11.35 NAME 'ipaBaseRID' DESC 'First value of a RID range' EQUALITY integerMatch ORDERING integerOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'IPA v3' )
|
||||
add:attributeTypes: (2.16.840.1.113730.3.8.11.36 NAME 'ipaSecondaryBaseRID' DESC 'First value of a secondary RID range' EQUALITY integerMatch ORDERING integerOrderingMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'IPA v3' )
|
||||
add:objectClasses: (2.16.840.1.113730.3.8.12.15 NAME 'ipaIDrange' ABSTRACT MUST ( cn $$ ipaBaseID $$ ipaIDRangeSize ) X-ORIGIN 'IPA v3' )
|
||||
add:objectClasses: (2.16.840.1.113730.3.8.12.16 NAME 'ipaDomainIDRange' SUP ipaIDrange STRUCTURAL MAY ( ipaBaseRID $$ ipaSecondaryBaseRID ) X-ORIGIN 'IPA v3' )
|
||||
add:objectClasses: (2.16.840.1.113730.3.8.12.17 NAME 'ipaTrustedADDomainRange' SUP ipaIDrange STRUCTURAL MUST ( ipaBaseRID $$ ipaNTTrustedDomainSID ) X-ORIGIN 'IPA v3' )
|
||||
|
||||
dn: cn=ranges,cn=etc,$SUFFIX
|
||||
default: obectClass: top
|
||||
default: objectClass: nsContainer
|
||||
default: cn: ranges
|
@ -35,6 +35,7 @@ app_DATA = \
|
||||
55-pbacmemberof.update \
|
||||
60-trusts.update \
|
||||
61-trusts-s4u2proxy.update \
|
||||
62-ranges.update \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
@ -313,6 +313,7 @@ class DsInstance(service.Service):
|
||||
IDMAX=self.idmax, HOST=self.fqdn,
|
||||
ESCAPED_SUFFIX= escape_dn_chars(self.suffix.lower()),
|
||||
GROUP=DS_GROUP,
|
||||
IDRANGE_SIZE=self.idmax-self.idstart+1
|
||||
)
|
||||
|
||||
def __create_ds_user(self):
|
||||
|
Loading…
Reference in New Issue
Block a user