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

Temporary password rules are not enforce with local password policy #4789

Closed
tbordaz opened this issue Jun 3, 2021 · 2 comments
Closed

Temporary password rules are not enforce with local password policy #4789

tbordaz opened this issue Jun 3, 2021 · 2 comments
Assignees
Labels
In JIRA ticket is in JIRA priority_high need urgent fix / highly valuable / easy to fix
Milestone

Comments

@tbordaz
Copy link
Contributor

tbordaz commented Jun 3, 2021

Issue Description
A local password policy may contain temporary password rules. However they are not taken into account and fallback to global ones.

Package Version and Platform:
since 1.4.3 supporting temporary password rules (#4725 )

Steps to Reproduce
testcase to be provided

Expected results
local password policy should be taken into account

@tbordaz tbordaz added needs triage The issue will be triaged during scrum Need BZ The ticket needs to be cloned to a BZ priority_high need urgent fix / highly valuable / easy to fix and removed needs triage The issue will be triaged during scrum labels Jun 3, 2021
@tbordaz tbordaz self-assigned this Jun 3, 2021
@tbordaz tbordaz added this to the 1.4.3 milestone Jun 3, 2021
@tbordaz tbordaz added In JIRA ticket is in JIRA and removed Need BZ The ticket needs to be cloned to a BZ labels Jun 3, 2021
tbordaz added a commit to tbordaz/389-ds-base that referenced this issue Jun 7, 2021
…word policy

Bug description:
	When allocating a password policy structure (new_passwdPolicy)
        it is initialized with the local policy definition or
	the global one. If it exists a local policy entry, the TPR
        attributes (passwordTPRMaxUse, passwordTPRDelayValidFrom and
        passwordTPRDelayExpireAt) are not taken into account.

Fix description:
	Take into account TPR attributes to initialize the policy

relates: 389ds#4789

Reviewed by: Simon Pichugin, William Brown

Platforms tested: F34
tbordaz added a commit that referenced this issue Jun 7, 2021
…word policy (#4790)

Bug description:
	When allocating a password policy structure (new_passwdPolicy)
        it is initialized with the local policy definition or
	the global one. If it exists a local policy entry, the TPR
        attributes (passwordTPRMaxUse, passwordTPRDelayValidFrom and
        passwordTPRDelayExpireAt) are not taken into account.

Fix description:
	Take into account TPR attributes to initialize the policy

relates: #4789

Reviewed by: Simon Pichugin, William Brown

Platforms tested: F34
tbordaz added a commit that referenced this issue Jun 15, 2021
…word policy (#4790)

Bug description:
	When allocating a password policy structure (new_passwdPolicy)
        it is initialized with the local policy definition or
	the global one. If it exists a local policy entry, the TPR
        attributes (passwordTPRMaxUse, passwordTPRDelayValidFrom and
        passwordTPRDelayExpireAt) are not taken into account.

Fix description:
	Take into account TPR attributes to initialize the policy

relates: #4789

Reviewed by: Simon Pichugin, William Brown

Platforms tested: F34
@tbordaz
Copy link
Contributor Author

tbordaz commented Jun 15, 2021

f53b284..f8e4206 master
02ca55d..a16a653 389-ds-base-1.4.4
05c07a6..bfa85a2cc 389-ds-base-1.4.3

@tbordaz tbordaz closed this as completed Jun 15, 2021
mreynolds389 pushed a commit that referenced this issue Jun 29, 2021
…word policy (#4790)

Bug description:
	When allocating a password policy structure (new_passwdPolicy)
        it is initialized with the local policy definition or
	the global one. If it exists a local policy entry, the TPR
        attributes (passwordTPRMaxUse, passwordTPRDelayValidFrom and
        passwordTPRDelayExpireAt) are not taken into account.

Fix description:
	Take into account TPR attributes to initialize the policy

relates: #4789

Reviewed by: Simon Pichugin, William Brown

Platforms tested: F34
@mreynolds389
Copy link
Contributor

f53b284..f8e4206 master
02ca55d..a16a653 389-ds-base-1.4.4
05c07a6..bfa85a2 389-ds-base-1.4.3

This was not committed to 1.4.3, so not sure about that commit message. Here is the new commit:

ef2c212..e5b2fb2 389-ds-base-1.4.3 -> 389-ds-base-1.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In JIRA ticket is in JIRA priority_high need urgent fix / highly valuable / easy to fix
Projects
None yet
Development

No branches or pull requests

2 participants