On 07/09/2008 07:00 PM, Scott Pham (scpham) wrote: > I ran across an issue around calling $c->user->roles using the LDAP auth > store. Basically it would only return 1 role instead of the 30 or so I'm > a member of. After digging around I created this patch for it. I haven't > taken a poke at the Net::LDAP code yet, but I suspect the get_value > method does a want_array. Once I changed it, it works fine now. > > Please let me know if it's not right or I'm not using the module > correctly...or any pointers for that matter ;)
Your LDAP schema is a little unusual, but you were right in pointing out that Net::LDAP::Entry only returns one value when called in scalar context. I applied the patch after testing it locally against my POSIX schema. http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=8100 Thanks. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
