microsoft / microsoft/go-sqlcmd

ADS Login Fails if a container is deleted and a new one is created

Open
#432 3 comments 0 reactions 1 assignee View on GitHub

@stuartpa is already working on this.

Since Jul 21, 2023.

ADS bug Security
Dominant language
Go
Stars
595
Forks
91
Avg merge
9h 35m
Merged PRs (30d)
1

Description

The credentials stored for a sql container are being persisted in ADS and not overwritten when a new container is created. This causes a login failure in ADS and forces a reset of the password, putting the context in SQLCMD out of synch with the creds in the SQL container.

There are 2 things that probably need to happen here:

  1. ADS creds for a container need to be deleted when a container is deleted.
  2. SQLCMD needs a mechanism to change a user password to avoid out of synch contexts - this should probably update ADS creds too.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.