From: Mark W. <mew...@un...> - 2000-05-26 15:32:56
|
Yes. iPlanet (aka Netscape) dynamic groups are simply a groupOfUrls object where the memberurls value is set to an LDAP URL. To print out all members, you parse the URL and then search the server using the search string that's embeded in the URL. To determine if a particular entry is a member, you can set the search base to be the entry's DN and then run the search filter against it. You'll need the URI module to do this with Net::LDAP. If you look in the contrib directory of the Net::LDAP distribution, I have a couple of scripts in there that show how to do this. If you can find a copy of the May issue of Web Techniques, I have an article about this subject with code. The sample code should be at www.webtechniques.com. Mark "Bouarich, Reda" wrote: > Hello, > Can we manipulate Dynamics groups through a PERL API? > thanks. > reda. |