You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Instantiate an object of type Net::LDAP to perform directory operations.
351
-
# This constructor takes a Hash containing arguments. The following arguments
358
+
# This constructor takes a Hash containing arguments, all of which are either optional or may be specified later with other methods as described below. The following arguments
352
359
# are supported:
353
360
# * :host => the LDAP server's IP-address (default 127.0.0.1)
354
361
# * :port => the LDAP server's TCP port (default 389)
355
362
# * :auth => a Hash containing authorization parameters. Currently supported values include:
# The password parameter may be a Proc that returns a String.
366
+
# * :base => a default treebase parameter for searches performed against the LDAP server. If you don't give this value, then each call to #search must specify a treebase parameter. If you do give this value, then it will be used in subsequent calls to #search that do not specify a treebase. If you give a treebase value in any particular call to #search, that value will override any treebase value you give here.
367
+
# * :encryption => specifies the encryption to be used in communicating with the LDAP server. The value is either a Hash containing additional parameters, or the Symbol :simple_tls, which is equivalent to specifying the Hash {:method => :simple_tls}. There is a fairly large range of potential values that may be given for this parameter. See #encryption for details.
359
368
#
360
369
# Instantiating a Net::LDAP object does <i>not</i> result in network traffic to
361
370
# the LDAP server. It simply stores the connection and binding parameters in the
@@ -367,6 +376,7 @@ def initialize args = {}
367
376
@verbose=false# Make this configurable with a switch on the class.
0 commit comments