Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ldap): Update domain configuration and reload event #809

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

stephdl
Copy link
Contributor

@stephdl stephdl commented Feb 14, 2025

Refine the domain configuration logic for internal Active Directory schemas and emit a reload event after adding an external provider.

NethServer/dev#7315

@@ -1049,7 +1050,7 @@ export default {
}
this.currentProvider = provider;

if (this.domain.schema === "ad") {
if (this.domain.schema === "ad" && this.domain.location == "internal") {
Copy link
Contributor

@andre8244 andre8244 Feb 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure to understand this change 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simple, we use the internal removal action for an external ldap provider

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'm a little rusty on this topic, I trust you and @DavidePrincipi , approving ✔️

@andre8244 andre8244 self-requested a review February 14, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants