# File lib/puppet/util/ldap/connection.rb, line 37
37:     def initialize(host, port, options = {})
38:         raise Puppet::Error, "Could not set up LDAP Connection: Missing ruby/ldap libraries" unless Puppet.features.ldap?
39: 
40:         @host, @port = host, port
41: 
42:         options.each do |param, value|
43:             begin
44:                 send(param.to_s + "=", value)
45:             rescue
46:                 raise ArgumentError, "LDAP connections do not support %s parameters" % param
47:             end
48:         end
49:     end