From b2638d4af9df1f956ba4a80da6fb6f6c8391e0ca Mon Sep 17 00:00:00 2001 From: James Elliott Date: Fri, 2 Jul 2021 11:33:10 +1000 Subject: [PATCH] fix(authentication): use passwdmodify oid instead of whoami oid (#2139) This is the correct OID for the passwdModify Extended Operation. --- internal/authentication/const.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/authentication/const.go b/internal/authentication/const.go index 889b6bd21..371466ab7 100644 --- a/internal/authentication/const.go +++ b/internal/authentication/const.go @@ -27,7 +27,7 @@ const ( const ( ldapSupportedExtensionAttribute = "supportedExtension" - ldapOIDPasswdModifyExtension = "1.3.6.1.4.1.4203.1.11.3" + ldapOIDPasswdModifyExtension = "1.3.6.1.4.1.4203.1.11.1" // http://oidref.com/1.3.6.1.4.1.4203.1.11.1 ) // PossibleMethods is the set of all possible 2FA methods.