#!/bin/sh

# Notice that this add goes to the server on the hidden port.  This is
# required since the scripts don't pass authentication options from
# one server to the next.

cat <<EOF | ldapadd -H ldap://localhost:2345/ -x -D "cn=root,objectclass=rtperson" -w secret
dn: objectclass=rtperson
objectclass: top
EOF
