Sha256: ca63e101b6e1a828ac1e4e64e577c70371b4c55181f8c475f6b12f733da00eeb
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
module RBMK module Transform # 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, op opts end # Patch this method to transform incoming search parameters. # Expect a hash with these keys: # :base Search base DN # :scope 0 is base, 1 is onelevel, 2 is subtree # :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, 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, op entries end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbmk-0.1.0.e | lib/rbmk/transform.rb |