Bug 1069228 - crash when using ldapdelete
Summary: crash when using ldapdelete
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: 389-ds-base
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-24 13:57 UTC by Tomasz Torcz
Modified: 2020-09-13 20:57 UTC (History)
5 users (show)

Fixed In Version: 389-ds-base-1.3.2.25-1
Clone Of:
Environment:
Last Closed: 2015-04-29 19:14:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
stacktrace.1393249880.txt (159.48 KB, text/plain)
2014-02-24 13:57 UTC, Tomasz Torcz
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 1050 0 None None None 2020-09-13 20:57:57 UTC

Description Tomasz Torcz 2014-02-24 13:57:37 UTC
Created attachment 866967 [details]
stacktrace.1393249880.txt

Description of problem:
I'm unable to remove ipahost (this is a two host FreeIPA installation) entry from either WEBUI or directly using ldapdelete. Using the former causes ns-slapd process to crash with segmentation fault.

# ldapdelete  -x -D "cn=Directory Manager" -W "fqdn=sauron.pipebreaker.pl+nsuniqueid=9453e301-793511e3-a4d9a4f9-faae4520,cn=computers,cn=accounts,dc=pipebreaker,dc=pl"
Enter LDAP Password:
ldap_result: Can't contact LDAP server (-1)

Version-Release number of selected component (if applicable):
389-ds-base-1.3.2.9-1.fc20.x86_64


Additional info:
Stacktrace is attached.

Comment 1 Rich Megginson 2014-02-24 16:18:45 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/47716

Comment 2 Tomasz Torcz 2014-06-27 14:46:02 UTC
With 389-ds-base-1.3.2.17 I get:
[27/Jun/2014:16:43:03 +0200] - Turning a tombstone into a tombstone! "fqdn=sauron.pipebreaker.pl+nsuniqueid=9453e301-793511e3-a4d9a4f9-faae4520,cn=computers,cn=accounts,dc=pipebreaker,dc=pl"

not a crash, but not a wanted result, too.

Comment 3 Rich Megginson 2014-06-27 15:17:07 UTC
(In reply to Tomasz Torcz from comment #2)
> With 389-ds-base-1.3.2.17 I get:
> [27/Jun/2014:16:43:03 +0200] - Turning a tombstone into a tombstone!
> "fqdn=sauron.pipebreaker.pl+nsuniqueid=9453e301-793511e3-a4d9a4f9-faae4520,
> cn=computers,cn=accounts,dc=pipebreaker,dc=pl"
> 
> not a crash, but not a wanted result, too.

You cannot delete a tombstone entry directly.  The server will remove it after the tombstone purge delay interval has passed (default 1 week old).


Note You need to log in before you can comment on or make changes to this bug.