4
0
Fork 0
ldap-admin/bin/validate

7 lines
259 B
Bash
Executable File

#!/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."