comments and docs for Net::LDAP#Search_subschema_entry
This commit is contained in:
parent
95d86ea6c3
commit
18699c9ac2
|
@ -30,6 +30,7 @@
|
|||
added to Net::LDAP#add, and eventually will be added to other methods.
|
||||
* Belatedly added a patch contributed by Kouhei Sutou last October.
|
||||
The patch adds start_tls support.
|
||||
* Added Net::LDAP#search_subschema_entry
|
||||
|
||||
|
||||
== Net::LDAP 0.0.4: August 15, 2006
|
||||
|
|
|
@ -1060,6 +1060,19 @@ module Net
|
|||
# or an empty Entry is the server doesn't return the record. On success, the
|
||||
# Net::LDAP::Entry returned from this call will have the attributes :dn,
|
||||
# :objectclasses, and :attributetypes.
|
||||
#
|
||||
# ldap = Net::LDAP.new
|
||||
# ldap.host = "your.ldap.host"
|
||||
# ldap.auth "your-user-dn", "your-psw"
|
||||
# subschema_entry = ldap.search_subschema_entry
|
||||
#
|
||||
# subschema_entry.attributetypes.each do |attrtype|
|
||||
# # your code
|
||||
# end
|
||||
#
|
||||
# subschema_entry.objectclasses.each do |attrtype|
|
||||
# # your code
|
||||
# end
|
||||
#--
|
||||
# cf. RFC4512 section 4.
|
||||
# The :dn attribute in the returned Entry is the subschema name as returned from
|
||||
|
|
Loading…
Reference in a new issue