We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acfa64d commit 105fb10Copy full SHA for 105fb10
lib/net/ldap.rb
@@ -1087,12 +1087,12 @@ def search_subschema_entry
1087
:attributes=>[:subschemaSubentry]
1088
)
1089
return Entry.new unless (rs and rs.first)
1090
- subschema_name = rs.subschemasubentry
+ subschema_name = rs.first.subschemasubentry
1091
return Entry.new unless (subschema_name and subschema_name.first)
1092
1093
rs = search(
1094
:ignore_server_caps=>true,
1095
- :base=>subschema_name,
+ :base=>subschema_name.first,
1096
:scope=>SearchScope_BaseObject,
1097
:filter=>"objectclass=*",
1098
:attributes=>[:objectclasses, :attributetypes]
0 commit comments