]> git.sur5r.net Git - openldap/commit
Enhance LDIF handling
authorKurt Zeilenga <kurt@openldap.org>
Fri, 30 Jul 1999 23:00:02 +0000 (23:00 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 30 Jul 1999 23:00:02 +0000 (23:00 +0000)
commitb73b0c61582166d37d55a90067c5783d2164af39
tree73f46db90487dbc1ae21f723a4e82775286b3d8f
parent18393e882cd89e461fc804b8ef58817027e465a1
Enhance LDIF handling
ldapsearch:
    use draft guidelines for determining when to use
    -t only writes binary attributes to files
    -tt writes all attributes to files
    output now lists URL instead of path to such files
    -T dir can be used to specify directory to create temp files in
    -V urlprefix can be used to change the URL prefix
    LDIF is now commented (can be disabled using -LL)
    LDIF now contains version attribute (can be disabled with -LLL)
LDIF:
    put interface changed to allow caller to specify how to encode
    put interface uses draft guidelines for determine when to base64 encode
    wrapping kludged to match old off by one bug
Tests:
    removed trailing space from some attributes (to avoid base64 encoding)
    enabled -LLL in defines.sh (should sed output to remove
        wrapping/comments/redundant separators)
Misc:
    updated codes outputting LDIF to use new put interface
TODO:
    handling of version attribute on input
    handling of URLs on input (ie: fetch URL)
32 files changed:
clients/tools/ldapmodify.c
clients/tools/ldapsearch.c
include/ldif.h
libraries/libldif/line64.c
servers/slapd/entry.c
servers/slapd/repl.c
servers/slapd/tools/ldif.c
servers/slapd/tools/ldif2id2children-bdb2.c
servers/slapd/tools/ldif2id2children.c
servers/slapd/tools/ldif2index-bdb2.c
servers/slapd/tools/ldif2index.c
servers/slapd/tools/ldif2ldbm-bdb2.c
servers/slapd/tools/ldif2ldbm.c
servers/slurpd/re.c
tests/data/acl.out.master
tests/data/modify.out.master
tests/data/modrdn.out.master
tests/data/modrdn.out.master.0
tests/data/search.out.master
tests/data/test-ordered.ldif
tests/data/test.ldif
tests/scripts/defines.sh
tests/scripts/test001-ldif2ldbm
tests/scripts/test001-slapadd
tests/scripts/test002-populate
tests/scripts/test003-search
tests/scripts/test004-modify
tests/scripts/test005-modrdn
tests/scripts/test006-acls
tests/scripts/test007-replication
tests/scripts/test008-concurrency
tests/scripts/test009-referral