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

Add LDAP addressbook #38

Merged
merged 5 commits into from
Apr 30, 2024
Merged

Add LDAP addressbook #38

merged 5 commits into from
Apr 30, 2024

Conversation

stephdl
Copy link
Collaborator

@stephdl stephdl commented Apr 29, 2024

This pull request includes updates to the build-images.sh script, discover-service script, and roundcubemail.service file. The changes include adding a cluster:accountconsumer authorization label to build-images.sh, updating LDAP configuration in the discover-service script, and adding network and host configurations to roundcubemail.service.

image

image

refs: NethServer/dev#6914

@stephdl stephdl requested a review from DavidePrincipi April 29, 2024 09:22
imageroot/bin/discover-service Show resolved Hide resolved
imageroot/bin/discover-service Outdated Show resolved Hide resolved
@stephdl stephdl requested a review from DavidePrincipi April 29, 2024 10:00
Copy link
Collaborator Author

@stephdl stephdl left a comment

Choose a reason for hiding this comment

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

just tested the sAMAccountName is goo for AD

Copy link
Member

@DavidePrincipi DavidePrincipi left a comment

Choose a reason for hiding this comment

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

When a module becomes an accountconsumer, it must create the LDAP domain reference, and keep it updated

https://nethserver.github.io/ns8-core/core/user_domains/#bind-modules-and-account-domains

The configure-module action should do it, because it has a Redis connection with the leader node. On the contrary, discover-service has a replica connection and does not suite for this purpose.

@stephdl stephdl requested a review from DavidePrincipi April 29, 2024 15:47
@stephdl stephdl merged commit 56fa0ca into main Apr 30, 2024
1 check passed
@stephdl stephdl deleted the ldapAddressBook branch April 30, 2024 08:28
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.

2 participants