Bug 586973 - Sample update ldif points to non-existent directory
Sample update ldif points to non-existent directory
Product: 389
Classification: Community
Component: Directory Server (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Rich Megginson
Viktor Ashirov
Depends On:
Blocks: 639035
  Show dependency treegraph
Reported: 2010-04-28 11:16 EDT by Rob Crittenden
Modified: 2015-12-07 11:38 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-12-07 11:38:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Rob Crittenden 2010-04-28 11:16:11 EDT
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):

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

Pushed to master.

$ git merge work
Updating 501cce2..c5cd4dd
 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-26 20:38:26 EDT
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 09:06:27 EDT
[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       


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