Novell Home

Constructing a Member Query for a Dynamic Group

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 31 Oct 2002
 

Code corrected 6 Nov 2002 by Erwin Stam

Here's a question we plucked from the forums about member queries and dynamic groups.

Question

How could I construct the member query attribute for a Dynamic Group easily? I found that Novell Portal Services (NPS) is a great way to do that, but now, I want to create a Dynamic Group in a Directory with no NPS installed. So, how can I do that?

Answer

You can use LDIF:

dn: cn=dg1,o=myorg   
changetype: add   
objectClass: dynamicGroup   
memberQueryURL: ldap:///o=myorg??sub?cn=*
dgidentity: cn=admin,o=myorg

See this article for full description of how to use and manage dynamic groups: http://developer.novell.com/research/appnotes/2002/april/05/a020405.htm


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell