summaryrefslogtreecommitdiffstats
path: root/install/updates
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-01-08 04:10:35 -0500
committerMartin Kosek <mkosek@redhat.com>2013-03-11 17:07:07 +0100
commit91606e6679f3a18b1c1789efd240eed982a563d4 (patch)
treea002e8fbc837058f6c1d9178cbefadcd03b7d6f2 /install/updates
parent8d432353cc1e66b235e928650764f879c24d19f7 (diff)
downloadfreeipa-91606e6679f3a18b1c1789efd240eed982a563d4.tar.gz
freeipa-91606e6679f3a18b1c1789efd240eed982a563d4.tar.xz
freeipa-91606e6679f3a18b1c1789efd240eed982a563d4.zip
Change DNA magic value to -1 to make UID 999 usable
Change user-add's uid & gid parameters from autofill to optional. Change the DNA magic value to -1. For old clients, which will still send 999 when they want DNA assignment, translate the 999 to -1. This is done via a new capability, optional_uid_params. Tests included https://fedorahosted.org/freeipa/ticket/2886
Diffstat (limited to 'install/updates')
-rw-r--r--install/updates/20-dna.update10
1 files changed, 10 insertions, 0 deletions
diff --git a/install/updates/20-dna.update b/install/updates/20-dna.update
index b83a3703d..04047dd12 100644
--- a/install/updates/20-dna.update
+++ b/install/updates/20-dna.update
@@ -1,3 +1,13 @@
# Enable the DNA plugin
dn: cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config
only:nsslapd-pluginEnabled: on
+
+# Change the magic value to -1
+dn: cn=Posix IDs,cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config
+only:dnaMagicRegen: -1
+
+dn: cn=ipa-winsync,cn=plugins,cn=config
+remove:ipaWinSyncUserAttr: uidNumber 999
+remove:ipaWinSyncUserAttr: gidNumber 999
+add:ipaWinSyncUserAttr: uidNumber -1
+add:ipaWinSyncUserAttr: gidNumber -1