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

nsslapd-defaultnamingcontext does not change when the assigned suffix got deleted. #3581

Closed
389-ds-bot opened this issue Sep 13, 2020 · 7 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/50525


Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1610234

Description of problem:
nsslapd-defaultnamingcontext does not change when the assigned suffix got
deleted.

Version-Release number of selected component (if applicable):
389-ds-base-1.3.8.4-9.el7.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Add a test suffix - "dc=test2,dc=com"

2. Assign the test suffix to the nsslapd-defaultnamingcontext
ldapmodify -x -h localhost -p 389 -D "cn=Directory Manager"  -w Secret123 <<
EOF
dn: cn=config
changetype: modify
replace: nsslapd-defaultnamingcontext
nsslapd-defaultnamingcontext: "dc=test2,dc=com"
EOF

3. delete the suffix :
ldapdelete -x -r -h localhost -p 389 -D "cn=Directory Manager"  -w Secret123
"dc=test,dc=com"

4. Check the value of nsslapd-defaultnamingcontext, it is still the same suffix
which is already deleted.
ldapsearch -x -h localhost -p 389 -D "cn=Directory Manager"  -w Secret123 -b
"cn=config" | grep -i "nsslapd-defaultnamingcontext"
nsslapd-defaultnamingcontext: dc=test,dc=com


Expected results:
Either nsslapd-defaultnamingcontext should be blank OR it should have the other
existing suffix as its value.
@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.3.10 milestone Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-08-01 22:49:05

Metadata Update from @mreynolds389:

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-08-01 22:50:05

Metadata Update from @mreynolds389:

  • Issue assigned to mreynolds389

@389-ds-bot
Copy link
Author

389-ds-bot commented Sep 13, 2020

Comment from mreynolds (@mreynolds389) at 2019-08-01 22:56:14

#3582

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-08-01 22:56:15

Metadata Update from @mreynolds389:

  • Custom field origin adjusted to None
  • Custom field reviewstatus adjusted to None
  • Issue set to the milestone: 1.3.10 (was: 0.0 NEEDS_TRIAGE)

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-08-07 22:50:03

Commit fb3be041 relates to this ticket

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-08-07 22:53:38

a14dd18..c1e1b80 389-ds-base-1.4.0 -> 389-ds-base-1.4.0

9c64ebd..66969b2 389-ds-base-1.3.10 -> 389-ds-base-1.3.10

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2019-08-07 22:53:38

Metadata Update from @mreynolds389:

  • 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