diff --git a/samples/demo/opendj.xml b/samples/demo/opendj.xml
index 21bc214285c..4bb415266b2 100644
--- a/samples/demo/opendj.xml
+++ b/samples/demo/opendj.xml
@@ -23,6 +23,7 @@
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3"
+ xmlns:mr="http://prism.evolveum.com/xml/ns/public/matching-rule-3"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3">
@@ -436,6 +437,18 @@
+
+ [ri:ldapGroups]
+ true
+ mr:stringIgnoreCase
+ Group Membership
+ entitlement
+ group
+ objectToSubject
+ ri:uniqueMember
+ icfs:name
+ false
+
uid=idm,ou=Administrators,dc=example,dc=com
@@ -468,6 +481,13 @@
+
+ Group
+ true
+ ri:GroupObjectClass
+ entitlement
+ group
+
diff --git a/samples/demo/org.xml b/samples/demo/org.xml
index 6dc45445143..2d40653ae6b 100644
--- a/samples/demo/org.xml
+++ b/samples/demo/org.xml
@@ -70,7 +70,7 @@
F0200
Everything that moves or otherwise.
-
+
Access to engineering library
@@ -83,6 +83,7 @@
+
+
+ [ri:ldapGroups]
+
+
+
+
+
+
+ declare namespace icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3";
+ declare namespace ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3";
+
+ attributes/ri:cn
+
+ library
+
+
+ true
+
+
+
+
-
+
Department of Machines
0200
functional
diff --git a/samples/demo/role-fte.xml b/samples/demo/role-fte.xml
index d6ea0a6378b..e6d63a9e04e 100644
--- a/samples/demo/role-fte.xml
+++ b/samples/demo/role-fte.xml
@@ -17,6 +17,7 @@
Full Time Employee
Basic role for full-time employee. It contains basic access rights that every employee should get automatically.
@@ -40,6 +41,7 @@
+
+
+ [ri:ldapGroups]
+
+
+
+
+
+
+ declare namespace icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3";
+ declare namespace ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3";
+
+ attributes/ri:cn
+
+ employees
+
+
+ true
+
+
+
+
+