#!/bin/bash #% validate #% Attempt to validate the buffer of pending operations. #% This will probably not catch constraint violations and missing DNs. Sorry. (ldapmodify -x -n -ZZ -f $LDIF_BASE && echo "Everything seems fine.") || echo "Something's wrong."