Subsuffixes not displaying
by Jason Villarroel
Hello,
We are having an issue when using an ldap browser or even the ldapsearch command subsuffixes that are on a separate backend database are not displayed when specifying the parent suffix as the base dn. In previous versions when specifying the parent suffix as the base dn the subsuffixes were listed. Currently only entries related to the primary userRoot database are displayed. The root dse also does not display the subsuffixes.
If we run the "dsconf INSTANCE backend suffix set --enable-orphan dbname" command the missing suffix appears in the root dse but still does not appear in when listing the entries in the base dn.
The subsuffixes are accessible if we specify them as the base dn or access them via the built in ldap browser vi cockpit.
You can perform the following ldap search on V11 and V12 and will see the differences in the results:
ldapsearch -D "cn=manager" -W -b "dc=example,dc=com" -s one -x "(objectclass=*)" dn
V11 returns
# numResponses: 15
# numEntries: 14
V12 returns
# numResponses: 12
# numEntries: 11
Version we have installed
389-ds-base-libs-2.2.6-2.el8.x86_64
389-ds-base-2.2.6-2.el8.x86_64
Previous versions we were running
389-ds-base-libs-1.4.3.13-1
389-ds-base-1.4.3.13-1
Jason Villarroel
Systems Administrator
Florida International University
Division of Information Technology - Enterprise Systems
PC 120
305-348-2687 (Office)
305-348-3686 (Fax)
[cid:image001.png@01D97DA7.F7C1BD60]<https://fiu.service-now.com/sp?id=kb_article&sys_id=dd81ca14db54fa4019f17...>
Division of Information Technology staff will never ask for your password.
Never email your password or share confidential information in emails.
11 months, 4 weeks
Re: 389 Ldap Cleanallruv Replica Crash
by Thierry Bordaz
Hi Juan,
Thanks for raising this issue. The crash can be reproduced and I opened
https://github.com/389ds/389-ds-base/issues/5751
It is a side effect of a CL refactoring done in 2.x branch.
best regards
thierry
On 5/2/23 21:00, Juan Quintanilla wrote:
> Hi,
>
> I recently installed 389-ds-base-libs-2.2.6-2.el8.x86_64 and
> 389-ds-base-2.2.6-2.el8.x86_64 on an ALma Linux 8 Server, but I'm
> encountering an issue with removing offline replicas from our existing
> 389 Ldap.
>
> When the command below is executed on one of the suppliers:
>
> dsconf INSTANCE_NAME repl-tasks cleanallruv --suffix
> "ou=sample,dc=test,dc=dom" --replica-id 20 --force-cleaning
>
> The entry is removed from the ldap supplier, and when the change is
> sent to the secondary supplier it is also removed with no problem.
> The issue is when the change is sent to the consumer, the slapd
> process will instantly crash. When the consumer instance is brought
> back up the entry that needed to be removed is gone.
>
> Has anyone encountered a similar issue with the consumers crashing
> during a cleanallruv request or cleanruv?
>
> I also tried running a cleanruv task on each server, suppliers have no
> issue. When the command is run on the readonly consumers the slapd
> process crashes.
>
> ldapmodify -x -D "cn=manager" -W <<EOF
> dn: cn=replica,cn=ou\3Dsample\2Cdc\3Dtest\2Cdc\3Ddom,cn=mapping
> tree,cn=config
> changetype: modify
> replace: nsds5task
> nsds5task: CLEANRUV20
> EOF
>
> There is no recorded error in the logs to indicate the reason for the
> crash.
>
> Thanks!
>
> *Juan
> *
>
>
> _______________________________________________
> 389-users mailing list --389-users(a)lists.fedoraproject.org
> To unsubscribe send an email to389-users-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:https://lists.fedoraproject.org/archives/list/389-users@lists.fe...
> Do not reply to spam, report it:https://pagure.io/fedora-infrastructure/new_issue
11 months, 4 weeks
Re: 389 Ldap Cleanallruv Replica Crash
by Mark Reynolds
It could be related to:
https://github.com/389ds/389-ds-base/issues/5743
Can you please try and get a stack trace of the crash/core?
https://www.port389.org/docs/389ds/FAQ/faq.html#sts=Debugging%C2%A0Crashes
Thanks,
Mark
On 5/2/23 3:00 PM, Juan Quintanilla wrote:
> Hi,
>
> I recently installed 389-ds-base-libs-2.2.6-2.el8.x86_64 and
> 389-ds-base-2.2.6-2.el8.x86_64 on an ALma Linux 8 Server, but I'm
> encountering an issue with removing offline replicas from our existing
> 389 Ldap.
>
> When the command below is executed on one of the suppliers:
>
> dsconf INSTANCE_NAME repl-tasks cleanallruv --suffix
> "ou=sample,dc=test,dc=dom" --replica-id 20 --force-cleaning
>
> The entry is removed from the ldap supplier, and when the change is
> sent to the secondary supplier it is also removed with no problem.
> The issue is when the change is sent to the consumer, the slapd
> process will instantly crash. When the consumer instance is brought
> back up the entry that needed to be removed is gone.
>
> Has anyone encountered a similar issue with the consumers crashing
> during a cleanallruv request or cleanruv?
>
> I also tried running a cleanruv task on each server, suppliers have no
> issue. When the command is run on the readonly consumers the slapd
> process crashes.
>
> ldapmodify -x -D "cn=manager" -W <<EOF
> dn: cn=replica,cn=ou\3Dsample\2Cdc\3Dtest\2Cdc\3Ddom,cn=mapping
> tree,cn=config
> changetype: modify
> replace: nsds5task
> nsds5task: CLEANRUV20
> EOF
>
> There is no recorded error in the logs to indicate the reason for the
> crash.
>
> Thanks!
>
> *Juan
> *
>
>
> _______________________________________________
> 389-users mailing list --389-users(a)lists.fedoraproject.org
> To unsubscribe send an email to389-users-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:https://lists.fedoraproject.org/archives/list/389-users@lists.fe...
> Do not reply to spam, report it:https://pagure.io/fedora-infrastructure/new_issue
--
Directory Server Development Team
11 months, 4 weeks
389 Ldap Cleanallruv Replica Crash
by Juan Quintanilla
Hi,
I recently installed 389-ds-base-libs-2.2.6-2.el8.x86_64 and 389-ds-base-2.2.6-2.el8.x86_64 on an ALma Linux 8 Server, but I'm encountering an issue with removing offline replicas from our existing 389 Ldap.
When the command below is executed on one of the suppliers:
dsconf INSTANCE_NAME repl-tasks cleanallruv --suffix "ou=sample,dc=test,dc=dom" --replica-id 20 --force-cleaning
The entry is removed from the ldap supplier, and when the change is sent to the secondary supplier it is also removed with no problem. The issue is when the change is sent to the consumer, the slapd process will instantly crash. When the consumer instance is brought back up the entry that needed to be removed is gone.
Has anyone encountered a similar issue with the consumers crashing during a cleanallruv request or cleanruv?
I also tried running a cleanruv task on each server, suppliers have no issue. When the command is run on the readonly consumers the slapd process crashes.
ldapmodify -x -D "cn=manager" -W <<EOF
dn: cn=replica,cn=ou\3Dsample\2Cdc\3Dtest\2Cdc\3Ddom,cn=mapping tree,cn=config
changetype: modify
replace: nsds5task
nsds5task: CLEANRUV20
EOF
There is no recorded error in the logs to indicate the reason for the crash.
Thanks!
Juan
11 months, 4 weeks