Patch attached.

Martin Basti

From b393e37d3e749f17d96e6d9272cc08dc9690e4ff Mon Sep 17 00:00:00 2001
From: Martin Basti <>
Date: Fri, 22 May 2015 17:43:54 +0200
Subject: [PATCH] ULC: fix: upgrade for stage Stage User Admins failed

Upgrade failed because entry 'dn: cn=Stage User
Administrators,cn=privileges,cn=pbac,$SUFFIX' doesnt exist.

Now upgrade will create the privilege if it does not exist.
 install/updates/45-roles.update | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/install/updates/45-roles.update b/install/updates/45-roles.update
index eb50e2b9c8c10b84dfc82782ea52f8a8534e862d..dd4549f3141113d559fa1ef994b0d5abab2aa197 100644
--- a/install/updates/45-roles.update
+++ b/install/updates/45-roles.update
@@ -29,6 +29,11 @@ dn: cn=Group Administrators,cn=privileges,cn=pbac,$SUFFIX
 add: member: cn=User Administrator,cn=roles,cn=accounts,$SUFFIX
 dn: cn=Stage User Administrators,cn=privileges,cn=pbac,$SUFFIX
+default:objectClass: groupofnames
+default:objectClass: nestedgroup
+default:objectClass: top
+default:cn: Stage User Administrators
+default:description: Stage User Administrators
 add: member: cn=User Administrator,cn=roles,cn=accounts,$SUFFIX
 dn: cn=IT Specialist,cn=roles,cn=accounts,$SUFFIX

Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA:

Reply via email to