Permalink
Browse files

tweaked subschema query to comply with RFC 4512 pgh 4.4.

  • Loading branch information...
1 parent 8cfb4a1 commit bc1129fcf15a4bea72e83a1ad297bb9e1df63ce8 blackhedd committed May 2, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/net/ldap.rb
View
@@ -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]
)

0 comments on commit bc1129f

Please sign in to comment.