USER_NAME=
REQUESTED_STATUS=
+UPDATED_USERS=0
+KEPT_USERS=0
+
#------------------------------------------------------------------------------
draw_line() {
if [[ "${QUIET}" == "y" ]] ; then
fi
if [[ "${req_user_status}" == "${cur_user_status}" ]] ; then
info "Entry '${CYAN}${USER_DN}${NORMAL}' has already the inetUserStatus '${CYAN}${REQUESTED_STATUS}${NORMAL}'."
+ KEPT_USERS=$(( KEPT_USERS + 1 ))
return
fi
if [[ "${SIMULATE}" != "y" ]] ; then
eval $cmd
fi
+ UPDATED_USERS=$(( UPDATED_USERS + 1 ))
debug "Done."
}
done
done
+ empty_line
+ info "Updated ${UPDATED_USERS} users, ${KEPT_USERS} not changed."
empty_line
info "Finished."