Skip to content

By default, do not manage unhashed password #2848

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

Closed
389-ds-bot opened this issue Sep 13, 2020 · 24 comments
Closed

By default, do not manage unhashed password #2848

389-ds-bot opened this issue Sep 13, 2020 · 24 comments
Labels
closed: fixed Migration flag - Issue
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49789


Issue Description

By default nsslapd-unhashed-pw-switch is set to 'on'. So a copy of the unhashed password is kept in modifiers and is possibly logged in changelog and retroCL.

Unless it is used by some plugin it does not require to keep unhash password
nsslapd-unhashed-pw-switch should be 'off' by default

Package Version and Platform

1.3.1 and later

Steps to reproduce

  1. install replica and check changelog contains unhashed#user#password

Actual results

contains unhashed#user#password (db file)

Expected results

should not contain if it is not required

@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 13, 2020
@389-ds-bot 389-ds-bot added this to the 1.4.1 milestone Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2018-06-18 12:07:33

Metadata Update from @tbordaz:

  • Custom field component adjusted to None
  • Custom field origin adjusted to None
  • Custom field reviewstatus adjusted to None
  • Custom field type adjusted to None
  • Custom field version adjusted to None
  • Issue set to the milestone: 1.3.7 backlog

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2018-06-18 12:07:38

Metadata Update from @tbordaz:

  • Issue assigned to tbordaz

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2018-07-16 20:54:38

Metadata Update from @droideck:

  • Custom field reviewstatus adjusted to ack (was: None)

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2018-07-17 15:53:43

e81fa85 master
51e2f0c..f94a4fe 389-ds-base-1.3.8 -> 389-ds-base-1.3.8
2dbb47e..3b67635 389-ds-base-1.3.7 -> 389-ds-base-1.3.7

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2018-07-18 18:04:52

Backing out fix as this breaks FreeIPA:

a9fa210..172c60a master -> master

ecd826b..a47ea3a 389-ds-base-1.3.8 -> 389-ds-base-1.3.8

It's okay to leave this in 1.3.7

@389-ds-bot
Copy link
Author

Comment from rcritten (@rcritten) at 2018-10-09 19:56:54

Can we revisit this? I forget how it broke IPA.

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2018-10-10 09:58:15

@rcritten, there are two FreeIPA requirement regarding unhashed password.

ipa-pwd-extop, needs the unhashed password. so it needs to enable it BUT it looks acceptable to not log the password in the changelogs ( (i.e. 'nsslapd-unhashed-pw-switch: nolog') .

with winsync, where the unhashed password needs to be logged on all replicas (IIRC). It can be configured to log it ('nsslapd-unhashed-pw-switch: on') but the impact of the default behavior being 'off' needs evaluation.

@389-ds-bot
Copy link
Author

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2019-04-16 04:09:34

Why not default this to off for 389-ds, and then IPA can enable the setting back to on in it's install process ... Seems like a pretty easy change IMO.

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2019-04-16 08:57:56

@Firstyear, you are right it is a pretty easy change but it needs to be sync with FreeIPA that rely on managing/logging unhashed password. It was pushed/backout because of this need to sync with freeipa.
It should land shortly, once changes on freeipa are tested/reviewed.

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2019-04-16 09:19:51

Is there a freeipa pagure issue id so we can follow that here? Thanks for the information :)

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2019-04-16 09:38:48

Sure, this is https://pagure.io/freeipa/issue/4812.
Except usual upgrades cases the main issue is the handling of winsync that requires to manage and log unhashed password.

@389-ds-bot
Copy link
Author

Comment from firstyear (@Firstyear) at 2019-04-17 02:35:55

Great, thank you!

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2019-05-28 17:51:48

https://pagure.io/freeipa/issue/4812 was pushed upstream.
Waiting for https://bugzilla.redhat.com/show_bug.cgi?id=1639644 (8.1) and https://bugzilla.redhat.com/show_bug.cgi?id=1639647 (Fedora) to be MODIFIED to push this 389-ds patch upstream

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2019-07-15 18:01:14

https://bugzilla.redhat.com/show_bug.cgi?id=1639644 --> ON_QA
https://bugzilla.redhat.com/show_bug.cgi?id=1639647--> POST

Fedora is still in POST (ON_QA for 8.1) so we are still waiting to push this fix upstream

@389-ds-bot
Copy link
Author

Comment from abbra at 2019-07-15 18:09:59

I closed fedora bug because everything was pushed already on July 3rd with FreeIPA 4.8.0.

@389-ds-bot
Copy link
Author

389-ds-bot commented Sep 13, 2020

Comment from tbordaz (@tbordaz) at 2019-07-15 20:22:23

#2849

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2019-07-16 15:36:39

b84669f..104be99 master

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2019-07-16 15:40:47

align milestone to release https://bugzilla.redhat.com/show_bug.cgi?id=1639644 -> 1.4.1

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2019-07-16 15:40:48

Metadata Update from @tbordaz:

  • Issue set to the milestone: 1.4.1 (was: 1.3.7 backlog)

@389-ds-bot
Copy link
Author

Comment from tbordaz (@tbordaz) at 2019-07-16 15:56:28

Metadata Update from @tbordaz:

  • Issue close_status updated to: fixed
  • Issue status updated to: Closed (was: Open)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant