Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tweaked subschema query to comply with RFC 4512 pgh 4.4.

  • Loading branch information...
commit bc1129fcf15a4bea72e83a1ad297bb9e1df63ce8 1 parent 8cfb4a1
blackhedd authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/net/ldap.rb
View
4 lib/net/ldap.rb
@@ -1075,7 +1075,7 @@ def search_root_dse
# # your code
# end
#--
- # cf. RFC4512 section 4.
+ # cf. RFC4512 section 4, particulary graff 4.4.
# The :dn attribute in the returned Entry is the subschema name as returned from
# the server.
# Set :ignore_server_caps, see the notes in search_root_dse.
@@ -1095,7 +1095,7 @@ def search_subschema_entry
:ignore_server_caps=>true,
:base=>subschema_name.first,
:scope=>SearchScope_BaseObject,
- :filter=>"objectclass=*",
+ :filter=>"objectclass=subschema",
:attributes=>[:objectclasses, :attributetypes]
)
Please sign in to comment.
Something went wrong with that request. Please try again.