Bug 1069228

Summary: crash when using ldapdelete
Product: [Fedora] Fedora Reporter: Tomasz Torcz <tomek>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: edewata, mreynolds, nhosoi, nkinder, rmeggins
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.2.25-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-29 19:14:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
stacktrace.1393249880.txt none

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).