Jan Zeleny notes that users who are members of groups which are
themselves members of groups don't show up in the compat entries of the
the containing groups.

Nalin
>From 8a096c0a284b4e70ba2f479293299900712b3936 Mon Sep 17 00:00:00 2001
From: Nalin Dahyabhai <[email protected]>
Date: Tue, 4 Oct 2011 11:46:59 -0400
Subject: [PATCH] list users from nested groups, too

---
 install/share/schema_compat.uldif |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/install/share/schema_compat.uldif 
b/install/share/schema_compat.uldif
index ac4b7b7..f042edf 100644
--- a/install/share/schema_compat.uldif
+++ b/install/share/schema_compat.uldif
@@ -46,7 +46,7 @@ default:schema-compat-entry-rdn: cn=%{cn}
 default:schema-compat-entry-attribute: objectclass=posixGroup
 default:schema-compat-entry-attribute: gidNumber=%{gidNumber}
 default:schema-compat-entry-attribute: memberUid=%{memberUid}
-default:schema-compat-entry-attribute: memberUid=%deref("member","uid")
+default:schema-compat-entry-attribute: memberUid=%deref_r("member","uid")
 
 dn: cn=ng,cn=Schema Compatibility,cn=plugins,cn=config
 add:objectClass: top
-- 
1.7.6.4

_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to