Permalink
Browse files

let's get it right for a change

  • Loading branch information...
1 parent acfa64d commit 105fb102d592a2119233a2a839250d5379ff9cd0 blackhedd committed May 2, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/net/ldap.rb
View
@@ -1087,12 +1087,12 @@ def search_subschema_entry
:attributes=>[:subschemaSubentry]
)
return Entry.new unless (rs and rs.first)
- subschema_name = rs.subschemasubentry
+ subschema_name = rs.first.subschemasubentry
return Entry.new unless (subschema_name and subschema_name.first)
rs = search(
:ignore_server_caps=>true,
- :base=>subschema_name,
+ :base=>subschema_name.first,
:scope=>SearchScope_BaseObject,
:filter=>"objectclass=*",
:attributes=>[:objectclasses, :attributetypes]

0 comments on commit 105fb10

Please sign in to comment.