commented out the searchx methods. I don't think we'll be needing them.
This commit is contained in:
parent
999f493863
commit
6e5aba6530
|
@ -456,6 +456,7 @@ module Net
|
||||||
# Note that in the standalone case, we're permitting the caller
|
# Note that in the standalone case, we're permitting the caller
|
||||||
# to modify the auth parms.
|
# to modify the auth parms.
|
||||||
#
|
#
|
||||||
|
=begin
|
||||||
def searchx args
|
def searchx args
|
||||||
if @open_connection
|
if @open_connection
|
||||||
@result = @open_connection.searchx( args ) {|values|
|
@result = @open_connection.searchx( args ) {|values|
|
||||||
|
@ -474,6 +475,7 @@ module Net
|
||||||
|
|
||||||
@result == 0
|
@result == 0
|
||||||
end
|
end
|
||||||
|
=end
|
||||||
|
|
||||||
# Searches the LDAP directory for directory entries.
|
# Searches the LDAP directory for directory entries.
|
||||||
# Takes a hash argument with parameters. Supported parameters include:
|
# Takes a hash argument with parameters. Supported parameters include:
|
||||||
|
@ -998,6 +1000,7 @@ module Net
|
||||||
#--
|
#--
|
||||||
# WARNING: this code substantially recapitulates the search method.
|
# WARNING: this code substantially recapitulates the search method.
|
||||||
#
|
#
|
||||||
|
=begin
|
||||||
def searchx args
|
def searchx args
|
||||||
search_filter = (args && args[:filter]) || Filter.eq( "objectclass", "*" )
|
search_filter = (args && args[:filter]) || Filter.eq( "objectclass", "*" )
|
||||||
search_base = (args && args[:base]) || "dc=example,dc=com"
|
search_base = (args && args[:base]) || "dc=example,dc=com"
|
||||||
|
@ -1033,6 +1036,8 @@ module Net
|
||||||
|
|
||||||
result_code
|
result_code
|
||||||
end
|
end
|
||||||
|
=end
|
||||||
|
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# modify
|
# modify
|
||||||
|
|
Loading…
Reference in a new issue