summaryrefslogtreecommitdiffstats
path: root/install/updates
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-05-16 12:56:04 +0200
committerMartin Kosek <mkosek@redhat.com>2011-05-25 08:39:47 +0200
commitdea578a357b2ebc68f56ef31f841cfe056f73303 (patch)
treed82e154c7189e308ff5e762b2c5839653a60fedd /install/updates
parent544c826682d8915ad740500555f47f0b459e7ae3 (diff)
downloadfreeipa-dea578a357b2ebc68f56ef31f841cfe056f73303.zip
freeipa-dea578a357b2ebc68f56ef31f841cfe056f73303.tar.gz
freeipa-dea578a357b2ebc68f56ef31f841cfe056f73303.tar.xz
A new flag to disable creation of UPG
Automatic creation may of User Private Groups (UPG) may not be wanted at all times. This patch adds a new flag --noprivate to ipa user-add command to disable it. https://fedorahosted.org/freeipa/ticket/1131
Diffstat (limited to 'install/updates')
-rw-r--r--install/updates/50-suppress-upg.update2
-rw-r--r--install/updates/Makefile.am1
2 files changed, 3 insertions, 0 deletions
diff --git a/install/updates/50-suppress-upg.update b/install/updates/50-suppress-upg.update
new file mode 100644
index 0000000..42e4257
--- /dev/null
+++ b/install/updates/50-suppress-upg.update
@@ -0,0 +1,2 @@
+dn: cn=UPG Definition,cn=Managed Entries,cn=plugins,cn=config
+replace: originFilter:objectclass=posixAccount:(&(objectclass=posixAccount)(!(description=__no_upg__)))
diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am
index c9d1584..eb864b6 100644
--- a/install/updates/Makefile.am
+++ b/install/updates/Makefile.am
@@ -17,6 +17,7 @@ app_DATA = \
45-roles.update \
50-lockout-policy.update \
50-groupuuid.update \
+ 50-suppress-upg.update \
$(NULL)
EXTRA_DIST = \