From bb18fc67aabedf4fec90b23e70f67d5856cef794 Mon Sep 17 00:00:00 2001 From: Jerry Cheung Date: Mon, 27 Oct 2014 16:29:08 -0700 Subject: [PATCH 1/2] alpa sort capability attributes list --- lib/net/ldap.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/net/ldap.rb b/lib/net/ldap.rb index ac07d901..453f70c0 100644 --- a/lib/net/ldap.rb +++ b/lib/net/ldap.rb @@ -1194,9 +1194,15 @@ def delete_tree(args) def search_root_dse rs = search(:ignore_server_caps => true, :base => "", :scope => SearchScope_BaseObject, - :attributes => [ :namingContexts, :supportedLdapVersion, - :altServer, :supportedControl, :supportedExtension, - :supportedFeatures, :supportedSASLMechanisms]) + :attributes => [ + :altServer, + :namingContexts, + :supportedControl, + :supportedExtension, + :supportedFeatures, + :supportedLdapVersion, + :supportedSASLMechanisms + ]) (rs and rs.first) or Net::LDAP::Entry.new end From 0c44785e5156f5ca7cd5aaca3d9e0540dc6e3f99 Mon Sep 17 00:00:00 2001 From: Jerry Cheung Date: Mon, 27 Oct 2014 16:29:38 -0700 Subject: [PATCH 2/2] add activedirectory supportedCapabilities --- lib/net/ldap.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/net/ldap.rb b/lib/net/ldap.rb index 453f70c0..87c7eccb 100644 --- a/lib/net/ldap.rb +++ b/lib/net/ldap.rb @@ -1197,6 +1197,7 @@ def search_root_dse :attributes => [ :altServer, :namingContexts, + :supportedCapabilities, :supportedControl, :supportedExtension, :supportedFeatures, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy