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

feat: handle mail field #53

Merged
merged 7 commits into from
Mar 12, 2025
Merged

feat: handle mail field #53

merged 7 commits into from
Mar 12, 2025

Conversation

gsanchietti
Copy link
Member

@gsanchietti gsanchietti commented Mar 6, 2025

NethServer/dev#7229

Update an existing instance:

api-cli run update-module --data '{"module_url":"ghcr.io/nethserver/openldap:mail_notify","instances":["openldap1"]}'

@gsanchietti gsanchietti self-assigned this Mar 6, 2025
@gsanchietti gsanchietti force-pushed the mail_notify branch 4 times, most recently from cd25311 to 488064f Compare March 10, 2025 13:31
@gsanchietti gsanchietti marked this pull request as ready for review March 11, 2025 16:17
gsanchietti and others added 6 commits March 11, 2025 17:17
Prevent failure if password expiration is not set.
Example of error:
additional info: modify/delete: pwdAccountLockedTime: no such attribute
Ignore error if trying to delete the mail field if it does not exists
…48)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Alter mail field only if required.
The cluster UI does not pass the mail field.
With the previous implemention, a user modified from the cluster
UI would always delete the mail field
@gsanchietti gsanchietti merged commit 0b02178 into main Mar 12, 2025
3 of 5 checks passed
@gsanchietti gsanchietti deleted the mail_notify branch March 12, 2025 16:27
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