Is there a way to set the ActiveDirectory timeout/caching in OctopusDeploy?
Thank you,
Larry
Is there a way to set the ActiveDirectory timeout/caching in OctopusDeploy?
Thank you,
Larry
Hi Larry,
Thanks for getting in touch. Octopus doesn’t have a way to set an Active Directory timeout/cache expiry out of the box. The only Active Directory information it caches is a users groups and this is refreshed every hour while the user is logged in. This can be reset by logging out and then logging back in.
That said, our authentication providers are open source so you could always customise this if needed. The following class handles user security group expiry and this is the area you would need to change. https://github.com/OctopusDeploy/DirectoryServicesAuthenticationProvider/blob/master/source/Octopus.Server.Extensibility.Authentication.DirectoryServices/DirectoryServices/DirectoryServicesUserSecurityGroupExpiryChecker.cs
You can read more about Octopus Server extensibility at the following URL.
Hope this helps!
Rob
Hi Rob,
Yeah that’s the workaround we currently use. Thanks for the info!
Larry