Skip to content

Commit 6e5aba6

Browse files
author
blackhedd
committed
commented out the searchx methods. I don't think we'll be needing them.
1 parent 999f493 commit 6e5aba6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/net/ldap.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ def open
456456
# Note that in the standalone case, we're permitting the caller
457457
# to modify the auth parms.
458458
#
459+
=begin
459460
def searchx args
460461
if @open_connection
461462
@result = @open_connection.searchx( args ) {|values|
@@ -474,6 +475,7 @@ def searchx args
474475
475476
@result == 0
476477
end
478+
=end
477479

478480
# Searches the LDAP directory for directory entries.
479481
# Takes a hash argument with parameters. Supported parameters include:
@@ -998,6 +1000,7 @@ def search args = {}
9981000
#--
9991001
# WARNING: this code substantially recapitulates the search method.
10001002
#
1003+
=begin
10011004
def searchx args
10021005
search_filter = (args && args[:filter]) || Filter.eq( "objectclass", "*" )
10031006
search_base = (args && args[:base]) || "dc=example,dc=com"
@@ -1033,6 +1036,8 @@ def searchx args
10331036
10341037
result_code
10351038
end
1039+
=end
1040+
10361041

10371042
#--
10381043
# modify

0 commit comments

Comments
 (0)