File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 3030 added to Net::LDAP#add, and eventually will be added to other methods.
3131* Belatedly added a patch contributed by Kouhei Sutou last October.
3232 The patch adds start_tls support.
33+ * Added Net::LDAP#search_subschema_entry
3334
3435
3536== Net::LDAP 0.0.4: August 15, 2006
Original file line number Diff line number Diff line change @@ -1060,6 +1060,19 @@ def search_root_dse
10601060 # or an empty Entry is the server doesn't return the record. On success, the
10611061 # Net::LDAP::Entry returned from this call will have the attributes :dn,
10621062 # :objectclasses, and :attributetypes.
1063+ #
1064+ # ldap = Net::LDAP.new
1065+ # ldap.host = "your.ldap.host"
1066+ # ldap.auth "your-user-dn", "your-psw"
1067+ # subschema_entry = ldap.search_subschema_entry
1068+ #
1069+ # subschema_entry.attributetypes.each do |attrtype|
1070+ # # your code
1071+ # end
1072+ #
1073+ # subschema_entry.objectclasses.each do |attrtype|
1074+ # # your code
1075+ # end
10631076 #--
10641077 # cf. RFC4512 section 4.
10651078 # The :dn attribute in the returned Entry is the subschema name as returned from
You can’t perform that action at this time.
0 commit comments