Skip to content

Commit 105fb10

Browse files
author
blackhedd
committed
let's get it right for a change
1 parent acfa64d commit 105fb10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/net/ldap.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,12 +1087,12 @@ def search_subschema_entry
10871087
:attributes=>[:subschemaSubentry]
10881088
)
10891089
return Entry.new unless (rs and rs.first)
1090-
subschema_name = rs.subschemasubentry
1090+
subschema_name = rs.first.subschemasubentry
10911091
return Entry.new unless (subschema_name and subschema_name.first)
10921092

10931093
rs = search(
10941094
:ignore_server_caps=>true,
1095-
:base=>subschema_name,
1095+
:base=>subschema_name.first,
10961096
:scope=>SearchScope_BaseObject,
10971097
:filter=>"objectclass=*",
10981098
:attributes=>[:objectclasses, :attributetypes]

0 commit comments

Comments
 (0)