summaryrefslogtreecommitdiffstats
path: root/install/share
diff options
context:
space:
mode:
Diffstat (limited to 'install/share')
-rw-r--r--install/share/bootstrap-template.ldif10
-rw-r--r--install/share/dna-posix.ldif4
2 files changed, 7 insertions, 7 deletions
diff --git a/install/share/bootstrap-template.ldif b/install/share/bootstrap-template.ldif
index 5c716f6a5..e98c73b07 100644
--- a/install/share/bootstrap-template.ldif
+++ b/install/share/bootstrap-template.ldif
@@ -69,8 +69,8 @@ uid: admin
krbPrincipalName: admin@$REALM
cn: Administrator
sn: Administrator
-uidNumber: 999
-gidNumber: 1001
+uidNumber: $UIDSTART
+gidNumber: $GIDSTART
homeDirectory: /home/admin
loginShell: /bin/bash
gecos: Administrator
@@ -107,7 +107,7 @@ objectClass: groupofnames
objectClass: posixgroup
cn: admins
description: Account administrators group
-gidNumber: 1001
+gidNumber: $GIDSTART
member: uid=admin,cn=users,cn=accounts,$SUFFIX
nsAccountLock: False
@@ -118,7 +118,7 @@ objectClass: groupofnames
objectClass: nestedgroup
objectClass: ipausergroup
objectClass: posixgroup
-gidNumber: 1002
+gidNumber: eval($GIDSTART+1)
description: Default group for all users
cn: ipausers
@@ -127,7 +127,7 @@ changetype: add
objectClass: top
objectClass: groupofnames
objectClass: posixgroup
-gidNumber: 1003
+gidNumber: eval($GIDSTART+2)
description: Limited admins who can edit other users
cn: editors
diff --git a/install/share/dna-posix.ldif b/install/share/dna-posix.ldif
index 6b5cef8cc..e255bb27a 100644
--- a/install/share/dna-posix.ldif
+++ b/install/share/dna-posix.ldif
@@ -6,7 +6,7 @@ objectclass: top
objectclass: extensibleObject
cn: Posix Accounts
dnaType: uidNumber
-dnaNextValue: 1100
+dnaNextValue: eval($UIDSTART+1)
dnaInterval: 1
dnaMaxValue: 1000000000
dnaMagicRegen: 999
@@ -21,7 +21,7 @@ objectclass: top
objectclass: extensibleObject
cn: Posix Groups
dnaType: gidNumber
-dnaNextValue: 1100
+dnaNextValue: eval($GIDSTART+3)
dnaInterval: 1
dnaMaxValue: 1000000000
dnaMagicRegen: 999