From 647f4c5a1aada0de5b33c9d8ecbc167b3f3fce40 Mon Sep 17 00:00:00 2001 From: James L Vodanovich Date: Wed, 20 Dec 2017 11:42:59 +1100 Subject: [PATCH] Add increment to MODIFY_OPERATIONS OpenLDAP MODIFY_OPERATIONS is available in OpenLDAP though marked as an OpenLDAP extension in openldaps source --- lib/net/ldap/connection.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/net/ldap/connection.rb b/lib/net/ldap/connection.rb index 61aacb53..1ad67501 100644 --- a/lib/net/ldap/connection.rb +++ b/lib/net/ldap/connection.rb @@ -523,6 +523,7 @@ def search(args = nil) :add => 0, :delete => 1, :replace => 2, + :increment => 3, # OpenLDAP extension } def self.modify_ops(operations)