Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 586973

Summary: Sample update ldif points to non-existent directory
Product: [Retired] 389 Reporter: Rob Crittenden <rcritten>
Component: Directory ServerAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2.6CC: amsharma, jgalipea, nhosoi
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 16:38:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 639035    

Description Rob Crittenden 2010-04-28 15:16:11 UTC
Description of problem:

/usr/share/dirsrv/updates/exampleupdate.ldif is more or less empty beyond the copyright but includes this comment:

# These files work the same way as the LDIF templates in
# /usr/share/dirsrv/ldif/template*.ldif

There are no files in /usr/sahre/dirsrv/ldif. I assume that this is supposed to be /usr/share/dirsrv/data/template-*.ldif

Version-Release number of selected component (if applicable):

389-ds-base-1.2.6-0.3.a3.fc12.x86_64

Comment 2 Noriko Hosoi 2010-10-12 17:44:16 UTC
Thanks to Rob Crittenden for providing us the proposal.  It's reviewed and tested. :)

Pushed to master.

$ git merge work
Updating 501cce2..c5cd4dd
Fast-forward
 ldap/admin/src/scripts/exampleupdate.ldif |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

$ git push
Counting objects: 13, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (7/7), 696 bytes, done.
Total 7 (delta 5), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
   501cce2..c5cd4dd  master -> master

Comment 3 Noriko Hosoi 2011-07-27 00:38:26 UTC
Steps to verify.
Install the server.
# tail -2 /usr/share/dirsrv/updates/exampleupdate.ldif
# These files work the same way as the LDIF templates in
# /usr/share/dirsrv/data/template-*.ldif

If the last line is /usr/share/dirsrv/data/template-*.ldif, this bug is verified.

Comment 4 Amita Sharma 2011-07-29 13:06:27 UTC
[root@testvm slapd-testvm1]# tail -2 /usr/share/dirsrv/updates/exampleupdate.ldif
# These files work the same way as the LDIF templates in
# /usr/share/dirsrv/data/template-*.ldif
[root@testvm slapd-testvm1]# 

[root@testvm slapd-testvm1]# ls /usr/share/dirsrv/data/template-*
template-baseacis.ldif        template-domain.ldif          template-ldapi.ldif           template-pampta.ldif          
template-bitwise.ldif         template-dse.ldif             template-locality.ldif        template-sasl.ldif            
template-country.ldif         template-ldapi-autobind.ldif  template-org.ldif             template-state.ldif           
template-dnaplugin.ldif       template-ldapi-default.ldif   template-orgunit.ldif         template-suffix-db.ldif       

Hence VERIFIED.