From: Francis Cianfrocca Date: 2006-07-28T23:46:30+09:00 Subject: Re: Ruby LDAP --- Hooray!! Ola Bini wrote: > filters was most inspired. The only missing part is real prefix notation > for it, but I guess I can manage without. =) Ola, if I understand you correctly, you're looking for standard RFC-2254 filter syntax. Things like (for example): (&(objectclass=person)(mail=ola*)) If that's what you need, it's there now. Look in the Rdoc for Net::LDAP::Filter#construct, which will accept a string like the above. The reason we didn't support the standard filter syntax originally was because IMHO it sucks :-) and we wanted to give people a better alternative. The recommended way to do filters in Net::LDAP is with the original API, but we supported the standard filter-syntax because several people requested it. -- Posted via http://www.ruby-forum.com/.