From: Graham B. <gb...@po...> - 2000-10-05 18:32:44
|
Would you care to send a patch to update/improve the script ? Graham. On Thu, Oct 05, 2000 at 12:48:51PM -0500, Mark Wilcox wrote: > Hi, > Actually this is an early attempt. If you look at my code for > Apache::AuthzNetLDAP on CPAN, you can see a better way that handles the 3 > types of groups: > groupOfUniquenames, groupOfNames, groupOfURLs (which are Netscape Dynamic > groups). > > I just reread my printMembers.pl script again. All I checked for is > groupOfUniquenames, which is the most common occurance, at least with > Netscape and Novell LDAP servers. If you're using openLDAP you'll likely > be using groupOfNames which uses the member attribute, so change any > occurance of "uniquemember" to member & the code should work fine. > > Ideally it would handle either occurance but I haven't had time to do > that. If you can make it work this way, send me a patch & I'll add it for > the next release. > > I wrote an example scrip that handled all 3 occurances in the May issue of > WebTechniques. I don't have the code handy, but it might be at the > WebTechniques.com site. |