Bugfix. Net::LDAP#bind was ignoring the inbound auth parameter.
Thanks to Kouhei Sutou for spotting this and pointing it out.
This commit is contained in:
parent
1b568e82df
commit
64a8240ae0
2 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,8 @@
|
|||
LDAP SearchRequest packets.
|
||||
* Added Net::LDAP::Filter#execute, which allows arbitrary processing
|
||||
based on LDAP filters.
|
||||
|
||||
* Fixed bug in Net::LDAP#bind. We were ignoring the passed-in auth parm.
|
||||
Thanks to Kouhei Sutou for spotting it.
|
||||
|
||||
== Net::LDAP 0.0.4: August 15, 2006
|
||||
* Undeprecated Net::LDAP#modify. Thanks to Justin Forder for
|
||||
|
|
|
@ -727,7 +727,7 @@ module Net
|
|||
@result = @open_connection.bind auth
|
||||
else
|
||||
conn = Connection.new( :host => @host, :port => @port , :encryption => @encryption)
|
||||
@result = conn.bind @auth
|
||||
@result = conn.bind auth
|
||||
conn.close
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue