lib/rbmk/transform.rb in rbmk-0.1.0.d vs lib/rbmk/transform.rb in rbmk-0.1.0.e

- old
+ new

@@ -4,11 +4,11 @@ # Patch this method to transform incoming bind data. # Expect a hash with these keys: # :version LDAP protocol version; should probably be 3 # :dn Bind DN; like a "username" # :password Cleartext! Verrrry sensitive! - def self.simple_bind opts + def self.simple_bind opts, op opts end # Patch this method to transform incoming search parameters. # Expect a hash with these keys: @@ -17,16 +17,16 @@ # :deref whether to follow aliases (no time to explain, read more otherwhere) # :filter_array IMPORTANT: this is a parsed filter from Ldap::Server as an array-tree # :attrs Attributes to be included in resulting objects # :vals Whether to include values at all # :limit Search will not return more than this amount of objects - def self.search opts + def self.search opts, op opts end # Patch this method to transform outbound found entries. # Expect an array of hashes, each of which MUST have a 'dn' key - def self.found entries + def self.found entries, op entries end end end