fix (boundary dev): make the LDAP auth method active-public (#3344)

This commit is contained in:
Jim authored and GitHub committed 2023-06-20 13:56:20 -04:00
1 parent 15e7bbe816
commit 723dbdfedf
5 files changed
+35

No files matched your search

+1
View File
@@ -330,6 +330,7 @@ func (b *Server) createInitialLdapAuthMethod(ctx context.Context, host string, p
ldap.WithDiscoverDn(ctx),
ldap.WithUserDn(ctx, testdirectory.DefaultUserDN),
ldap.WithGroupDn(ctx, testdirectory.DefaultGroupDN),
ldap.WithOperationalState(ctx, ldap.ActivePublicState),
)
if err != nil {
return nil, fmt.Errorf("error creating new in memory ldap auth method: %w", err)