or if you use
filter = Net::LDAP::Filter.eq( "nisnetgrouptriple", "(,user,)" )
then that works fine..
but i want to have compound statements and take them from a web front
end so this is all tedious to construct.
This will fail with invalid filter syntax as well:
filter =
Net::LDAP::Filter.construct("(&(objectClass=Person)(|(sn=Jensen)(cn=Babs
J*)))")
Anyone found better work arounds for things like this other than going
to ruby/ldap c based gem?
--
Posted via http://www.ruby-forum.com/.