#!/bin/bash #% commit #% Attempt to commit the buffer to the LDAP server using your credentials. . $LIB_DIR/common.sh ldapmodify -x -ZZ -W -D $ME -f $LDIF_BASE if [ $? -eq 0 ]; then discard else echo "Modification failed!" >&2 fi