view package @ 13:80ae7e5cb562

patches from debian
author carl
date Sun, 19 Feb 2006 14:35:22 -0800
parents 3f627519a92d
children ac98f448b6ab
line wrap: on
line source

#!/bin/bash

pst=outlook.pst

cp /home/ldap/$pst .
chown --recursive root:root *
make clean
make all
chown --recursive carl:carl *

if [ -f pst2ldif ]; then
    ./pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' $pst >ams.ldif
    ./readpstlog pst2ldif.log | less >my.log
    hexdump -C $pst >pst.dump

    grep '^dn:' ams.ldif            | sort >aaa
    grep '^dn:' /home/ldap/ams.ldif | sort >bbb
    echo 'differences from nightly ldap'
    diff aaa bbb
    echo 'end differences'
    rm -f aaa bbb
fi